On Mon, 2005-08-15 at 20:53 +0100, Donal Farrell wrote: > Hi there. How do I cg=hange permissions or use mknod to make /dev/null > back into a charcter device? > > [EMAIL PROTECTED]:~> 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
Looks like something has tried to do something like "> /dev/null" without the device actually existing - looking at the file contents will probably give a hint as to how it happened... 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. Simon.
signature.asc
Description: This is a digitally signed message part
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page