On Tue, May 03, 2011 at 10:56:44AM +0300, open...@bgone.net wrote: > 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
Yes, it works. But as stated by other people, it is much more elegant (and will not delay your normal boot process) to use hotplugd(8). It depends also if the data stored on your USB disk are directly accessed by daemons your start at boot. You may have to tune it. Modifying /etc/rc is not really recommended and that file may be overwritten during upgrades... -- Olivier Cherrier - Symacx.com mailto:o...@symacx.com