From 1443e8878b89a0db4a10ec7aff112e23e4f755cc Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 10 Jan 2002 21:28:15 +0000 Subject: better looking output of type of partition (%x => %0x) --- rescue/lsparts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rescue/lsparts') 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 -- cgit v1.2.1