Dualboot and ZFS
Marko Turk
markoml at markoturk.info
Wed Jan 17 07:10:10 UTC 2018
Hi,
On Tue, Jan 16, 2018 at 11:52:06PM +0700, Victor Sudakov wrote:
> Marko Turk wrote:
> > since zroot/usr is not mounted, path /usr/bin/* in the filesystem
> > belongs to dataset zroot/ROOT/some_test_be
>
> But why is that? This must be witchcraft :-)
>
> Why does it not belong to dataset "zroot", or dataset
> "zroot/ROOT/some_other_great_be"?
>
> Is it because zroot/ROOT/some_test_be is mounted on / ?
Yes, exactly.
>
> > so that's why the files are
> > there.
> >
> > E.g.:
> > $ df -h /usr/bin/
> > Filesystem Size Used Avail Capacity Mounted on
> > zroot/ROOT/default 504G 19G 485G 4% /
> >
>
> Very demonstrative, thank you, but what makes "zroot/ROOT/default" and
> not any other dataset the container for the files in /usr/bin/ ?
Because of the mountpoints.
zroot/usr exists so you can create children of it which will not be in a
BE.
For example, zroot/usr/src is not a part of a BE:
$ df -h /usr/src/
Filesystem Size Used Avail Capacity Mounted on
zroot/usr/src 487G 1.6G 485G 0% /usr/src
/Marko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20180117/49c3a816/attachment.sig>
More information about the freebsd-questions
mailing list