change permissions on /dev/null

Andrew Benton b3nt at
Tue Aug 16 05:02:17 PDT 2005

Simon Geard wrote:
> To correct it, remove /dev/null, and re-create it with:
> mknod -m 666 /dev/null c 1 3
> I.e a character device, major/minor pair of 1,3, and world-writable.

If udev is running, won't /dev be a temporary filesystem that will disappear when you reboot? It would be best to do this from your host system and chroot into lfs without mounting /dev

More information about the blfs-support mailing list