Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix -disk option in flashrd parent script by giving umount up to 30 seconds (for slow flash) (and fix test exit status that skews mkdist end). Stop zeroing out full vnd image in mkboot and mkdist, makes flashrd runs significantly faster with slow disk or flash. Stop using kernel auto-disklabel for boot image, instead create our own disklabel with 63 sectors/track (higher chance of image compatibility for folks not able to run growimg). Make /flash/old revert-on-failure more likely to work in stand/rc.
- Loading branch information
Showing
7 changed files
with
119 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,10 @@ unvndmnt() | |
{ | ||
x=0 | ||
|
||
umount /$i | ||
for i in $vndddirs; do | ||
umount /$i | ||
done | ||
|
||
vnconfig -u $vnd | ||
} | ||
|
||
|