FC5 locks solid after running parted
Chris Allen
chris at cjx.com
Mon Jun 26 17:11:04 UTC 2006
On Mon, Jun 26, 2006 at 11:13:17AM -0500, Rex Dieter wrote:
> Chris Allen wrote:
>
> > The script below locks the machine solid about 40% of the time that I
> > run it.
> ...
> > Ideas anyone??
> >
> >
> > #!/bin/bash
> > for i in b c d e f g h i j k l m n o p q
> > do
> > parted -s /dev/sd$i rm 1
> + sync; sleep 2;
> > parted -s /dev/sd$i mkpart primary ext2 0 250GB
> + sync; sleep 2;
> > done
>
Thanks, but can you explain why that works, and why
sleep 2 rather than 1 or 3?
More information about the fedora-list
mailing list