From owner-freebsd-current@freebsd.org Sat Sep 3 00:12:29 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 893D4BCE13B for ; Sat, 3 Sep 2016 00:12:29 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0FDD8 for ; Sat, 3 Sep 2016 00:12:29 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: by mail-vk0-x22d.google.com with SMTP id j189so27098738vkc.2 for ; Fri, 02 Sep 2016 17:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brilliantservice-co-jp.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=xnQZx5t9V3QsvPRhMVW8Z3oxWEtCp5XSu9BKlZLApsc=; b=0JWuhVe9LCxE+YPRTpuoMFz8zWqgEa1HtTseoQqzaFCCtVl8/45t8grVwQ/PDJzmMY NuklaX6ub1JKvA/YaXCnTOWWlIR+A6IPgFukhKjzSZyZkmQggi8sRPthPz7Q6mzW2u7z vQZLDe7jqnd6SlekE1GkqGihFvZSK32s3Q55pB5B4zaCUiPgVIC61Hoj034bRBNsmA56 /BoUl0ppSvqjMnz5NBlEJzSu3x+3KqtcUoAxEQI7tnOmA2QU75TAMllUR5cDfHFnvwad Ii3HYOIfv/x11tealBQbaQcoZPB6VhWCk4yBIv3vbPQgoWj1TJv1ObxBAbSrXNsGIObl b3/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xnQZx5t9V3QsvPRhMVW8Z3oxWEtCp5XSu9BKlZLApsc=; b=GPSSdYEp+3K27pDeyIdbIXiiv3P29L2HavwsHwneAp/+h7BPmkyMFCKlLnN3tmmTxu p1zBpY8ca/9DEiNQjIJlNRYj1utt+jo0v6UzGbSaoKEezEakloAkC3CyvoP04wIX3STr /c55DRc3EGr3b/BFpGLcmPLZkoAHg2e4P7tXIHwQB8GPYZlPIBVFU8tXXMIy9LK8oXP4 PKikP9Jifif4kxSZ4kAxR85tMwJqvOqBldmxkyt/NKciJW86QkM4ZNs5DpuEJnzINe7j nOQFl/VNpYJeu5S5CNUamA6/IgWYyyHeB5rLTccojYqC0lE1ieO++QyYvu1mCflzVjhv WSvg== X-Gm-Message-State: AE9vXwNQXn/EnA+W/Ij75JGbB9KA4L2ZjOZRcF3txXJ2PlUwvHIRqWk8E3Akl7Qqk+L4zd63xdj+X+9fHRZJPckyihhGFtU4VQFzXUVQ11of1xe4hXqi/VnKiDX3Y8GjpRC1u9uiW1IlqcJoG4hBXOCyTcE= X-Received: by 10.31.47.82 with SMTP id v79mr7336744vkv.130.1472861548052; Fri, 02 Sep 2016 17:12:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.3.112 with HTTP; Fri, 2 Sep 2016 17:12:12 -0700 (PDT) From: "Lundberg, Johannes" Date: Fri, 2 Sep 2016 17:12:12 -0700 Message-ID: Subject: Weirdness in TTY & VT To: FreeBSD Current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2016 00:12:29 -0000 4oCLSGkNCg0KSSdtIHBvcnRpbmcgc29tZSBMaW51eCBjb2RlIGFuZCB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Z3jga7ku5bjga7liKnnlKjjgIHjgb7jgZ/jga/oqJjovInlhoXlrrnjgavln7rjgaXjgY/jgYTj gYvjgarjgovooYzli5XjgoLjgZXjgozjgarjgYTjgojjgYbjgYrpoZjjgYTnlLPjgZfkuIrjgZLj gb7jgZnjgIIKLS0tCkNPTkZJREVOVElBTElUWSBOT1RFOiBUaGUgaW5mb3JtYXRpb24gaW4gdGhp cyBlbWFpbCBpcyBjb25maWRlbnRpYWwKYW5kIGludGVuZGVkIHNvbGVseSBmb3IgdGhlIGFkZHJl c3NlZS4KRGlzY2xvc3VyZSwgY29weWluZywgZGlzdHJpYnV0aW9uIG9yIGFueSBvdGhlciBhY3Rp b24gb2YgdXNlIG9mIHRoaXMKZW1haWwgYnkgcGVyc29uIG90aGVyIHRoYW4gaW50ZW5kZWQgcmVj aXBpZW50LCBpcyBwcm9oaWJpdGVkLgpJZiB5b3UgYXJlIG5vdCB0aGUgaW50ZW5kZWQgcmVjaXBp ZW50IGFuZCBoYXZlIHJlY2VpdmVkIHRoaXMgZW1haWwgaW4KZXJyb3IsIHBsZWFzZSBkZXN0cm95 IHRoZSBvcmlnaW5hbCBtZXNzYWdlLgo= From owner-freebsd-current@freebsd.org Sat Sep 3 06:25:27 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46E90BCD114 for ; Sat, 3 Sep 2016 06:25:27 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2048A1CC for ; Sat, 3 Sep 2016 06:25:27 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: by mailman.ysv.freebsd.org (Postfix) id 1C03EBCD113; Sat, 3 Sep 2016 06:25:27 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1BA52BCD112 for ; Sat, 3 Sep 2016 06:25:27 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 730431CA; Sat, 3 Sep 2016 06:25:25 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p5B0852F0.dip0.t-ipconnect.de [91.8.82.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 585D283E8CC; Sat, 3 Sep 2016 08:24:52 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by outgoing.leidinger.net (Postfix) with ESMTPS id 878F535F5; Sat, 3 Sep 2016 08:24:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1472883889; bh=c4IzPxMPPamjSU4+yUOp9MJsCVKepCsvKrlvMslgjd0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=xb/xsOjc1PsIcF8wzQidJPeSGtTzIh0rB9AqvBKef9ohhdZx8Yb2yql+If26/nuDk dbR1imV8541YA1gUZINm3/GnrRpmp96ShvcidxPOxjTjQy3+iLxm+9084xEWIRSYe4 1ultD4ZrI6hGw11Vm5dDImgI+2bZMisc/e4X28nnjbkQUob3EqsTme5QDdnEkFR/19 kcrQJ7XTjgdBxKgGaAyOG6rbTJdeeAMCUHH0c5NLX2rm2DRKR5uXmKnKhvMKSv2kJW YaJJP7L9KsWEiJ5nMY5Nk8x9WioSRci4UcZL69btPLHeCPl4x/AvbYMnySPbxK2MRo 9gKU9W2SVNqkA== Received: (from www@localhost) by webmail.leidinger.net (8.15.2/8.14.4/Submit) id u836OnC1064565; Sat, 3 Sep 2016 08:24:49 +0200 (CEST) (envelope-from Alexander@leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@leidinger.net using -f Received: from IO.Leidinger.net (IO.Leidinger.net [192.168.1.11]) by webmail.leidinger.net (Horde Framework) with HTTPS; Sat, 03 Sep 2016 08:24:49 +0200 Date: Sat, 03 Sep 2016 08:24:49 +0200 Message-ID: <20160903082449.Horde.pMMQ0U5-fysxWXmmSbXbHZa@webmail.leidinger.net> From: Alexander Leidinger To: Bryan Drewery Cc: current@freebsd.org Subject: Re: Installworld fails when /usr/bin and /usr/sbin are different FS / how to use symlinks in installworld? References: <20160903002535.Horde.n5qG88hbIXXvxY8xCMGjSbZ@webmail.leidinger.net> In-Reply-To: User-Agent: Horde Application Framework 5 Content-Type: multipart/signed; boundary="=_bRAiDadKhYu8FFrTpR78Zj-"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 585D283E8CC.A7DA2 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.023, required 6, autolearn=disabled, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, TW_ZF 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1473488707.46689@YnDufixvp/xr7DkuPCIhMQ X-EBL-Spam-Status: No X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2016 06:25:27 -0000 This message is in MIME format and has been PGP signed. --=_bRAiDadKhYu8FFrTpR78Zj- Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Bryan Drewery (from Fri, 2 Sep 2016=20=20 15:51:56=20-0700): >> The error message is obvious, it tries to create a hardlink which is off >> course not possible when src and dest of the link are on different FS. >> >> My goal of an easy procedure (installworld into target datasets) doesn't >> work like this off course. Do we have an easy way of telling >> installworld to create symlinks instead of hardlinks, or alternatively a >> way to tell to copy instead of doing a hardlink if the install hits the >> cross-device case? > > Maybe falling back to symlink could be done. A copy-in-cross-fs-case would be the best solution, this way you don't=20= =20 need=20to care about having the right path (DESTDIR comes into the game=20= =20 here)=20specified on the comman line. > Couldn't you just make a usr-bin dataset and have usr-bin/bin and > usr-bin/sbin and symlink or nullfs-mount them in though? I too go crazy > with datasets, but this seems a bit too much. iocage is doing read-only zfs-clones of the datasets from the basejail=20= =20 location=20to the real jail location. I was hoping for a solution where=20= =20 I=20don't have to hack the inner workings of iocage. Additionally "copy=20= =20 in=20case of cross-fs case" looks like a useful feature in general. My current (idea for a) workaround is "make -i installworld" and to=20=20 copy=20the which failed. This is not clean, but looks less intrusive=20=20 than=20introducing a new way (null-mounts) in iocage. Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_bRAiDadKhYu8FFrTpR78Zj- Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJXymyxAAoJEKrxQhqFIICEJZ8P/2xPQKvFKxKEszWGIVT/HR3G y+d01oZ3NDcoyp2bB2mCscCBrjzAWfJ0lM/SHrArlDX1QqJ83OxLUQ7c5o86/ami a4Z4eZEOT+dKh3Xd7PFo5T5qMuJ4pWnOucyOfW1eU0wPWI+akt3sIuuGXt5s9Ud1 hKps9rUuwxf8KdEMRRfdIBV2M5D1I7sz9SjAUB4ilH5lTn2VPZP/wgzeuEOlKVwT ldoA5SYze4SjwL0rJlGYj3UUbTS6ZV/mW/2OZPm9eRoSxHpXospKuBBIxuNsw62c zD4H088HZCM27HAXZdb+uWlMIgARJIbosucdHWqe+RYxcVMnG8gpDads2lHBlN4+ Y4vp+Gn1u7TZ9SyWMOPt+UgRmI3NjU8maNb7aLlk0j8HNFI7XLdUC8o5FTy38Kno T1t2sfoccbXew+KB4oJA9m4aXN/lk06Wg+ZBGqTO9gJj/GqnguhoMZRaLZcDetqo 6zyVjvl2RDKc25ZUX5gr5SEUR+1S5zOVblPd1LI6GwuCjxKRNJyOlMKLhIDt2Xik oqhdjLGBXNv8Drl3Sttcnac+fvnp8wvrnPxcl4mbGGbFa/UOySPlkhRt9znAta+t 1gB2BStA8ncfJk8eC+I7NfqqINzHM2Ig2esWOTHymOMxwqoD7gSyAy6GP504FSfb hY5MOb+Rz90furuxjt1/ =BqqT -----END PGP SIGNATURE----- --=_bRAiDadKhYu8FFrTpR78Zj---