Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using archivemount to mount one of several tar.bz files in Ubuntu. It works very nicely for me.

I mount and umount frequently (I'm in a testing phase). I want a solution that will allow me to umount without typing in my password. Here's my current script:

ARCHIVE=$(zenity --file-selection --filename=/share/);
archivemount $ARCHIVE /media/Archive/
echo "when finished use: sudo umount /media/Archive/"

My goal is to simply be able to umount quickly and easily without typing my password. I understand that adding an fstab entry will do the trick, but I cannot find the correct format for the fstab entry when using archivemount.

Other solutions approaches are welcome.

share|improve this question
2  
Looks like archivemount is a fuse-based system, try fusermount -u /media/Archive. –  Kevin Jun 21 '13 at 21:24
    
that works. Thanks! –  MountainX Jun 21 '13 at 22:26
add comment

1 Answer 1

up vote 1 down vote accepted

archivemount is a fuse-based system (like sshfs, among others), so you can unmount it as a regular user (at least the one who mounted it) using

fusermount -u /media/Archive
share|improve this answer
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.