Re: FC5 locks solid after running parted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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? 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux