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

Re: how to umount a usb flash drive through cli as a normal user





On Tue, Oct 12, 2010 at 1:29 PM, Jason Heeris <jason.heeris@gmail.com> wrote:
On 11 October 2010 23:52, vishnu vardhan <vishnuvardhan.linux@gmail.com> wrote:
> to mount the usb flash drive :
>
> [a] start mc and search for jet under /dev/disk/by-id folder and note down
> the name, for e.g. sdb1

This is a bit tangential, but do you know about the "pmount-hal"
command? It basically uses HAL to work out a name for the mount point
(eg. /media/My USB Drive instead of /media/usb0), and automatically
works out some other mount flags for you. Keep in mind I use Squeeze,
not Lenny, so if it's not there, that's why.

Cheers,
Jason


strangely, there is no usb entry in /media/. there are only entries of cdrom, cdrom0, sdb1 & sdc1. both sdb1 & sdc1 are directories and they have a file created by pmount. if i try with only sdb it is showing error of wrong fs type.

today only i re-read your reply. it seems i have missed pmount-hal command. i will let you know my experience with command in another 24 hours.


Reply to: