svn commit: r270644 - stable/10/usr.sbin/bsdinstall/scripts

Slawa Olhovchenkov slw at zxy.spb.ru
Wed Aug 27 18:48:41 UTC 2014


On Wed, Aug 27, 2014 at 11:02:28AM -0700, dteske at FreeBSD.org wrote:

> 
> 
> > -----Original Message-----
> > From: owner-src-committers at freebsd.org [mailto:owner-src-
> > committers at freebsd.org] On Behalf Of Slawa Olhovchenkov
> > Sent: Wednesday, August 27, 2014 7:09 AM
> > To: Andrew Thompson
> > Cc: src-committers at freebsd.org; svn-src-all at freebsd.org; svn-src-
> > stable at freebsd.org; svn-src-stable-10 at freebsd.org
> > Subject: Re: svn commit: r270644 - stable/10/usr.sbin/bsdinstall/scripts
> > 
> > On Tue, Aug 26, 2014 at 02:31:37AM +0000, Andrew Thompson wrote:
> > 
> > In zfs directory layout you missing some separate datesets:
> > 
> > usr/home (or, may be, just /home)
> > usr/obj
> > usr/ports/packages
> > usr/ports/distfiles
> > 
> > Can you do it before 10.1?
> 
> You must have missed the following in the evolution of that script:
> 
> http://svnweb.freebsd.org/base?view=revision&revision=257842
> 
> [snip]
> + Remove some unnecessary default ZFS datasets from the automatic "zfsboot"
>   script. Such as: /usr/ports/distfiles /usr/ports/packages /usr/obj /var/db
>   /var/empty /var/mail and /var/run (these can all be created as-needed once
>   the system is installed).
> [/snip]
> 
> The idea is that all of those directories you mentioned are empty
> by default on a freshly installed system. Compare that to directories
> which are not empty -- if the user wants the data in a separate
> dataset, they have salvage existing data in the process.

/home is not empty on a freshly installed system (I am create account
for remoty login).

Other datasets have special atributes and removing datasets is simples
then creating and to easy to forget create their before use.


More information about the svn-src-stable mailing list