[CentOS] Mount USB disk at startup?

Warren Young warren at etr-usa.com
Thu Feb 4 14:57:46 UTC 2010

On 2/4/2010 7:10 AM, Mogens Kjaer wrote:
> On 02/04/2010 02:41 PM, Eero Volotinen wrote:
> ...
>> how about mounting that drive on rc.local ?
> That's too late; I need it before /etc/init.d/mythbackend
> starts.

# ls /etc/rc`runlevel | cut -c3`.d/*myth*

Then write a script in /etc/init.d to wait for the USB drive to appear, 
and link it to an "S" value one less than used by mythbackend for your 
runlevel.  That is, if you find mythbackend is S42mythbackend in your 
normal starting runlevel, you link /etc/init.d/mydrivewaiter to 

More information about the CentOS mailing list