Changing the Default Mount Point for an External USB Hard Drive

Martin Webster lists at martinwebster.eu
Sat Aug 7 20:24:29 UTC 2010


On Sat, 2010-08-07 at 19:01 +0300, Amichai Rotman wrote:

<snip>

> I'd like to change the default mount point for this specific drive
> to /Data, without affecting the other USB devices (i.e.: other Disk on
> Key and such). In other words - make it look like an internal regular
> Hard Drive.

One method... Open the terminal and type ls -Flai /dev/disk/by-uuid/.
Now plug in the USB drive and repeat this to identify the UUID of the
new drive. With this information, edit fstab (sudo nano /etc/fstab) and
add a new line along these lines:

UUID=<new UUID from ls> /data <file system type, e.g. ext4>
defaults,users 0 0

-- 
As ever,
.\\artin

Martin Webster • Profile: http://www.linkedin.com/in/martinwebster
AOL: martinjwebster • Wordpress: http://martinwebster.info/
Jabber: martinwebster at xmpp.org.uk • ICQ: 15893823





More information about the ubuntu-users mailing list