Date: Fri, 15 Sep 2017 14:56:55 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Edward Napierala <trasz@FreeBSD.org>, Konstantin Belousov <kostikbel@gmail.com> Cc: Kirk McKusick <mckusick@mckusick.com>, freebsd-fs <freebsd-fs@FreeBSD.org>, "freebsd-arch@freebsd.org" <freebsd-arch@FreeBSD.org> Subject: Re: mount / unmount and mountcheckdirs() Message-ID: <f84704ce-3596-86d0-3c41-6256a7aae8d1@FreeBSD.org> In-Reply-To: <CAFLM3-rqg9Pso636Y3Vm6JT0WxWossEfvnsMmmAbC-jEkvyS7Q@mail.gmail.com> References: <134c7c6e-f4f1-ef38-cc50-0e56c27c9fb8@FreeBSD.org> <201709150314.v8F3Ea6B085072@chez.mckusick.com> <20170915092001.GK78693@kib.kiev.ua> <CAFLM3-rqg9Pso636Y3Vm6JT0WxWossEfvnsMmmAbC-jEkvyS7Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15/09/2017 13:08, Edward Napierala wrote: > It does. For example: > > [trasz@v2:~]% cd /media/md0 > [trasz@v2:/media/md0]% mount > /dev/ada0s1a on / (ufs, local, noatime, journaled soft-updates) > devfs on /dev (devfs, local, multilabel) > map -hosts on /net (autofs) > map -media on /media (autofs) Interesting, I thought that /dev/md0 would get mounted as soon as /media/md0 is looked up. But maybe that would be sub-optimal for some common scenarios... FWIW, ZFS snapshots get auto-mounted under .zfs as soon as there is a lookup. > [trasz@v2:/media/md0]% ls > [trasz@v2:/media/md0]% mount > /dev/ada0s1a on / (ufs, local, noatime, journaled soft-updates) > devfs on /dev (devfs, local, multilabel) > map -hosts on /net (autofs) > map -media on /media (autofs) > /dev/md0 on /media/md0 (ufs, local, noatime, nosuid, automounted) > -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f84704ce-3596-86d0-3c41-6256a7aae8d1>