<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Catalin David wrote:<br>
<span style="white-space: pre;">> Dear users,<br>
><br>
> I know that it's Saturday and everyone is enjoying the week-end,
but I <br>
> have a little problem...<br>
><br>
> I have an external NTFS formatted 500GB external USB drive which
is not <br>
> always plugged in when I turn on the laptop. So... I was wondering
if <br>
> there is any way to make it  mount directly to a special folder in
<br>
> /media (for example disk_). I know that /etc/fstab takes care of
these <br>
> details, but I don't know whether it will also work for plugged in
HDD <br>
> after the boot sequence, while running Ubuntu.</span><br>
<br>
it works.  i'll take a moment from my Saturday Morning Cartoons to
help...<br>
<br>
- - open a terminal<br>
- - type "blkid" without the quotes<br>
- - plugin your usb drive<br>
- - type "blkid" again<br>
- - you should be able to figure out which drive is your USB one sice
it won't be in the first list but will be in the second<br>
- - note the USB drive's UUID<br>
- - in the terminal type "sudo vi /etc/fstab" or whatever editor you
want to use as root to edit your fstab file<br>
- - add a line to mount your USB drive to the folder you want (this
folder must already exist btw)<br>
- - save your fstab<br>
- - exit the terminal<br>
- - reboot and see if it worked<br>
<br>
you should be able to look at the lines in your fstab and add a similar
one.  here's an example for an ntfs drive:<br>
<br>
# Entry for /dev/sda1 :<br>
UUID=10B49685B4966CCA /media/sda1 ntfs-3g defaults,locale=en_CA.UTF-8 0
1<br>
<br>
that line would mount my /dev/sda1 ntfs drive on /media/sda1 but it
could just as easily be mounted on /home/dvincent/usbdrive or wherever
i want it.<br>
<br>
hope this helps.<br>
<br>
- -d<br>
<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
<br>
iD8DBQFIOBgafpRzWFIV0XMRAiBHAJ4ugfX2KIEXd1eyxvRy8CUbKhMZvACdHFZC<br>
rZX5izZmlxg3tKvQMESrb6g=<br>
=1SUM<br>
-----END PGP SIGNATURE-----<br>
<br>
</body>
</html>