Re: [WARNING -mm] 2.6.18-rc2-mm1 build kills /dev/null!?

From: gmu 2k6
Date: Thu Jul 27 2006 - 10:22:57 EST


On 7/27/06, gmu 2k6 <gmu2006@xxxxxxxxx> wrote:
On 7/27/06, Michael Tokarev <mjt@xxxxxxxxxx> wrote:
> Andreas Mohr wrote:
> > Hello all,
> >
> > for some reason a 2.6.18-rc2-mm1 build seems to kill my /dev/null device!
> >
> > A simple
> > # make bzImage modules modules_install
> > managed to reduce my
> >
> > crw-rw-rw- 1 root root 1, 3 27. Jul 12:04 null
> >
> > into the charred remains equivalent of
> >
> > -rw-r--r-- 1 root root 0 27. Jul 12:02 null
>
> Don't build as root.
>
> While something's broke in kernel build scripts and probably
> should be fixed, it's not a reason for anyone to get their
> whole filesystem rm -rf'ed.

and it does not matter if you're using udev:
$ ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 2006-07-27 11:42 /dev/null

actually this is so obvious I should not have posted that reply. sorry guys.
-
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/