[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pendrive not mounted when another usb device is plugged in



Rodolfo Medina <rodolfo.medina@gmail.com> writes:

>>> In my /etc/fstab there is the following entry:
>>>
>>>  /dev/sda        /mnt/sda 	vfat    rw,user,noauto       0       0
>>>
>>> , so I normally mount my usb pendrive simply with:
>>>
>>>  $ mount /mnt/sda
>>>
>>> .  But, now that I have a usb umts modem (Huawei e169), when it is plugged
>>> in I don't manage to mount the pendrive: the system claims that the medium
>>> is `not found'.  Then I have to unplug the modem and plug the pendrive in
>>> again.



Ron Johnson <ron.l.johnson@cox.net> writes:

>> [...] in /etc/fstab I'd refer to that drive not as /dev/sda but by it's
>> UUID.




Rodolfo:

> All right, I did so and now the mount problem seems to be fixed.  But now,
> when I want to unmount it, with: `umount /mnt/sda', the output is:
> `Segmentation fault', and the drive is not unmounted.
>
> How to unmount it now?


I have to unmount it as root.  In fstab there is now:

UUID=44F1-7D0C /mnt/sda 	vfat    rw,user,noauto       0       0

, but as a normal user I can only mount the device, not unmount it: to unmount
it I must be root.  Why this?

Another thing that is not clear to me is the difference between the `user' and
`users' options of `mount' command.

But now I understand why the problem occurs trying to mount the drive when the
umts device is already plugged in: for some reason, although the umts device
is mapped into /dev/ttyUSB0, /dev/sda comes to be busy.  So, if I add in fstab
another line:

/dev/sdb        /mnt/sdb 	vfat    rw,user,noauto       0       0

, I can mount the pendrive on /mnt/sdb.  But now I wish to use the UUID as
normal user.  Suggestions welcome.

Bye
Rodolfo


Reply to: