Re: how to mount external hdd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mittwoch, 18. Februar 2009 18:22 Sergey Manucharian wrote:

> I confirm the problem. So, how to mount an external HDD during the
> system start-up?

This is only an idea of mine but i haven't test it.

Take a look in the subirs (by-id, by-label, by-path and by-uuid) of /dev/disk
especially the content of by-uuid with "ls -l". If your partitions of the
external HDD be there than you can put this in the rc.local to mount
partition 1:

[ -e  /dev/disk/by-uuid/UUID_of_ext_HDD1 ] && \
  mount -t YOUR_FS -o YOUR_OPTIONS \
  /dev/disk/by-uuid/UUID_of_ext_HDD1 /MOUNTPOINT

Not so much professional -) but perhaps an working option if udev creates the
devices.

Good luck, Attila



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux