Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 22:34:23 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Brian Dean <bsd@bsdhome.com>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc rc.diskless1
Message-ID:  <Pine.NEB.3.96L.1020116222914.89222C-100000@fledge.watson.org>
In-Reply-To: <20020116212627.B7441@neutrino.bsdhome.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 16 Jan 2002, Brian Dean wrote:

> On Wed, Jan 16, 2002 at 07:16:35PM -0500, Robert Watson wrote:
> 
> > Given that the -STABLE scripts for diskless are still quite broken, it's
> > probably not worth fixing and MFC'ing before the release.  The -CURRENT
> > ones required quite a lot of very basic tweaking before they worked.
> 
> Broken in what way?  It's been a while, but last I used them they worked
> ok for my diskless setup. 

I may have over-stated the degree of brokenness: however, I did run into a
number of basic problems, including the failure to set a proper mode on
/tmp, that the creation of some md filesystems occurred after mtree was
executed resulting in entries in /var/tmp (such as vi.recover) being
covered by the new mountpoint, etc.  Also, the documentation (comments et
al) lagged behind the revised configuration and layout mechanisms. 

> > A quick fix would be to increase the size of the md device by default. 
> 
> All that should need to be done is to go back to the pre 16k/2k values,
> i.e., add the options "-b 8192 -f 1024" to the mount_mfs command line
> (in -STABLE at least). 
> 
> Unfortuneatly, I don't have a diskless setup at the moment that I can
> test these changes on. 

I'm wondering if I had a local configuration error such that my /etc was
being over-populated.  Unfortunately, I reduced the size of the contents
at the same time as increasing the md size in my rc.diskless1 changes, so
I'll have to do a bit more testing to make sure this applies to an
un-modified system, before committing.  It looks lie the mount_md() script
in rc.diskless2 already has to deal with this problem, whereas the
mount_mdf() script in rc.diskless1 is lagged behind it.  Synchronizing the
two and handing in a bytes/inode value should deal with it if not.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
robert@fledge.watson.org      NAI Labs, Safeport Network Services



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020116222914.89222C-100000>