summaryrefslogtreecommitdiff
path: root/sbin/fdisk/fdisk.c
AgeCommit message (Expand)Author
2022-04-02Avoid crashes with invalid or tiny sector sizes.mlelstv
2021-11-03fdisk(8): Convert realloc(x * y) to reallocarr. Eliminate temp variables.nia
2020-05-24Add -g to usage.wiz
2020-05-24Add -g flag to preserve GPT headers when updating MBR.jmcneill
2019-10-07print the name of the disk causing the error.christos
2018-11-14In validate_bootsel, the code assumed that arr[j][i] can be accessedmlelstv
2018-08-27Add missing -z flag to usage()sevan
2017-10-02Really don't include ioctl code for tools build.joerg
2015-11-22explain how to clear an entry (without reading the source)christos
2015-06-16a few more \n's in errorschristos
2015-06-16fix error messages containing \nchristos
2014-04-04remove debugging.christos
2014-04-03instead of using ugly -1's make args optionalchristos
2014-04-01default to something reasonable (like the interactive mode does) insteadchristos
2014-03-30Allow -1 values in the -s <sysid>/<start>/<size> indicate use the previouschristos
2014-03-10Always print the MBR drive serial number, even if it's 0.jakllsch
2013-04-14Improve support for logical sector sizes greater than 512.jakllsch
2013-02-13Don't produce spurious errors when creating labels on files.christos
2013-02-09CID/979997: missing va_end()christos
2012-06-05Use ${DESTDIR}/usr/mdec for DEFAULT_BOOTDIR on tools fdisk(8)tsutsui
2012-05-05Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionalstsutsui
2012-04-06support sector sizes > 512.christos
2012-03-15Add __printflike attribution to use vprintf and friends with an argumentjoerg
2011-12-02Also ignore out of space conditions for -I so we can create overlappingchristos
2011-12-02Add missing -F flag and -I flag in usage. Sort the order to matchenami
2011-12-02put the error check in the conditional where it belongs.christos
2011-12-01Add a flag to support writing overlapping partitions and explain why.christos
2011-08-28fix the sparc buildgson
2011-08-27one static is enough, otherwise you risk zapping yourself.christos
2011-08-27staticfy. __dead.joerg
2011-05-08Fix parsing of -A option so that the [/ptn_0_offset] part is optional, aspgoyette
2009-12-23Put #endif in correct place - fixes PR/42500dsl
2009-12-22Add support for partition being aligned on non-cylinder boundaries.dsl
2009-12-22Editing partitions larger than 1TB works better if 'decimal' returnsdsl
2009-12-20Add a large comment about disk geometries.dsl
2009-12-17Use implicit -F for regular files, much like disklabel(8).pooka
2009-11-04Allow MB, GB and CYL (not just M, G and C) and lower case.dsl
2009-10-31Make absence of /usr/mdec/mbr only a warning.dsl
2009-08-05Change arguments to decimal() to be int64_t.dsl
2009-06-02make this compile one non mbr machines (move #define to the general section)christos
2009-06-01Delete GPT partitions if we overwrite with MBR to avoid confusion with diskschristos
2009-04-20also fix a comment wrt use of the csysid/cstart/csize varsdrochner
2009-04-20When using -s flag, read start and size as unsigned to allow for largersborrill
2009-04-06fix sign-compare issueslukem
2009-01-18Remove local definitions of PRIxxxx macros in favour of theapb
2008-03-09mbr_dsn is unsigned, print it as such.tnn
2008-01-25Add support for mbr code with ascii keycodesdsl
2008-01-20- add a sanity check to avoid possible division by zerotsutsui
2007-12-23Track zero is not strictly reserved for the BIOS, that's just aapb
2007-12-23Report the first active partition.apb