[ALUG] Help me to help someone!

(Ted Harding) ted.harding at nessie.mcc.ac.uk
Thu Jul 5 09:03:21 BST 2007


On 05-Jul-07 07:07:38, Tim Green wrote:
> On 7/4/07, Ted Harding <ted.harding at nessie.mcc.ac.uk> wrote:
>> he says "If I go to Places Computer it shows the other hard drive
>> and I can mount it and read or copy from it OK" despite the fact
>> that it's not in /etc/fstab.
>>
>> The only thing I can think of is that when he does that, whetever
>> Ubuntu does behind the scenes amounts to an explicit
>>
>>   mount -t ... /dev/hdb* /...
>>
>> command. But, not having any Ubuntu eperience, I simply don't know.
> 
> It sounds like the hot plug system is finding the disk, and mounting
> it, like it does for USB mass storage.
> 
> I'd suggest he try adding it to fstab with the desired mount flags.
> 
> Tim.

Thanks, Tim. I'll pass it on, and see what happens. Or, rather,
I would pass it on, with the suggestion to copy the line for
/dev/hda1 and edit it to substitute hdb1 (or whatever), so as
to keep the same mount options. That's what I'd do on my setup.

But it looks a bit different in Ubuntu. Below is what he gets
from 'cat /etc/fstab (I've put "\" for line continuation):




$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda1
UUID=f21e9d7d-ccca-4f26-94a7-4d0019bf8e8b / ext3 \
defaults,errors=remount-ro      0       1
# /dev/hda5
UUID=c34ef736-5951-4b64-ac1f-7a1f1b47f80c none    swap    sw  0     0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0


So, instead of the "/dev/hda1" etc. that I'm used to, there's a huge
"UUID=...." identifier for the "hda" device, which is different
according to each partition on the device.

So I wouldn't have a clue what to suggest he puts there for his
"hdb" drive! Remember, this guy is newish to Linux ....

Any suggestions?

With thanks,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 05-Jul-07                                       Time: 09:03:02
------------------------------ XFMail ------------------------------



More information about the main mailing list