summaryrefslogtreecommitdiff
path: root/util-linux/fdisk_sgi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fdisk: move more data to struct globals; shrink code Denis Vlasenko2008-06-291-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta nowarn 1 - -1 listing 1 - -1 dos_compatible_flag 1 - -1 warn_cylinders 44 42 -2 open_list_and_close 364 362 -2 fdisk_fatal 41 38 -3 verify 1053 1049 -4 user_sectors 4 - -4 user_heads 4 - -4 user_cylinders 4 - -4 pt_sectors 4 - -4 pt_heads 4 - -4 kern_sectors 4 - -4 kern_heads 4 - -4 ext_index 4 - -4 total_number_of_sectors 8 - -8 extended_offset 8 - -8 create_doslabel 129 120 -9 write_table 225 211 -14 delete_partition 445 431 -14 set_partition 476 459 -17 list_disk_geometry 247 229 -18 unable_to_write 19 - -19 add_partition 2515 2486 -29 get_boot 1709 1636 -73 fdisk_main 2812 2679 -133 ------------------------------------------------------------------------------ (add/remove: 0/14 grow/shrink: 0/12 up/down: 0/-388) Total: -388 bytes text data bss dec hex filename 804634 611 6852 812097 c6441 busybox_old 804298 610 6804 811712 c62c0 busybox_unstripped
* fdisk: do not open device twice. Complain on fdisk -l /dev/bogus.Denis Vlasenko2008-04-171-9/+9
| | | | | | | | | | Made enums UPPERCASE. Removed one global variable. Added some FIXMEs. text data bss dec hex filename 804708 645 7112 812465 c65b1 busybox_old 804685 641 7112 812438 c6596 busybox_unstripped
* support for mount by label (not yet tested)Denis Vlasenko2008-02-181-1/+1
| | | | | Also adds findfs applet. Closes bug 1143.
* random s/short/int/Denis Vlasenko2008-02-161-10/+11
| | | | | | | | | add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
* fdisk: reduce global data/bss usage. 8k data+bss build is achievable soon ;)Denis Vlasenko2007-12-161-16/+16
| | | | | | | | (add/remove: 0/13 grow/shrink: 6/19 up/down: 74/-492) Total: -418 bytes text data bss dec hex filename 778330 860 7408 786598 c00a6 busybox_old 777970 840 7376 786186 bff0a busybox_unstripped
* style fix (stray space before ';')Denis Vlasenko2007-07-211-5/+5
|
* random style fixes (extra spaces deleted)Denis Vlasenko2007-03-241-1/+1
|
* fdisk: get rid of _() macro.Denis Vlasenko2007-03-191-120/+125
| | | | | | | | | Shorten some messages. Stop using stderr - anyone who tries to use fdisk no-interactively is "strange" anyway. Improve storage handling in bsd module. text data bss dec hex filename 728112 1488 33788 763388 ba5fc busybox.t0/busybox 727248 1488 33372 762108 ba0fc busybox.t1/busybox
* clean up accumulated whitespace damageDenis Vlasenko2007-03-071-3/+3
|
* fdisk: remove 8k buffer from bss - OSF labelsDenis Vlasenko2007-01-031-24/+25
| | | | are not THAT common anyway
* convert calloc to xzallocDenis Vlasenko2007-01-031-1/+1
| | | | fix sleep-on-die option
* next bunch of fixes for bugs found by randconfigDenis Vlasenko2006-12-301-3/+3
|
* u_short, ulong exterminatedDenis Vlasenko2006-12-191-2/+2
| | | | fdiskXXX: add a bit of sanity (not enough by far)
* byteswap ops had extra mask ops - removedDenis Vlasenko2006-11-271-4/+2
|
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-181-2/+2
|
* fdisk: compilation fixDenis Vlasenko2006-10-141-1/+1
|
* fdisk: separate sun/aix/etc code into #included filesDenis Vlasenko2006-10-121-0/+887