Date: Fri, 25 Dec 2009 16:07:56 +0300 From: Alex Zimnitsky <aavzz@yandex.ru> To: freebsd-hackers@freebsd.org Subject: mount misinforming Message-ID: <1261746476.2925.22.camel@localhost.localdomain>
next in thread | raw e-mail | index | archive | help
Hello, hackers in the output given by mount some entries may be misinforming when an fs is mounted in a chrooted environment. here is the case: #mkdir /var/somedir #cd /usr/src #make DESTDIR=/var/somedir buildworld installworld distribution #chroot /var/somedir #mount -t devfs devfs /dev #mount two entries for /dev are listed - one for chrooted and one for parent environment. may be parent environment's /dev shoud be marked somehow, may be it should not be listed at all. #^D #mount two entries for /dev are listed. one of them really should be /var/somedir/dev the questions are 1) should the output be changed? 2) is there something in the kernel design which prevents it from being done easily? Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1261746476.2925.22.camel>