Re: External USB hard drive and cameras with Gentoo I'm a little bit surprised.
sda1 is the first connected device, sdb1 the second, etc.
I've never seen sda2 or 3 etc.
That's different for hda1, hda2 etc.
Why ?
anc wrote:
> Using Gentoo 2004.2, kernel 2.4.26. I have modules usbcore,
> usb-storage, sd_mod, sg (if required) compiled as mnodules.
> First problem is I cannot access my digital camera via the
> USB port which will be accessed as /dev/sda1.
>
> Second problem is my old hard drive is connected using a
> USB to IDE connector, and I am trying to access partition 7
> (reiserfs /dev/sda7).
>
> I have created mount point of /camera and /sda7, extract
> of /etc/fstab:
>
> /dev/sda1 /camera auto noauto,users,rw 0 0
> /dev/sda7 /sda7 reiserfs noauto,users,rw 0 0
>
>
> I get the following error when trying to mount my external hard drive:
>
> anc@orac anc $ mount /sda7
> mount: /dev/sda7 is not a valid block device
>
> /dev/sda7 does not exist in Gentoo so I created it using kernel major
> 8 and minor 7
> anc@orac anc $ ls -l /dev/sda7
> brw-r--r-- 1 root root 8, 7 Oct 20 19:36 /dev/sda7
>
> ........but as gentoo uses the devfs surely this is wrong as other
> devices i.e. dev/hda1 are symbolic links. After reading the Gentoo File
> System Device Guide I believe I should be symbolicly linking /dev/sda7
> to /dev/scsi/xxx/xxx
>
> My question is what do I create under /dev/scsi and do I still use mknod
> to create the new devices?
> Thanks in advance.
>
>
> |