projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760a357
)
Make ext3 the default fs
author
Jamie Cameron
<jcameron@webmin.com>
Fri, 7 Sep 2007 18:32:26 +0000
(18:32 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Fri, 7 Sep 2007 18:32:26 +0000
(18:32 +0000)
lvm/edit_lv.cgi
patch
|
blob
|
history
diff --git
a/lvm/edit_lv.cgi
b/lvm/edit_lv.cgi
index
08b6917
..
0bab187
100755
(executable)
--- a/
lvm/edit_lv.cgi
+++ b/
lvm/edit_lv.cgi
@@
-186,9
+186,10
@@
if ($in{'lv'} && !$stat[2] && !$lv->{'is_snap'}) {
print "<input type=hidden name=dev value='$lv->{'device'}'>\n";
print "<td nowrap><input type=submit value='$text{'lv_mkfs'}'>\n";
print "<select name=fs>\n";
+ $fstype = $stat[1] || "ext3";
foreach $f (&fdisk::supported_filesystems()) {
printf "<option value=%s %s>%s (%s)\n",
- $f, $
stat[1]
eq $f ? "selected" : "",
+ $f, $
fstype
eq $f ? "selected" : "",
$fdisk::text{"fs_$f"}, $f;
}
print "</select></td>\n";