Date: Sat, 02 Mar 2002 13:31:06 -0800 From: "Glenn Gombert" <glenngombert@onebox.com> To: obrien@FreeBSD.ORG Cc: Brooks Davis <brooks@one-eyed-alien.net>, current@FreeBSD.ORG Subject: Re: changes to rc.diskless* Message-ID: <20020302213106.UPP27419.mta10.onebox.com@onebox.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --1BoxPartBoundary101510466684971015104666 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline the diskless(s) scripts have a number of problems with them that need to be fixed as well..inorder to get diskless kernels booting properly... -- Glenn Gombert glenngombert@onebox.com - email (513) 587-2643 x2263 - voicemail/fax ---- "David O'Brien" <obrien@FreeBSD.ORG> wrote: > On Fri, Mar 01, 2002 at 03:04:28PM -0800, Brooks Davis wrote: > > -# If /tmp is a symlink, assume it points to somewhere writable, > like > > -# /var/tmp, otherwise, use a small memory filesystem for /tmp. > > +# If /tmp is not writable, use a small memory filesystem for /tmp. > > # > > # XXX: mtree runs too early to create any directories needed in > /tmp, > > # so if /var/tmp == /tmp, then you don't get a vi.recover. > > # > > -if [ ! -h /tmp ]; then > > +if /usr/bin/touch /tmp/_writable_test; then > > + rm /tmp/_writable_test > > +else > > mount_md ${tmpsize:=64m} /tmp 2 > > chmod 01777 /tmp > > fi > > I don't like this part -- because I use RW NFS mounted / (for sparc64 > development), but I DO want a MFS /tmp as there is no need to do this > over the network. > > Which just goes to show that your tests are not suffient. Full rc.conf > knobs should be used instead. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com --1BoxPartBoundary101510466684971015104666 Content-type: application/octet-stream; charset=us-ascii Content-Transfer-Encoding: base64 Content-Disposition: attachment DQo= --1BoxPartBoundary101510466684971015104666 Content-type: application/octet-stream; charset=us-ascii Content-Transfer-Encoding: base64 Content-Disposition: attachment DQo= --1BoxPartBoundary101510466684971015104666 Content-type: application/octet-stream; charset=us-ascii Content-Transfer-Encoding: base64 Content-Disposition: attachment DQo= --1BoxPartBoundary101510466684971015104666-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020302213106.UPP27419.mta10.onebox.com>