change permissions on /dev/null

Donal Farrell 0161977 at student.ul.ie
Tue Aug 16 14:40:17 PDT 2005


That worked! Thanks again

On Tue, 2005-08-16 at 05:57, Jeremy Byron wrote:
> Donal Farrell wrote:
> > Hi there. How do I change permissions or use mknod to make /dev/null
> > back into a charcter device? 
> > 
> > donal at linux:~> ls -la /dev/{null,zero}
> > -rw-r--r--  1 root root  117 2005-08-15 20:50 /dev/null
> > crw-rw-rw-  1 root root 1, 5 2004-04-06 14:27 /dev/zero
> ><snip>
> 
> 1) Remove devices:
> umount /dev/pts
> umount /dev/shm
> umount /dev
> rm -f /dev/console
> rm -f /dev/null
> 
> 2) /dev setup instructions:
> http://www.linuxfromscratch.org/lfs/view/stable/chapter06/devices.html
> (The instructions from Ch-6.8.1 should suffice.)
> 
> 3) Cleanup:
> reboot
> 
> That should do it I think..
> 
> Regards,
> Jeremy.




More information about the blfs-support mailing list