[Fwd: Re: [buug] IDE drive recognition]

Bill Honeycutt wfhoney at pacbell.net
Thu Nov 4 14:14:01 PST 2004


I have tried this both with a /dev/hdc1 line in /etc/fstab and without 
that line.

I notice that /dev/hda6 is not in the /proc/mounts output!?

Ian Zimmerman wrote:

> Have you tried the -n option to mount? What is the contents of /etc/mtab ?
>
wfh:~# cat /etc/mtab
/dev/hda6 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda1 /boot ext3 rw 0 0
/dev/hda7 /home ext3 rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0


wfh:/proc# cat mounts
rootfs / rootfs rw 0 0
/dev2/root2 / ext3 rw 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
/dev2/root2 /.dev ext3 rw 0 0
none /dev tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda1 /boot ext3 rw 0 0
/dev/hda7 /home ext3 rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0


The output from 'fdisk /dev/hda' followed by 'print partition table' 
gives this...

Disk /dev/hda: 10.0 GB, 10005037056 bytes
240 heads, 63 sectors/track, 1292 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           6       45328+  83  Linux
/dev/hda2               7        1292     9722160    5  Extended
/dev/hda5               7          38      241888+  82  Linux swap
/dev/hda6              39         645     4588888+  83  Linux
/dev/hda7             646        1292     4891288+  83  Linux

wfh:/etc# cat fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>               <dump>  
<pass>
/dev/hda6       /               ext3    errors=remount-ro       0       1
/dev/hda5       none            swap    sw                      0       0
proc            /proc           proc    defaults                0       0
/dev/fd0        /floppy         auto    user,noauto             0       0
#/dev/cdrom     /cdrom          iso9660 ro,user,noauto          0       0
/dev/hda1       /boot           ext3    defaults                0       2
/dev/hda7       /home           ext3    defaults                0       2
/dev/hdc1       /mnt/hdc1       ext3    defaults                0       0





More information about the buug mailing list