You are here

Mounting USB storage on DICE

Printer-friendly versionPrinter-friendly version

DICE supports the mounting of external drives of most types, for FAT, NTFS and Linux Extended (ext2, etc) filesytems (though note there are legal issues affecting the use of exFAT). For most users, mounting such storage is automatic as it is handled by GNOME's file manager and does not require root privileges.

For those who are not using GNOME, or need more advanced command-line control of the mounting process, we provide the pmount utility.

For example, to mount the newly-inserted USB drive detected in /dev/sde as "MYDRIVE":

 $ pmount /dev/sde1 MYDRIVE
 $ df -h /media/MYDRIVE/
 Filesystem            Size  Used Avail Use% Mounted on
 /dev/sde1             980M  156M  824M  16% /media/MYDRIVE

(you can find out the device name of the newly-inserted device by scanning the output of dmesg).

Remember that mounting a drive in this fashion means that you must umount it before removing or powering it off to avoid data loss:

 $ pumount /dev/sde1

See the manual page (man pmount) for more details, including advanced usage alongside nautilus or synchronous operation (to allow safe removal without unmounting).

Last reviewed: 
14/09/2017

System Status

Home dirs (AFS)
Network
Mail
Other services
Scheduled downtime

Choose a topic