projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6b73e9
)
Run partprobe after filesystem creation, to update UUID mapping
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 17 Aug 2009 21:38:42 +0000
(14:38 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 17 Aug 2009 21:38:42 +0000
(14:38 -0700)
fdisk/fdisk-lib.pl
patch
|
blob
|
history
diff --git
a/fdisk/fdisk-lib.pl
b/fdisk/fdisk-lib.pl
index
dccee6e
..
6298746
100755
(executable)
--- a/
fdisk/fdisk-lib.pl
+++ b/
fdisk/fdisk-lib.pl
@@
-717,6
+717,9
@@
elsif ($_[0] eq "jfs") {
elsif ($_[0] eq "fatx") {
$cmd = "mkfs -t $_[0] $_[1]";
}
+if (&has_command("partprobe")) {
+ $cmd .= " ; partprobe";
+ }
return $cmd;
}