Re: openSUSE 11.1 64 Bit USB thumbdrive mounting problems

Eef Hartman wrote:
Thomas Tootle <tootlet@xxxxxxxxxxxxx> wrote:
fdisk -l shows my usb drive as sde1 with fat32. So as root I entered the
following commands:
mkdir -p /mnt/myusb
mount -t vfat -o rw,users /dev/sde1 /mnt/myusb

- what I prefer is to enable "mount as user" because then the mounter
is also the file-owner: for this you have to add a line TO the
/etc/fstab, in this case with the "user" or "users" option, which says
"is mountable" (cq UNmountable) by normal user UID's.
An example, taken from your mount line:
/dev/sde1 /mnt/myusb vfat users,noauto 0 0
in which the parameters are:
mount device
mount dir
file type (-t from the mount)
options (-o), noauto for "do not mount as root", users (are allowed to mount it)
parameters for dump and fsck (disabled)

This worked fine. But it brings me to another problem. I also plug in
external hard drives. If a thumb drive isn't present then it will assign
sde1 to this drive which has as totally different file system. So I
would need to umount the thumb drive, comment out the line in fstab
concerning the usb thumb drive device and enter a new line like
/dev/sbe1 /mnt/myusb ntfs-g3 users,noauto 0 0
for my external hard drive with a ntfs file system. Will this work?