Tue, 19 Jul 2022

Mounting a USB Drive

Best version I've had yet...

Get the UUID of the USB Drive. `-ovalue` outputs the pure UUID to use in /etc/fstab.

blkid -t TYPE=vfat -sUUID -ovalue

Add the following line to /etc/fstab:

UUID=$UUID /media audo nosuid,nodev,nofail,umask=000 0 0

Mount the drive.

mount -a

[/Technology/Computers]


powered by Blosxom Valid XHTML 1.0 Strict