cloggers wrote:
> A lot of people seem to add an entry for their USB drives in fstab.
> AFAIK this not a preferred solution however it would possibly solve my
> problem.
WELL, if you want to walk up to a running Linux computer and plug in a
USB drive then HAL senses it being plugged in and mounts it…easy
peasy…but it might be mounted as /media/disk-1 today and something
else tomorrow…SO you must do something to help that…
and as far as i recall you do NOT solve that problem in
fstab…because if the drive is listed in fstab and it is NOT
connected when you boot you get a fat error/complaint…and HAL will
not correctly sense and handle the drive for AUTO-CONNECT if it is
listed in fstab
but, that is NOT your case!
> My drive is permanently connected to my pc.
> But would my USB drive be correctly unmounted by opensuse ??
in your case, you want it to boot with USBs connected and have them
always put them in the same place with the same name—THAT you do in
fstab…(it can NOT be done reliably by HAL, as you can attest…maybe
next week it can be, or maybe not…)
and, if you do the fstab thing correctly it should (not sure i can say
will) correctly unmount ALL drives at shutdown, no matter if they are
on the IDE bus, or the SATA bus, or the USB bus, or the bus downtown 
there are a multitude of previous threads here on how to enter USB
drive info into the fstab, but my googleFU is a little weak at the
moment…
here is one good place to begin:
http://en.opensuse.org/SDB:Basics_of_partitions,_filesystems,_mount_points
search for USB…but do NOT ignore all the background you may need,
which comes before that section…
if i recall correctly the info from your /etc/mtab can fairly easily
be adapted and added to fstab…but, be sure and READ ‘man fstab’ to
follow all the rules…
there are more hints and tips in the wiki or forum, i just can’t seem
to find them now…
BACK UP! before you do a lot of futzing around…
–
DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]