Revision of External USB drives from Wed, 05/03/2023 - 13:32

The revisions let you track differences between multiple versions of a post.

Inserting and removing

When an external USB drive is inserted, it is automatically mounted, i.e. it becomes visible in the file manager and it appears as a subdirectory in /media/username/.

caja-automount.jpg

Before removing it, click on the red symbol next to it so that Trisquel stops any read or write operation to it.

Avoiding automatic mounting at insert

If you need to insert a USB drive but without mounting automatically (e.g. to examine it with ddrescue after it had problems when previously used):

1. In a terminal, run

$ sudo systemctl stop udisks2.service
2. Insert the device

3. In a terminal, run

$ sudo systemctl start udisks2.service
Stopping the udsisks2.service prevents automatically mounting devices but also has side effects (e.g. gnome-disks won't work properly) hence why the above advice is restarting it after the USB drive was inserted.

To permanently prevent a *specific device* from being automatically mounted upon insertion, it is possibl to a

AttachmentSize
caja-automount.png106.17 KB

Revisions

05/03/2023 - 13:30
Avron
01/13/2024 - 16:41
knife