projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebbd238
)
Explanatory comment
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 23 Jul 2011 23:05:16 +0000
(16:05 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 23 Jul 2011 23:05:16 +0000
(16:05 -0700)
fdisk/fdisk-lib.pl
patch
|
blob
|
history
diff --git
a/fdisk/fdisk-lib.pl
b/fdisk/fdisk-lib.pl
index
05f8224
..
af192be
100755
(executable)
--- a/
fdisk/fdisk-lib.pl
+++ b/
fdisk/fdisk-lib.pl
@@
-183,6
+183,8
@@
if (open(PARTS, "/proc/partitions")) {
}
}
close(PARTS);
+
+ # Sort IDE first
@devs = sort { ($b =~ /\/hd[a-z]+$/ ? 1 : 0) <=>
($a =~ /\/hd[a-z]+$/ ? 1 : 0) } @devs;
}