aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* style fix (stray space before ';')Denis Vlasenko2007-07-211-2/+2
|
* xioctl and friends by Tito <farmatito@tiscali.it>Denis Vlasenko2007-07-141-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta do_iptunnel 203 977 +774 process_dev 5328 5494 +166 ioctl_or_perror - 54 +54 ioctl_or_perror_and_die - 51 +51 ioctl_alt_func - 49 +49 bb_ioctl_or_warn - 47 +47 do_add_ioctl 102 145 +43 bb_xioctl - 39 +39 print_value_on_off - 31 +31 get_lcm 105 123 +18 arp_main 2155 2167 +12 .................. zcip_main 1576 1566 -10 setlogcons_main 92 82 -10 dumpkmap_main 263 253 -10 do_get_ioctl 85 75 -10 setkeycodes_main 165 154 -11 write_table 244 232 -12 vconfig_main 318 306 -12 do_del_ioctl 93 81 -12 set_address 75 62 -13 maybe_set_utc 30 16 -14 loadfont_main 495 479 -16 slattach_main 712 695 -17 do_loadfont 191 174 -17 do_iplink 1155 1136 -19 getty_main 2583 2562 -21 fbset_main 2058 2035 -23 do_time 588 565 -23 xioctl 25 - -25 read_rtc 186 160 -26 parse_conf 1299 1270 -29 udhcp_read_interface 269 239 -30 bb_ioctl 45 - -45 bb_ioctl_alt 70 - -70 bb_ioctl_on_off 78 - -78 .rodata 129370 129018 -352 do_show 799 - -799 ------------------------------------------------------------------------------ (add/remove: 6/5 grow/shrink: 13/49 up/down: 1316/-1864) Total: -548 bytes text data bss dec hex filename 675352 2740 13968 692060 a8f5c busybox_old 674804 2740 13968 691512 a8d38 busybox_unstripped
* Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Denis Vlasenko2007-06-251-2/+0
| | | | <wharms@bfs.de>)
* diff: shrink code (-85 bytes):Denis Vlasenko2007-06-121-3/+3
| | | | | | | | | | | | function old new delta fiddle_sum 8 - -8 diffreg 2717 2690 -27 prepare 334 284 -50 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-85) Total: -85 bytes s/ATTRIBUTE_ALWAYS_INLINE/ALWAYS_INLINE/g
* fdisk: make it work with big disks (read: typical today's disks)Denis Vlasenko2007-06-021-83/+58
| | | | even if CONFIG_LFS is unset.
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* assorted fixes uncovered by randomconfig runsDenis Vlasenko2007-03-221-0/+2
|
* fdisk: bb_common_bufsiz1 is too small for globals on 64-bit CPUDenis Vlasenko2007-03-191-175/+177
|
* fdisk: get rid of _() macro.Denis Vlasenko2007-03-191-466/+442
| | | | | | | | | 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
* fdisk: move 2k ptes[] array into bb_common_bufsiz1Denis Vlasenko2007-03-181-25/+32
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #3Denis Vlasenko2007-01-291-2/+2
|
* Convert cmdedit into more generic line input facilityDenis Vlasenko2007-01-221-160/+149
| | | | | | (make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here.
* fdisk: remove 8k buffer from bss - OSF labelsDenis Vlasenko2007-01-031-4/+4
| | | | are not THAT common anyway
* next bunch of fixes for bugs found by randconfigDenis Vlasenko2006-12-301-14/+16
|
* done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko2006-12-301-1/+1
| | | | these are resulting fixes
* remove casts from xmalloc()Denis Vlasenko2006-12-191-1/+1
|
* u_short, ulong exterminatedDenis Vlasenko2006-12-191-36/+32
| | | | fdiskXXX: add a bit of sanity (not enough by far)
* s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko2006-12-161-3/+3
| | | | xstrtou: disallow leading '+'
* cut 0.5k off mkfs.minixDenis Vlasenko2006-11-291-3/+6
| | | | assorted strtoul fixes (that's what brought me into minix)...
* getopt32-ification of fdiskDenis Vlasenko2006-11-291-185/+165
|
* byteswap ops had extra mask ops - removedDenis Vlasenko2006-11-271-7/+7
|
* header_verbose_list: stop truncating file size in listingDenis Vlasenko2006-11-241-1/+1
|
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-181-4/+4
|
* ls: cleanup part 1Denis Vlasenko2006-10-281-1/+1
|
* OFF_T_FMT -> OFF_FMTDenis Vlasenko2006-10-271-1/+1
|
* top: batch mode should output all processesDenis Vlasenko2006-10-271-1/+1
|
* last nail into error_msg() (de)capitalizationDenis Vlasenko2006-10-271-1/+1
|
* rename functions to more understandable namesDenis Vlasenko2006-10-261-1/+1
|
* silly size savings and capitalization fixesDenis Vlasenko2006-10-261-5/+5
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* fdisk: compilation fixDenis Vlasenko2006-10-141-35/+47
|
* fdisk: separate sun/aix/etc code into #included filesDenis Vlasenko2006-10-121-3144/+264
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-7/+6
|
* lots of silly indent fixesDenis Vlasenko2006-10-031-3/+1
|
* whitespace cleanupDenis Vlasenko2006-09-171-15/+15
|
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-3/+3
| | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
* Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley2006-08-031-2/+2
| | | | | were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack.
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* Remove "#if 0" content."Robert P. J. Day"2006-07-011-28/+0
|
* fix from Kolbjørn Barmen for building for m68k targetsMike Frysinger2006-06-301-1/+1
|
* Various cleanups I made while going through Erik Hovland's patch submissions,Rob Landley2006-06-251-1/+1
| | | | some of which are even from him. :)
* Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot ofRob Landley2006-06-151-5/+0
| | | | | | fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.)
* Random cleanup of platform.h.Rob Landley2006-06-131-6/+0
|
* Remove _() and N_() from platform.h. #define them as NOP macros in the twoRob Landley2006-05-291-0/+2
| | | | | | files still using them. I didn't remove them from e2fsck.c to avoid stomping pending cleanup patches from Garrett, and I didn't bother to remove them from fdisk.c because that entire file needs to be rewritten from scratch.
* fix spelling mistakesMike Frysinger2006-05-261-6/+6
|
* Migrate endianness macros.Rob Landley2006-05-051-6/+2
|
* use memmove() instead of bcopy()Mike Frysinger2006-04-161-6/+6
|
* strip out unneeded commentsMike Frysinger2006-02-251-4/+1
|
* fdisk unmaintained now :("Vladimir N. Oleynik"2006-02-251-1/+6
|