Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2018 07:00:18 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd@pdx.rh.CN85.dnsmgr.net>
To:        Rodrigo Osorio <rodrigo@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r330540 - head/share/man/man8
Message-ID:  <201803061500.w26F0INX049323@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <201803061431.w26EVF5u021093@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803061500.w26F0INX049323>