[mdlug] mount NTFS partition as user

Robert Citek robert.citek at gmail.com
Thu Mar 25 15:52:59 EDT 2010


I'm running Ubuntu 9.04 and have an Windows NTFS partition on a USB
drive.  When I plug the USB drive into my machine, I can mount the
drive by clicking on Places > WindowsXP and Ubuntu will mount the
drive at /media/WindowsXP.  How can I accomplish the same at the
command line?  That is, how can I as a user mount the WindowsXP
partition to /media/WindowsXP?

The command pmount used to work for this, but I am having two issues
with pmount.  First, I need to know the partition, which means I need
to use blkid to figure out which partition has the label WindowsXP.
Second, pmount complains that my WindowsXP is not removable.

The alternative is to use this:

$ mkdir /media/WindowsXP && sudo mount $(sudo blkid | grep WindowsXP |
cut -d: -f1) WindowsXP

although that's not very elegant.

Any nicer suggestions?

BTW, I'm having the same issue with Ubuntu 8.04 and 8.10.

Regards,
- Robert



More information about the mdlug mailing list