aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk.c
AgeCommit message (Collapse)Author
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