Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 1998 23:02:57 -0400
From:      "Allen Smith" <easmith@beatrice.rutgers.edu>
To:        Don Lewis <Don.Lewis@tsc.tdk.com>
Cc:        security@FreeBSD.ORG
Subject:   R/O root FS (was Re: Booting from NT ?)
Message-ID:  <9810142302.ZM4747@beatrice.rutgers.edu>
In-Reply-To: Don Lewis <Don.Lewis@tsc.tdk.com>       "Re: Booting from NT ?" (Sep 28,  4:41am)
References:  <199809280840.BAA03201@salsa.gv.tsc.tdk.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 28,  4:41am, Don Lewis (possibly) wrote:
> On Sep 28,  2:20am, "Allen Smith" wrote:
> } Subject: Re: Booting from NT ?
> 
> } Question... what does happen if one has a R/O root filesystem,
> } including /dev, without DEVFS? I'm constructing a firewall computer
> } with a (switchable - a nice facility of some Seagate drives) hard
> } drive for root, a second writeable drive for /var and swap, and a /tmp 
> } MFS. What problems am I likely to run into with /dev? I'd really
> } prefer not to have it as a symlink to /var/dev or some such...
> 
> You won't be able to chown() and chmod() the tty devices when you log in.
> Before /dev/log was made a symlink to /var/run/log, syslogd wouldn't be
> able to create /dev/log.

Ah. Given that login_fbtab.c in both -stable and -current uses chown,
not lchown, and chmod follows symbolic links, then symlinking just the 
/dev/tty*, /dev/console, and /dev/pcaudio* files to /var/dev should
work.

	Thanks,

	-Allen

-- 
Allen Smith				easmith@beatrice.rutgers.edu
	

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



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