I have 3 physical external USB drives. All are btrfs. Two are combined into a single volume, the other is not. The two volumes are both in /etc/fstab
to be mounted at /mnt
and that works fine, but the combined one also keeps getting automatically mounted in /media
, like a removable USB flash drive, and I don't know how to turn this off.
/etc/fstab
:
# / was on /dev/sda6 during installation
UUID=619c1750-218e-4432-bb13-732a9c9192b5 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=3449-605A /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
UUID=31abab38-ca1f-4541-9141-9506098d832a /mnt/butter auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=3f8633ef-aad6-4444-87b6-831a11c3067e /mnt/Int_Butter auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=2679ca57-e8e3-4b23-8574-69d751d62dbc /mnt/Risky auto nosuid,nodev,nofail,x-gvfs-show 0 0
All 3 are mounting to /mnt/
as they should, but butter
is also being mounted to /media/
as if it were a USB thumb drive.
If you are using Ubuntu desktop then it comes with an application which automount usb by itself, anyway if you want more info about it please check https://help.ubuntu.com/community/Mount/USB
As the link states you can change behavior in dconf-editor.