Re: how to mount external hdd

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



On Wed, Feb 18, 2009 at 2:22 PM, Sergey Manucharian <sergeym@xxxxxxxxx> wrote:
> On Wed, 18 Feb 2009 11:03:08 +0100
> <hollunder@xxxxxx> wrote:
>
> ..........
>
>> An external drive can be rather reliably identified and always mounted
>> at the same place using udev.
>>
>> This is somewhat problematic on arch linux tough.
>> For some reason the devices seem not to be created before
>> mount runs although udev runs before it.
>> This means that external drives do not get mounted along with all the
>> other drives specified in fstab.
>>
>> I personally wonder what the problem is since this method has worked
>> on other distributions.
>>
>> My workaround is simply another 'mount -a' in rc.local, at this point
>> in boottime the devices are created.
>>
>> Still this doesn't work reliably with one of my drives but this is a
>> separate problem (slowness).
>>
>> Philipp
>>
>
> Folks, you are discussing how to deal with "noob questions" etc., but
> nobody paid attention to the more "deep" meaning of the initial
> question arisen by Philipp.
>
> I confirm the problem. So, how to mount an external HDD during the
> system start-up?
>
> Cheers,
> Sergey
>
>


If it is always connected, I would put a line on /etc/fstab so it is
mounted as any other ordinary partition.

If it is not always connected, I would make a script and put it in
/etc/rc.d. The script would be responsible to look if the disk is
attached and mount it. It would be good to use some udev rules to make
a fixed symlink for the disk, so the script has a fixed target to
find.

-- 
-------------------------------------------
Denis A. Altoe Falqueto
-------------------------------------------
Emo Philips  - "I was the kid next door's imaginary friend."


[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