aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanup from Denis Vlasenko.Rob Landley2006-02-241-1904/+2013
|
* - put NLS stuff in one central place to avoid redefines.Bernhard Reutner-Fischer2006-02-231-2/+0
| | | | | | | | 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
* - bzero -> memsetBernhard Reutner-Fischer2006-01-311-2/+2
| | | | | | | | | | | | | | | 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
* - add and use ATTRIBUTE_ALIGNED(num_bytes)Bernhard Reutner-Fischer2006-01-311-6/+5
| | | | - remove unused parameter pindex from fdisk.c, xbsd_initlabel()
* hopefully the last of the annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-11/+11
|
* - add platform.h.Bernhard Reutner-Fischer2006-01-221-6/+3
| | | | - use shorter boilerplate while at it.
* reduce signedness warning"Vladimir N. Oleynik"2005-12-021-7/+9
|
* reduce bss"Vladimir N. Oleynik"2005-11-241-1/+5
|
* Avoid a number of places where large drives could wrap a uint, andEric Andersen2004-06-281-33/+33
| | | | | | instead use off_t which will be automagically promoted to 64bit if compiled with support for large drives. -Erik
* Per suggestion from Bastian Blank, be less evil when we force fdisk toEric Andersen2004-05-261-9/+0
| | | | | transparently remap 32-bit interfaces to actually use 64 bit interfaces. -Erik
* Erik,Eric Andersen2004-05-191-8/+10
| | | | | | | | | | | | | | | | | | >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
* Make vodz happy and make fdisk always use large file support ifEric Andersen2004-05-191-0/+8
| | | | | possible, even if LFS is not enabled for the rest of busybox. -Erik
* Larry Doolittle writes:Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Sigh. what a mess.Eric Andersen2004-03-301-2/+1
|
* As waldi noticed, checks for the size of an off_t and castingEric Andersen2004-03-301-13/+6
| | | | etc was also redundant and possibly buggy...
* The fdisk llseek junk was redundant, since both uClibc and glibcEric Andersen2004-03-301-72/+7
| | | | | automatically promote lseek and friends to their 64 bit counterparts when CONFIG_LFS is enabled, since it enables __USE_FILE_OFFSET64
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+2
|
* Eliminate use of a kernel scsi header file.Eric Andersen2004-02-061-6/+5
| | | | | Prevent potentially misaligned accesses while indexing a pointer to the partition table, which would be a bad thing on i.e. arm.
* s/u_int/uint/gEric Andersen2004-01-301-4/+4
|
* vodz noticed we need to cast things back to an unsigned longEric Andersen2003-12-191-2/+2
| | | | or the syscall will not get the proper arguments.
* Be certain we use a correct entity when performing theEric Andersen2003-12-121-1/+1
| | | | BLKGETSIZE64 ioctl -- don't just assume 8,
* Do not use the _syscall5 macro -- use syscall(2) insteadEric Andersen2003-12-041-11/+3
|
* Marc Kleine-Budde noticed a missing semicolonEric Andersen2003-11-141-1/+1
|
* Avoid conflicts with the 2.6 kernel headers, which defineEric Andersen2003-11-031-0/+5
| | | | | | _IOR rather differently, thereby breaking the BLKGETSIZE64 ioctl. -Erik
* Patch from Kent Robotti to being fdisk in sync with v2.12 final.Eric Andersen2003-08-081-6/+10
|
* Patch from vodz:Eric Andersen2003-08-061-10/+86
| | | | | | | | | | | | | | | | | | 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.
* last_patch100 from vidz updating fdisk to 2.12preEric Andersen2003-07-301-317/+330
|
* Remove all the llseek junk and just use regular old lseek. When DOLFS isEric Andersen2003-07-141-110/+6
| | | | | | enabled, regular lseek is transparently promoted to lseek64 anyways, rendering the llseek stuff pointless. -Erik
* Patch from Kent Robotti updating fdisk to version v2.11zEric Andersen2003-07-031-38/+48
|
* Major coreutils update.Manuel Novoa III2003-03-191-5/+5
|
* fdisk writable feature, allows compilation of a small fdisk that canGlenn L McGrath2003-01-041-181/+241
| | | | only read partition table, by Vladimir N. Oleynik
* Eliminate dependancy on kernel header files. Naughty naughty.Eric Andersen2002-12-111-56/+54
| | | | | Using linux kernel headers is a Bad Thing(tm) and should be punished.
* Fix compile warning with OSFGlenn L McGrath2002-12-081-1/+1
|
* fdisk applet by Vladimir N. OleynikGlenn L McGrath2002-11-261-0/+5899