Changing the Default Mount Point for an External USB Hard Drive

Tom H tomh0665 at gmail.com
Sat Aug 7 22:01:23 UTC 2010


On Sat, Aug 7, 2010 at 4:37 PM, Larry Shields <larryesu at charter.net> wrote:
> On 08/07/2010 03:24 PM, Martin Webster wrote:
> On Sat, 2010-08-07 at 19:01 +0300, Amichai Rotman wrote:
>
> 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
>
> I have a question for you, where do you come up with the -Flai, where is
> this command listed and where did you get it from...???

F --> appends * for an executable, / for directory, @ for a symlink, ...
l --> lists mode, owner, group, size, name
a --> lists dot files
i --> lists inode

F, a, i are unnecessary in this case.




More information about the ubuntu-users mailing list