aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk.c
AgeCommit message (Collapse)Author
2006-02-25Another clean-up patch from Garrett.Rob Landley
2006-02-25Minor cleanup from Garrett Kajmowicz.Rob Landley
2006-02-24Cleanup from Denis Vlasenko.Rob Landley
2006-02-23- put NLS stuff in one central place to avoid redefines.Bernhard Reutner-Fischer
Fixes warnings about: fdisk.c:45:1: warning: "_" redefined nfsmount.c:121:1: warning: "_" redefined nfsmount.c:122:1: warning: "N_" redefined interface.c:84:1: warning: "_" redefined
2006-01-31- bzero -> memsetBernhard Reutner-Fischer
text data bss dec hex filename 1652855 14444 1215616 2882915 2bfd63 busybox.oorig.gcc-3.3 1652823 14444 1215616 2882883 2bfd43 busybox.gcc-3.3 1603655 14412 1215552 2833619 2b3cd3 busybox.oorig.gcc-3.4 1603655 14412 1215552 2833619 2b3cd3 busybox.gcc-3.4 1609755 14508 1215744 2840007 2b55c7 busybox.oorig.gcc-4.0 1609755 14508 1215744 2840007 2b55c7 busybox.gcc-4.0 1590495 13516 1215392 2819403 2b054b busybox.oorig.gcc-4.1-HEAD 1590495 13516 1215392 2819403 2b054b busybox.gcc-4.1-HEAD 1589079 13036 1213248 2815363 2af583 busybox.oorig.gcc-4.2-HEAD 1589079 13036 1213248 2815363 2af583 busybox.gcc-4.2-HEAD
2006-01-31- add and use ATTRIBUTE_ALIGNED(num_bytes)Bernhard Reutner-Fischer
- remove unused parameter pindex from fdisk.c, xbsd_initlabel()
2006-01-30hopefully the last of the annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2005-12-02reduce signedness warning"Vladimir N. Oleynik"
2005-11-24reduce bss"Vladimir N. Oleynik"
2004-06-28Avoid a number of places where large drives could wrap a uint, andEric Andersen
instead use off_t which will be automagically promoted to 64bit if compiled with support for large drives. -Erik
2004-05-26Per suggestion from Bastian Blank, be less evil when we force fdisk toEric Andersen
transparently remap 32-bit interfaces to actually use 64 bit interfaces. -Erik
2004-05-19Erik,Eric Andersen
>http://busybox.net/cgi-bin/cvsweb/busybox/util-linux/fdisk.c?r1=1.22&r2=1.23&diff_format=u Its hack for "force" ;-) If to return the previous version of a Config.in http://busybox.net/cgi-bin/cvsweb/busybox/util-linux/Config.in?r1=1.12&r2=1.13 and to apply last patch, then I shall calm down. ;-) (OOPS, last patch have autocorrected from my editor begins spaces to tabs and removed spaces from empty lines too). --w vodz
2004-05-19Make vodz happy and make fdisk always use large file support ifEric Andersen
possible, even if LFS is not enabled for the rest of busybox. -Erik
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-03-30Sigh. what a mess.Eric Andersen
2004-03-30As waldi noticed, checks for the size of an off_t and castingEric Andersen
etc was also redundant and possibly buggy...
2004-03-30The fdisk llseek junk was redundant, since both uClibc and glibcEric Andersen
automatically promote lseek and friends to their 64 bit counterparts when CONFIG_LFS is enabled, since it enables __USE_FILE_OFFSET64
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-02-06Eliminate use of a kernel scsi header file.Eric Andersen
Prevent potentially misaligned accesses while indexing a pointer to the partition table, which would be a bad thing on i.e. arm.
2004-01-30s/u_int/uint/gEric Andersen
2003-12-19vodz noticed we need to cast things back to an unsigned longEric Andersen
or the syscall will not get the proper arguments.
2003-12-12Be certain we use a correct entity when performing theEric Andersen
BLKGETSIZE64 ioctl -- don't just assume 8,
2003-12-04Do not use the _syscall5 macro -- use syscall(2) insteadEric Andersen
2003-11-14Marc Kleine-Budde noticed a missing semicolonEric Andersen
2003-11-03Avoid conflicts with the 2.6 kernel headers, which defineEric Andersen
_IOR rather differently, thereby breaking the BLKGETSIZE64 ioctl. -Erik
2003-08-08Patch from Kent Robotti to being fdisk in sync with v2.12 final.Eric Andersen
2003-08-06Patch from vodz:Eric Andersen
I wrote: >>I think, fdisk have special ext2lseek special for: >>disk can have size > 4Gb, but all any partitions have < 4Gb and lseek64 >>not require. >>May be best create new configure option for set DOLFS for fdisk applet >>if global DOLFS unset? > Erik Andersen wrote: >Agreed. Using an extra configure option when ! DOLFS >would be a good idea. Ok. Patch attached.
2003-07-30last_patch100 from vidz updating fdisk to 2.12preEric Andersen
2003-07-14Remove all the llseek junk and just use regular old lseek. When DOLFS isEric Andersen
enabled, regular lseek is transparently promoted to lseek64 anyways, rendering the llseek stuff pointless. -Erik
2003-07-03Patch from Kent Robotti updating fdisk to version v2.11zEric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2003-01-04fdisk writable feature, allows compilation of a small fdisk that canGlenn L McGrath
only read partition table, by Vladimir N. Oleynik
2002-12-11Eliminate dependancy on kernel header files. Naughty naughty.Eric Andersen
Using linux kernel headers is a Bad Thing(tm) and should be punished.
2002-12-08Fix compile warning with OSFGlenn L McGrath
2002-11-26fdisk applet by Vladimir N. OleynikGlenn L McGrath