-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 08 September 2004 13:15, you wrote: > Yesterday I landed into this crisis, on my 64MB, P2-233MHz, FC1-GNOME, > notebook: > > System boots fine, but as soon as init scripts start, I start getting lots > of "FAIL" all indicating /dev/null : read only filesystem. > > My god, I never faced this all my Linux experience. e2fsck's show clean > filesystems. "fdisk -r /dev/null" also showed a read only file system (Zero > length File system) What is this?? > > I found the following solution through Google, and it worked: > > 1. mount -o remount, rw / > 2. rm -f /dev/null > 3. mknod -m 666 /dev/null c 1 3
Well, a simple chmod from the root user (chmod 666 /dev/null) would have worked. > Gurus!! > > What was that?? Which distro do you use? The /dev/null thingy had wrong permissions. > Why did it happen in the first place?? Your distro. did not set the right perms. Or, maybe you fiddled with it ;-) > What are the basics > about that "Character Device and Major and Minor numbers"?? It's too tough to explain. Well, lets try. Open a terminal and go to /dev. Do an `ls -l' on something, lets say `hda hda1 hda2 ttyS0 tty1 console zero random' etc. You will see a result like: - ----------------------------------------------------------------- crw------- 1 all root 5, 1 Sep 8 15:41 console brw-rw---- 1 root disk 3, 0 Aug 31 2001 hda brw-rw---- 1 root disk 3, 1 Aug 31 2001 hda1 brw-rw---- 1 root disk 3, 2 Aug 31 2001 hda2 crw-r--r-- 1 root root 1, 8 Aug 31 2001 random crw------- 1 root root 4, 1 Sep 8 15:41 tty1 crw-rw-rw- 1 root uucp 4, 64 Sep 8 15:40 ttyS0 crw-rw-rw- 1 root root 1, 5 Aug 31 2001 zero - ----------------------------------------------------------------- The first letter in the first row specifies the type. 'c' stands for character device, 'b' stands for block device and 'p' (dunno where it is found) stands for named pipe. The major number is like the 'class'. It specifies what belongs where. There are upto 255 major numbers. minor number is like the section which tells what is what. You canm get a full list in /usr/src/linux/Documentation/devices.txt > Anand Shankar - -- Regards, Arjun Asthana [EMAIL PROTECTED] [EMAIL PROTECTED] Registered Linux User #293731 Need help? Join #linux-india on freenode.net __________________________ : ####[ GNU/Linux One Stanza Tip (LOST) ]####################### Sub : Samba help LOST #524 Needing help in setting up a Windows network connectivity from Linux using SAMBA (a Windows SMB/CIFS fileserver for UNIX) ? http://www-1.ibm.com/servers/esdd/tutorials/samba.html http://www.oreilly.com/catalog/samba/chapter/book/index.html http://www.google.com/search?q=configuring+samba+howto ####[Sebastien.Routier (at) ottawa.hummingbird.com]########### : -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFBPt9n9mAtgws7e1wRAnDnAJsGBaByz9TAYZjGik53QcCuCthLcgCfXvML npKRrfrhmmzKrJxuZMmeKac= =2oVY -----END PGP SIGNATURE----- _______________________________________________ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
