Responses below...

On Friday 26 October 2001 10:35 pm, Matthew Dharm wrote:
> Umm... what does
>
> ls -l /dev/sda*
>
> look like?

[root@localhost]# ls -l /dev/sda*
lr-xr-xr-x    1 root     root           33 Oct 26 05:24 /dev/sda -> 
scsi/host0/bus0/target0/lun0/disc
lr-xr-xr-x    1 root     root           34 Oct 26 05:24 /dev/sda1 -> 
scsi/host0/bus0/target0/lun0/part1
lr-xr-xr-x    1 root     root           34 Oct 26 05:24 /dev/sda5 -> 
scsi/host0/bus0/target0/lun0/part5

> Also, "mount /dev/sda" isn't a valid command unless you have an entry for
> /dev/sda in your /etc/fstab.  From the looks of things, you have an entry
> for /dev/sda5 there, so that command _should_ work, tho it doesn't.

Yes, ironically enough the entry (/dev/sda5) in my fstab was put there by the 
Mandrake installation which saw my drive during the install.  But, it 
hiccops during bootup now saying it can't mount the drive (prob cause sd_mod 
and usbinterface aren't loaded at that point, so I set it to noauto and load 
it manually later).  Once I load sd_mod after bootup, life is good.  Anyway, 
here is the appropriate part from /etc/fstab:

/dev/sda5 /mnt/orb vfat 
user,noauto,dev,suid,rw,umask=0,iocharset=iso8859-1,codepage=850 0 0

I am thinking that probably the only way to get the drive to automount at 
bootup (which isn't really a big deal) is to probably recompile the kernal 
with the appropriate pieces in the kernel instead of modules.  It seems like 
there should be a step after the usb loading step that then goes through and 
mounts any usb devices that look like mass storage devices.  But in my 
cursory reads through the init scripts, this doesn't appear to happen.

I've been mucking around some of the usb tools and there appears to be a way 
to set up agents or scripts that will fire when a specific device is noticed 
on the usb bus.  This would be ideal because then, we could do a mount of the 
device when it is plugged in.  I expect it probably wouldn't work so 
well to go the other direction (unmount when unplugged, this prob still has 
to be a manual step for syncing purposes).  

> alias block-major-8 sd_mod.o
>
> might help also.  However, if it does, then that's a sign that your
> modutils are out of date and should be upgraded.

Yep, that did it.  I had added this before and things weren't working for 
other reasons, so I removed it.  But I put it back and now I can mount 
/dev/sda5 and sd_mod is automagically loaded.  Cool!  I am at the latest 
version of mandrake, so it seems a little strange that the modutils would be 
out of date, but I'll look into that.  Thanks once again for your assistance 
Matt.

-Chris

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to