Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to automount (using the XFCE desktop) USB devices with Btrfs. This works as with any other filesystem just by plugging it in and waiting for two or three seconds for it to appear under /media/...

Unfortunately, it is mounted with the default mount options only. I would like to mount it with additional options, e.g. compress.

How would I do that?

I've tried to add an entry with UUID=... to /etc/fstab. It then mounts with the wanted option, but not automatically anymore. I need to manually call udisks --mount /dev/sdb1 then.

Formerly, gnome had entries like /system/storage/default_options/ext3/mount_options where the default mount options could be configured, but I did not see that under XFCE, and it applies to all filesystems of that type.

So this boils down to the question:

How can I have specific options configured in /etc/fstab and still have XFCE automount the device?

share|improve this question
    
Probably creating a udev rule is the best way to specify exactly what you want, as there's no mount.rc in recent Xfce versions. –  user76204 May 9 '13 at 22:58
add comment

1 Answer

The Thunar Volume Manager is an extension for the Thunar file manager, which enables automatic management of removable drives and media. If thunar-volman is installed and configured properly, for example, and you plug in your removable media, it will automatically launch your preferred application and auto-mount your media. More details can be found here and here at the official XFCE site.

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.