/dev/null

Roland Smith rsmith at xs4all.nl
Fri Oct 6 15:41:36 UTC 2006


On Fri, Oct 06, 2006 at 10:03:11AM +0200, Ivan Voras wrote:
> Brent Casavant wrote:
> 
> >Not with FreeBSD in particular.  However, from time to time I've
> >run across a piece of software that makes bad assumptions about
> >deleting various input or output files.  If run as root, the
> >program/library might accidentally delete a character special
> >device such as /dev/null.
> 
> Hmm, that's... inconvenient. I usually support "root-almighty" thing, 
> but allowing deletion from dynamically populated /dev seems 
> counterproductive.

The command 'devfs rule -s 2 apply 100' should fix it, I think.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061006/dabeacb9/attachment.pgp


More information about the freebsd-stable mailing list