Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-04-27 | Remove unneeded #include's, as already done for disklabel. CPU_BIOS | Kenneth R Westerback | |
fallout. | |||
2007-04-26 | lint says: fdisk.c:160: warning: operator '==' found where '=' was expected | Theo de Raadt | |
yet gcc happily ate it... see, lint is useful | |||
2007-04-26 | Eliminate CPU_BIOS from userland and wd(4) by always using the BIOS | Kenneth R Westerback | |
geometry in the disklabel when there is a BIOS geometry to provide. This removes the option to set a disklabel to 'BIOS' geometry via the 'g b' command in the editor. Makes reported geometry more consistant and moves MD code to MD land where it should be. Doc help from jmc@, Feedback from millert@, marco@, weingart@, kettenis@. ok deraadt@ | |||
2007-04-04 | Thinkpad -> ThinkPad; from Igor Sobrado | Jason McIntyre | |
ok millert jasper mbalmer | |||
2007-01-12 | make the description match synopsis for -chs; | Jason McIntyre | |
discussed with nick | |||
2007-01-11 | avoid an ugly grammar construction; | Jason McIntyre | |
2007-01-11 | make the description of -e point to the COMMAND MODE section; | Jason McIntyre | |
2007-01-11 | Move options into DESCRIPTION section. This conforms with most | Ray Lai | |
other man pages, where the options are near the top of the page for easy access. OK jmc@. | |||
2006-12-10 | Read/write device sectors rather than assuming sector size == | Kenneth R Westerback | |
DEV_BSIZE. Simply extract/insert the desired MBR from/into the first DEV_BSIZE bytes of the sector. Makes fdisk work with devices having a sector size different from DEV_BSIZE (512 bytes). e.g. 2048 byte sector MP3 devices. Original diff from weingart@. ok pedro@ deraadt@ weingart@ | |||
2006-11-19 | Try DIOCGPDINFO before DIOCGDINFO when trying to determine the 'label' | Kenneth R Westerback | |
geometry for a unit. DIOCGPDINFO avoids using the on-disk label or the cached copy of it and returns a 'spoofed' label that retains the geometry info placed in the label by the driver. Unfortunately DIOCGPDINFO is not universally implemented, though sd and wd do. This is what disklabel(8) does when it wants geometry so this makes fdisk a bit more consistant with disklabel. This fixes 'fdisk -i' and 'reinit' when trying to install from a miniroot on, e.g., landisk. i.e. no need to zero out the disklabel before doing 'fdisk -i'. 'get it in snaps' deraadt@ | |||
2006-11-09 | desireable -> desirable; | Jason McIntyre | |
2006-11-09 | oops | Theo de Raadt | |
2006-11-08 | sh machines also have a /usr/mdec/mbr | Theo de Raadt | |
2006-11-08 | add a -y flag, for non-interactive use | Theo de Raadt | |
2006-10-24 | Check strlen(buf) to be > 0 before accessing buf[strlen(buf)-1]. | Moritz Jodeit | |
OK ray@ cloder@ | |||
2006-10-20 | OpenBSD no longer supports using an older FreeBSD MBR partition. | David Hill | |
ok krw@ | |||
2006-10-15 | build fdisk on landisk | Dale Rahn | |
2006-08-05 | Mention that `b', `k', `m', and `g' can be specified after the print | Ray Lai | |
command to print partition sizes in units of bytes, kilobytes, megabytes, and gigabytes. Inspired by patch from Hiren Patel <hiren at obsidian dot co dot za>. OK jmc@ and otto@ | |||
2006-07-27 | Change some obvious atoi() to strtonum(). | Ray Lai | |
OK tedu@ | |||
2006-07-27 | Add checks to each write(2) attempt and try to keep fdisk in a | Ray Lai | |
consistent state upon write failure. OK krw@ and deraadt@. | |||
2006-07-18 | Fix a typo, paritition -> partition. | Marc Balmer | |
From Alexey Dobriyan <adobriyan@gmail.com>, thanks. | |||
2006-07-09 | Do not try and read /usr/mdec/mbr in ``fdisk -e'' unless the architecture | Miod Vallat | |
really provides it. | |||
2006-07-09 | Add armish to MANSUBDIR | Miod Vallat | |
2006-06-09 | EFI partition types; didickman@yahoo.com | Theo de Raadt | |
2006-06-06 | System build pieces for armish arch. | Dale Rahn | |
2006-05-29 | Change MBR_read() and MBR_write() to return -1 on error and set | Ray Lai | |
errno = EIO for short reads. This makes it easier to check for read and write errors. Much patient tutoring by weingart@, deraadt@, and cloder@. Correctly use ssize_t to store read(2) and write(2) return values. No functional change, since MBR_read() and MBR_write() return values aren't currently checked. OK deraadt@ | |||
2006-04-26 | man page is gzip'd, should store as unsigned char array. | Theo de Raadt | |
2005-12-18 | Fix condition so "BIOS fixup botch" can, unlikely as it is, be | Kenneth R Westerback | |
detected. Found by lint. ok millert@ | |||
2005-11-21 | Replace default DEV_BSIZE sector conversion factor with disklabel's | Kenneth R Westerback | |
sector size when possible. Fixes the "[ XX Sectors ]" size display. Pointed out by Robert Szasz while playing with his Sony Hi-MD device. Apply input conversion fixes similar to those recently applied to disklabel(8). Use correct sector size in the conversions. It is still *not* possible to use unusual sector sizes for non-ISO9660 filesystems! ok millert@ | |||
2005-05-01 | - better synopsis | Jason McIntyre | |
- sync usage() - add fstab(5) to SEE ALSO - NOTES -> CAVEATS and improve bits ok deraadt@ improvements and ok tom@ | |||
2005-04-30 | correctly use whole disk, pointed out by toby | Theo de Raadt | |
2005-04-30 | various fixes; | Jason McIntyre | |
2005-04-30 | match disklabel change | Theo de Raadt | |
2005-04-30 | make this useable to people busy installing | Theo de Raadt | |
2005-03-29 | Allow setting of partition flag with an optional explicit value. PR 4143. | Otto Moerbeek | |
ok weingart@ deraadr@ | |||
2005-02-16 | Prevent gzip from storing mtime and filename in the header so we | Todd C. Miller | |
get identical binaries. | |||
2005-01-19 | add a swap primitive; ok various, will be polished after by tom | Theo de Raadt | |
2005-01-13 | be aware of zaurus | Theo de Raadt | |
2004-11-10 | 0xBF is new Solaris ID; lclee@west.sun.com | Theo de Raadt | |
2004-11-06 | gzip embedded man pages, and pipe through gunzip when viewing. | Otto Moerbeek | |
ok deraadt@ | |||
2004-09-30 | remove stray const, noted by david@ | Otto Moerbeek | |
2004-09-18 | some delinting; ok otto | Theo de Raadt | |
2004-08-03 | spacing | Theo de Raadt | |
2004-08-03 | Handle geometry parameters as unsigned quantities, getting rid of negative | Otto Moerbeek | |
number of sectors on large disks and other similar problems. ok toby@ tom@ deraadt@ | |||
2004-07-13 | Remove unused argument 'int pn' to PRT_fix_CHS(). The 'int pn' | Tom Cosgrove | |
argument to PRT_parse() then becomes unused, so remove that too. ok henning@, otto@ | |||
2004-07-11 | Just use err(1, NULL) following malloc() failures, per err(3). | Tom Cosgrove | |
ok otto@ | |||
2004-07-10 | The long descriptions of partition types are not used by the code, so | Tom Cosgrove | |
have them as comments rather than data. Reduces the size of the executable by over 2 KB. Also s/Netware/NetWare/. ok tedu@ deraadt@ | |||
2004-06-26 | new sentence, new line; | Jason McIntyre | |
2004-06-22 | Make the interactive "update" command match the command-line "-u" | Tom Cosgrove | |
option by updatng/setting the 0xAA55 signature at the end of the sector. ok nick@ weingart@ | |||
2004-05-03 | Remove OpenBSD/pegaos, this has been announced before but delayed until | Dale Rahn | |
the tree was stable. No point in code supporting a company which screws its employees being in the OpenBSD tree. |