summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-01-10 21:28:15 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-01-10 21:28:15 +0000
commit1443e8878b89a0db4a10ec7aff112e23e4f755cc (patch)
treef7a1af9ac5fe78c2701d2639a9e1126049179790
parent9eb1688b18e4241692b80afd363cdce2a1b1b844 (diff)
downloaddrakx-1443e8878b89a0db4a10ec7aff112e23e4f755cc.tar
drakx-1443e8878b89a0db4a10ec7aff112e23e4f755cc.tar.gz
drakx-1443e8878b89a0db4a10ec7aff112e23e4f755cc.tar.bz2
drakx-1443e8878b89a0db4a10ec7aff112e23e4f755cc.tar.xz
drakx-1443e8878b89a0db4a10ec7aff112e23e4f755cc.zip
better looking output of type of partition (%x => %0x)
-rwxr-xr-xrescue/lsparts5
1 files changed, 4 insertions, 1 deletions
diff --git a/rescue/lsparts b/rescue/lsparts
index c73e1ad21..2346ee134 100755
--- a/rescue/lsparts
+++ b/rescue/lsparts
@@ -109,12 +109,15 @@ P: foreach (@parts) {
);
$skip_conditions{$_} and ($verbose and print(STDERR $_, "\n")), next P foreach keys %skip_conditions;
my $type = typeFromMagic("/dev/$dev");
- $type and printf "$dev: %6s Mbytes, type <0x%x> (%s)\n", commify($blocks >> 10), $type, $type2name{$type};
+ $type and printf "$dev: %6s Mbytes, type <0x%0x> (%s)\n", commify($blocks >> 10), $type, $type2name{$type};
}
#-------------------------------------------------
#- $Log$
+#- Revision 1.2 2002/01/10 21:28:15 gc
+#- better looking output of type of partition (%x => %0x)
+#-
#- Revision 1.1 2001/10/24 22:34:01 gc
#- - add a GUI to the rescue
#- - provide guessmounts with better efficiency and output, go to console, and reboot