Hi, why use a sleep ? hoplug didn't solve this ?
> ---------------------------------------- > From: Ivo Chutkin <open...@bgone.net> > Sent: Tue May 03 09:56:44 CEST 2011 > To: OPENBSD <misc@openbsd.org> > Subject: Re: How to mount usb disk at boot > > > On 2.5.2011 P3. 14:03 Q., Olivier Cherrier wrote: > > On Mon, May 02, 2011 at 12:31:47PM +0300, open...@bgone.net wrote: > >> Dmesg: > >> OpenBSD 4.8-stable (GENERIC) #1: Wed Apr 6 17:51:44 EEST 2011 > >> r...@mail.bgone.bg:/usr/src/sys/arch/i386/compile/GENERIC > >> cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" > >> 586-class) 499 MHz > > [snip] > >> mount_ffs: /dev/sd0a on /data: Device not configured > > [snip] > >> sd0 at scsibus0 targ 1 lun 0:<WD, My Book 1130, 1012> SCSI4 0/direct fixed > >> sd0: 953837MB, 512 bytes/sec, 1953458176 sec total > >> ses0 at scsibus0 targ 1 lun 1:<WD, SES Device, 1012> SCSI4 13/enclosure > > > > Your USB disk seems to take a lot of time to start and it is discovered > > after /etc/rc issues the 'mount -a' command. Try to put a 'sleep 10' > > before mounting the FS. > > > Hi Olivier, > This solved the problem. > I put "sleep 30" before "mount -a" in /etc/rc > I works perfect. > Thanks for the help. > Ivo > Cordialement Francois Pussault 3701 - 8 rue Marcel Pagnol 31100 ToulouseB FranceB +33 6 17 230 820 B +33 5 34 365 269 fpussa...@contactoffice.fr