Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2016 17:12:12 -0700
From:      "Lundberg, Johannes" <johannes@brilliantservice.co.jp>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Weirdness in TTY & VT
Message-ID:  <CAASDrVky8v4FWjqKYgv1mJ0-ksqVD9KWTNBNatfSVxBOBc5eyQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
4oCLSGkNCg0KSSdtIHBvcnRpbmcgc29tZSBMaW51eCBjb2RlIGFuZCBoYXZlIHNvbWUgd2VpcmQg
YmVoYXZpb3IuDQoNCkluIHRoaXMgKExpbnV4KSBjb2RlIGZzdGF0KCkgYW5kIG1pbm9yKCkgaXMg
dXNlZCBvbiBhIC9kZXYvdHR5IGZpbGUNCmRlc2NyaXB0b3IgdG8gZ2V0IGEgdHR5IG51bWJlciB0
byBtYXAgdG8uIEluIEZyZWVCU0QgdGhpcyByZXR1cm5zIGEgbnVtYmVyDQphcm91bmQgNjAtNzAg
Zm9yIHN0X3JkZXYgd2hpY2ggbWVhbnMgVlRfQUNUSVZBVEUgaW9jdGwgY2FsbCB3aWxsIGZhaWwN
CmJlY2F1c2UgaXQgb25seSBhbGxvd3MgdmFsdWVzIDAtMTIuDQoNClNob3VsZCBub3QgdGhpcyBi
ZSBjb21wYXRpYmxlIHdpdGggRnJlZUJTRD8gSWYgbm90LCB3aGF0IGlzIHRoZSBGcmVlQlNEIHdh
eQ0KdG8gZG8gdGhpcz8NCg0KSXMgdGhlcmUgc29tZSBpbXBsZW1lbnRhdGlvbiBtaXNzaW5nIGlu
IHZ0Pw0KDQpUaGFua3MhDQoNCuKAiw0KCi0tIAo9LT0tPS09LT0tPS09LT0tPS09LT0tPS09LT0t
PS09LT0tPS09LT0tPS09LT0tPS09LT0tPS0K56eY5a+G5L+d5oyB44Gr44Gk44GE44Gm77ya44GT
44Gu6Zu75a2Q44Oh44O844Or44Gv44CB5ZCN5a6b5Lq644Gr6YCB5L+h44GX44Gf44KC44Gu44Gn
44GC44KK44CB56eY5Yy/54m55qip44Gu5a++6LGh44Go44Gq44KL5oOF5aCx44KS5ZCr44KT44Gn
44GE44G+44GZ44CCCuOCguOBl+OAgeWQjeWum+S6uuS7peWkluOBruaWueOBjOWPl+S/oeOBleOC
jOOBn+WgtOWQiOOAgeOBk+OBruODoeODvOODq+OBruegtOajhOOAgeOBiuOCiOOBs+OBk+OBruOD
oeODvOODq+OBq+mWouOBmeOCi+S4gOWIh+OBrumWi+ekuuOAgQropIflhpnjgIHphY3luIPjgIHj
gZ3jga7ku5bjga7liKnnlKjjgIHjgb7jgZ/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: <owner-freebsd-current@freebsd.org>
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 <freebsd-current@mailman.ysv.freebsd.org>;
 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 <freebsd-current@freebsd.org>; 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 <current@mailman.ysv.freebsd.org>; 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 <Alexander@leidinger.net>
To: Bryan Drewery <bdrewery@freebsd.org>
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>
 <e639125b-7fd7-6787-d25d-1ed6c3d9b583@FreeBSD.org>
In-Reply-To: <e639125b-7fd7-6787-d25d-1ed6c3d9b583@FreeBSD.org>
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
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=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 <bdrewery@freebsd.org> (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---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAASDrVky8v4FWjqKYgv1mJ0-ksqVD9KWTNBNatfSVxBOBc5eyQ>