[mdlug] mount NTFS partition as user

Dennis VanHoey devanhoe at gmail.com
Thu Mar 25 16:38:06 EDT 2010


would autofs [http://www.autofs.org/] suffice? Then mounting is automated
and would be available in either case.

On Thu, Mar 25, 2010 at 3:52 PM, Robert Citek <robert.citek at gmail.com>wrote:

> 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
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>



More information about the mdlug mailing list