Re: Mount USB disk at startup?

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



On Thu, Feb 04, 2010 at 02:37:06PM +0100, Mogens Kjaer wrote:
> It turns out to be some sort of race condition:

The problem with USB disks is that they aren't always "ready" as quickly
as the rest of the OS, so the kernel hasn't been able to detect them yet.

What you might be able to do is use autofs to mount the disk for you
when you try to access the mount point.  As long as that's not part
of the boot sequence (ie it's something someone does when they login)
then there's a good chance the disk will be detected.

Alternatively, don't set it to mount in fstab and then create an rc script
which does a poll-wait for the disk to appear and runs the mount command
for you.

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux