Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I once used gnome-mount like this

gnome-mount -o ro -d /dev/sda2 or gnome-mount -o ro -p "Macintosh HD"

But, alas, gnome-mount seems to be no more. RIP.

I can do this

gvfs-mount -d /dev/sda2

(which generates a whole lot of errors but does mount the partition in the /media directory.)

This is a related question: http://superuser.com/questions/131918/gnome-mount-alternative-in-ubuntu-10-04-or-how-to-mount-partition-with-normal-use

But how do you do it by name?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

gvfs-mount doesn't seem to have that option. http://www.unix.com/man-page/OpenSolaris/1/gvfs-mount/

Normal mount should be able to do this however.

mount -o ro -L "Macintosh HD" /mountpoint

mount requires you to create the mountpoints first though.

share|improve this answer
    
That will do what I want. Thanks - I feel silly that I didn't think of mount. –  philcolbourn Jun 9 '10 at 13:57
    
I can always mkdir /mnt/Macintosh\ HD before I mount it so that is not really a problem. –  philcolbourn Jun 9 '10 at 13:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.