Skip site navigation (1)Skip section navigation (2)
Date:      31 May 1998 15:48:00 -0400
From:      rvb@sicily.odyssey.cs.cmu.edu
To:        Mike Smith <mike@smith.net.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: I see one major problem with DEVFS...
Message-ID:  <yzsn2bykyrz.fsf@sicily.odyssey.cs.cmu.edu>
In-Reply-To: Mike Smith's message of Fri, 29 May 1998 23:26:48 -0700
References:  <199805300626.XAA01190@antipodes.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith <mike@smith.net.au> writes:

> > > Yes, but you can't *look*at* the template mount to find out what these 
> > > numbers *are*.
> > 
> > Why *not*? :-)
> 
> Because it ain't mounted anyhere.  Think: user says:
> 
> # rm /dev/foo0
> <expletive>
> # mknod /dev/foo0 c ???
> 
Would it be too strange to just not let you delete this kind of file?
A long long time ago . and .. where files and root could delete them
and/or make cycles.  Now the fs abstraction is slightly different and
(I hope) this is illegal.  Well, if there is irreplaceablt info in
these devfs files, just make them immutable.

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?yzsn2bykyrz.fsf>