fdisk reinstate sleep

Denys Vlasenko vda.linux at googlemail.com
Wed Jul 13 07:04:52 UTC 2011


On Monday 11 July 2011 17:45, Bob Dunlop wrote:
> Hi,
> 
> I've been chasing an intermittent problem with busybox's fdisk
> implementation.  About one command in ten was failing on me when used
> with slow external USB disks on a 320MHz ARM system.  The BLKRRPART
> ioctl was returning device busy.
> 
> I traced it to a commented out sleep(2) in fdisk.c.  With the sleep
> reinstated fdisk is reliable.

What is the minimum usleep(MICROSEC) it works for you?

What is your kernel version and model of USB disk?

-- 
vda




More information about the busybox mailing list