Hi, I will try to test that patch then, I will reply when I'm done with info about issues or info about commit ;)
Regards, vermaden Od: "Andrew Hotlab" <andrew.hot...@hotmail.com> Do: "Bryan Drewery" <bdrew...@freebsd.org>; Wysłane: 17:18 Środa 2014-02-19 Temat: RE: [patch] sysutils/beadm > ---------------------------------------- > > Date: Wed, 19 Feb 2014 07:27:45 -0600 > > From: bdrew...@freebsd.org > > To: andrew.hot...@hotmail.com > > CC: po...@freebsd.org; verma...@interia.pl > > Subject: Re: [patch] sysutils/beadm > > > > On 2/13/2014 4:19 PM, Andrew Hotlab wrote: > >> First of all, thank you very much for the good work with this port. I'm > >> sure it's changing the life of a lot FreeBSD system administrators! > >> > >> In my setup I have the following layout (several datasets for /usr, /var, > >> etc.): > >> > >> NAME USED AVAIL REFER MOUNTPOINT > >> sys 1.55G 18.0G 31K none > >> sys/ROOT 532M 18.0G 31K none > >> sys/ROOT/default 114K 18.0G 250M / > >> sys/ROOT/default/tmp 22K 18.0G 38K /tmp > >> sys/ROOT/default/usr 1K 18.0G 245M /usr > >> sys/ROOT/default/var 48.5K 18.0G 36.4M /var > >> sys/swap 1.03G 19.0G 16K - > >> > >> At this moment the utility does not seems to be able to manage this > >> scheme, since it sets the mountpoint property as "legacy" for all datasets > >> under the root, thus preventing to automatically mount any subdirectory at > >> boot. > >> I've tested this simple solution (to let do the job to the canmount > >> property), and it seems to solve the problem without affecting the > >> behavior when all system folders are located under a single root dataset > >> (please see the patch below). I'd be glad if you'll include it in the next > >> port revision. > >> > > > > ACK on this. CC'ing upstream maintainer too. > > > > I run the same setup but I specifically set /usr /var and /tmp mntpoints > > to /usr,/var/,/tmp to avoid this issue. I am not sure if mntpoint=/ is > > proper. I recall there being an issue with it. I would much prefer your > > patch though if it is safe. > > > > Does beadm mount still work with this to mount a new BE into /tmp? > > > > Ie, > > > > beadm create newbe > > beadm mount newbe > > > > Does it go and remount / or only touch /tmp? > > > > It seems to behave correctly, as you can see in the attached transcript. > > > How about activating? Does it blow away / right away or wait until reboot? > > Since beadm changes only the "canmount" ZFS property to set the active > environment for the next reboot, there is no implications for the running > environment. > > Regards > > Andrew _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"