[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

In the pmount package there is also a "pumount" command.
The new device name can be found in the file /proc/partitions.
So the whole procedure could be like this, using the symbolic name "udisk":

cat /proc/partitions
pmount /dev/sdb1 udisk
# now the device can be accessed via /media/udisk
pumount udisk
# this removes also the mount point /media/udisk

Best regards,

Reply to: