From owner-freebsd-current Sat Mar 2 13:31:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from mta05.onebox.com (mta05.onebox.com [64.68.77.148]) by hub.freebsd.org (Postfix) with ESMTP id 5E57937B400; Sat, 2 Mar 2002 13:31:17 -0800 (PST) Received: from onebox.com ([10.1.111.7]) by mta05.onebox.com (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20020302213117.UPOX27009.mta05.onebox.com@onebox.com>; Sat, 2 Mar 2002 13:31:17 -0800 Received: from [165.121.193.226] by onebox.com with HTTP; Sat, 02 Mar 2002 13:31:17 -0800 Date: Sat, 02 Mar 2002 13:31:17 -0800 Subject: Re: changes to rc.diskless* From: "Glenn Gombert" To: obrien@FreeBSD.ORG Cc: Brooks Davis , current@FreeBSD.ORG MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1BoxPartBoundary101510467747811015104677" Message-Id: <20020302213117.UPOX27009.mta05.onebox.com@onebox.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --1BoxPartBoundary101510467747811015104677 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" 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 --1BoxPartBoundary101510467747811015104677 Content-type: application/octet-stream; charset=us-ascii Content-Transfer-Encoding: base64 Content-Disposition: attachment DQo= --1BoxPartBoundary101510467747811015104677 Content-type: application/octet-stream; charset=us-ascii Content-Transfer-Encoding: base64 Content-Disposition: attachment DQo= --1BoxPartBoundary101510467747811015104677 Content-type: application/octet-stream; charset=us-ascii Content-Transfer-Encoding: base64 Content-Disposition: attachment DQo= --1BoxPartBoundary101510467747811015104677-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message