Greetings, On Sat, 22 Dec 2001, stayler wrote:
> Would you guys be able to point me to a good reference on major and > minor numbers for file systems. I'm p-laying with IDE CDROM and DVD > drives and COL is complaining about wrong major/minor numbers. They > are set to 1 1 just like my SCSI's. Suggestions? 1 1 ???? I think you have this wrong. I think you are looking at some flags in /etc/fstab. These are NOT the major and Minor numbers. These are the 'dump' and 'fsck-order' numbers. A '1' in the dump column means to check this partition at boot time, a '0' means not to check it. The fsck-order number means to check them in the following order. 1 first, 2 second, etc. More than one partition can be checked at a time (albeit slower on the same spindle) across diverse spindles. # # /etc/fstab # # <device> <mountpoint> <filesystemtype> <options> <dump> <fsckorder> # /dev/hda2 / ext2 defaults 1 1 /dev/hda4 /home ext2 defaults 1 2 /dev/hda1 /boot ext2 defaults 1 2 /dev/hdd /mnt/cdrom iso9660 ro,noauto 0 0 /dev/fd0 /mnt/floppy ext2 noauto 0 0 /dev/fd0 /mnt/dosfpy msdos noauto 0 0 defunct:(pid231) /net ignore 0 0 0 none /proc proc defaults 0 0 /dev/hda3 swap swap defaults 0 0 # # Second Hard Drive (HDB) # /dev/hdb1 /mnt/dos msdos defaults,noauto 0 0 /dev/hdb2 /mnt/backup ext2 defaults,noauto 1 3 #/dev/hdb3 none swap sw /dev/hdb4 /u ext2 defaults 1 2 # # --end of file-- # For Major/Minor numbers just take a look at the /dev directory. For IDE drives the 3 is the Major number and the 0 thru 16 is the Minor number: brw-rw---- 1 root disk 3, 0 Sep 7 1994 hda brw-rw---- 1 root disk 3, 1 Sep 7 1994 hda1 brw-rw---- 1 root disk 3, 2 Sep 7 1994 hda2 brw-rw---- 1 root disk 3, 3 Sep 7 1994 hda3 brw-rw---- 1 root disk 3, 4 Sep 7 1994 hda4 brw-rw---- 1 root disk 3, 5 Sep 7 1994 hda5 brw-rw---- 1 root disk 3, 6 Sep 7 1994 hda6 brw-rw---- 1 root disk 3, 7 Sep 7 1994 hda7 brw-rw---- 1 root disk 3, 8 Sep 7 1994 hda8 brw-rw---- 1 root disk 3, 9 Sep 7 1994 hda9 brw-rw---- 1 root disk 3, 10 Sep 7 1994 hda10 brw-rw---- 1 root disk 3, 11 Sep 7 1994 hda11 brw-rw---- 1 root disk 3, 12 Sep 7 1994 hda12 brw-rw---- 1 root disk 3, 13 Sep 7 1994 hda13 brw-rw---- 1 root disk 3, 14 Sep 7 1994 hda14 brw-rw---- 1 root disk 3, 15 Sep 7 1994 hda15 brw-rw---- 1 root disk 3, 16 Aug 2 1996 hda16 Hope this helps clear a few things up... --- Jay "Those that sacrifice essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin (1759) +------------------------------------------------------------------------+ | Jay Nugent [EMAIL PROTECTED] (734)971-1076 (734)971-4529/Fax | | Nugent Telecommunications [www.nuge.com] (734)649-0850/Cell | | Internet Consulting/Linux SysAdmin/Engineering & Design/ISP Reseller | | ISP Monitoring [www.ispmonitor.net] ISP & Modem Performance Monitoring | | Web-Pegasus [www.webpegasus.com] Web Hosting/DNS Hosting/Shell Accts| | LinuxNIC, Inc. [www.linuxnic.net] Registrar of the .linux TLD | +------------------------------------------------------------------------+ 6:00am up 23 days, 2:44, 7 users, load average: 0.01, 0.03, 0.00 _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users