[NTLUG:Discuss] USB External storage only

terry trryhend at gmail.com
Fri Apr 24 12:49:22 CDT 2009


[Now that you've installed the Hard Drive [/dev/sdb] inside the PC];
You'll need to do few things in to make it convenient to use:

1) Create a mount point of your choosing
    For purposes of this discussion, I'll choose one for you, "data"
so to create the mount point we simply issue command:
    mkdir /data

2) Create a fstab entry for the new mount point.
     To do this we simply edit the /etc/fstab file and enter the
following line,
[or something similar to]:
/dev/sdb1    /data   ext3     noauto,user,rw    0  0

3) Reboot or just remount the filesystems so that the changes will take effect.
   sudo mount -a   #or just reboot

If you want an icon on the dektop you can create a symlink
   sudo ln -s /data ~/Desktop

Otherwise just direct your file manager or browser to    /data

(For more details see man fstab)



More information about the Discuss mailing list