svn commit: r330540 - head/share/man/man8

Rodney W. Grimes freebsd at pdx.rh.CN85.dnsmgr.net
Tue Mar 6 15:00:22 UTC 2018


> Author: rodrigo (ports committer)
> Date: Tue Mar  6 14:31:15 2018
> New Revision: 330540
> URL: https://svnweb.freebsd.org/changeset/base/330540
> 
> Log:
>   Update the diskless manpage
>   
>   According with /etc/rc.initdiskless the default mfs allocation
>   is now 5Mb (10240 x 512 bytes sectors)
>   
>   Submitted by:	rodrigo
>   Reviewed by:	bcr
>   Approved by:	manpages (bcr)
>   Differential Revision:	https://reviews.freebsd.org/D14592

Thank you for fixing the man page,
if someone wants to do some additional related cleanup
in the /etc/rc.initdiskless script that would be great.

One issue is we have "one size fits all" for the md files
default size of 5MB, which is for all practical puposes
too small.  IIRC you need at least 8MB to hold what is
in a 11.1 var.cpio.gz file, and possibly more for ^head.

It would be nice to have the size of /var and /etc set
seperatly with resonable defaults.

At present my diskless environment over rides both of
these with md_size files in the ./conf directory.

There may be some lingering comments about 4MB, but
I am looking at 11.1 /etc right now.
 
> Modified:
>   head/share/man/man8/diskless.8
> 
> Modified: head/share/man/man8/diskless.8
> ==============================================================================
> --- head/share/man/man8/diskless.8	Tue Mar  6 14:28:37 2018	(r330539)
> +++ head/share/man/man8/diskless.8	Tue Mar  6 14:31:15 2018	(r330540)
> @@ -26,7 +26,7 @@
>  .\"
>  .\" $FreeBSD$
>  .\"
> -.Dd August 7, 2011
> +.Dd March 6, 2018
>  .Dt DISKLESS 8
>  .Os
>  .Sh NAME
> @@ -311,7 +311,7 @@ The
>  .Nm
>  scripts create memory file systems to hold the overridden
>  directories.
> -Only a 2MB partition is created by default, which may not
> +Only a 5MB partition is created by default, which may not
>  be sufficient for your purposes.
>  To override this, you can create the
>  file
> 
> 

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the svn-src-head mailing list