[oneSIS-devel] SF.net SVN: onesis: [352] trunk/oneSIS.pm/lib/oneSIS.pm
Brought to you by:
jjengla
From: <cas...@us...> - 2008-01-12 23:15:51
|
Revision: 352 http://onesis.svn.sourceforge.net/onesis/?rev=352&view=rev Author: cashmont Date: 2008-01-12 15:15:57 -0800 (Sat, 12 Jan 2008) Log Message: ----------- add a sleep delay after partitioning disks so that /dev can be refreshed. This is only with cciss like devices that I've seen to date. Modified Paths: -------------- trunk/oneSIS.pm/lib/oneSIS.pm Modified: trunk/oneSIS.pm/lib/oneSIS.pm =================================================================== --- trunk/oneSIS.pm/lib/oneSIS.pm 2007-12-21 22:27:30 UTC (rev 351) +++ trunk/oneSIS.pm/lib/oneSIS.pm 2008-01-12 23:15:57 UTC (rev 352) @@ -2215,6 +2215,12 @@ } } + # + # need to wait for the created partition to show up ... + # particularly w/ /dev/cciss/cXdY like devices + # + sleep 3; + # Initialize swap partitions foreach my $part (@swap) { print "oneSIS: Making swap space on $part ...\n"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |