Re: /dev/stderr gets unlinked 8]

From: Denis Vlasenko
Date: Tue Mar 14 2006 - 08:09:34 EST


On Tuesday 14 March 2006 15:07, Aurelien Degremont wrote:
> > Can I make /dev/stderr non-unlink-able?
>
> Take a look to
>
> $ man chattr
> # chattr +i /dev/stderr
>
> if you are using a ext2/3 filesystem. If not, maybe your filesystem has
> some similar functionality.

I have ramfs based /dev, which I mount early over /dev (from initrd, in fact).
On-disk /dev/ is empty.
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/