summaryrefslogtreecommitdiffstats
path: root/sbin/i386
Commit message (Collapse)AuthorAgeFilesLines
* I didn't maintain the "chs" ordering. Rather the bug was in print_part().obrien2000-11-291-6/+6
| | | | Requested by: bde.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-203-5/+5
|
* Make the order of values prompted for with the "-i" option match print_part()obrien2000-11-181-2/+2
|
* Use Fx macro wherever possible.ru2000-11-143-12/+12
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-25/+20
|
* - When adjusting the end of a partition to lie on a cylinder boundary, don'tjhb2000-08-241-46/+94
| | | | | | | | | | | adjust the size, but the actual end. - Break out some of the sanity checks on partitions into a sanitize_partition function. - When adjusting partitions, always adjust the start "up", and the end "down" so that we stay within the boundaries of the original request. - Various small nits found by bde. Reported by: bde, imp, rgrimes
* 0xA0 = Suspend to disk.joe2000-08-071-0/+1
|
* Fix a really stupid bug where I assumed sizeof(int) == 2. This resulted injhb2000-07-211-1/+1
| | | | | | | MBR's with a 4th slice failing the signature check and fdisk saying that they are invalid. Submitted by: bde
* - Don't try to free mboot.bootinst before it has been allocated. If, forjhb2000-07-171-2/+2
| | | | | | | | | | some reason, mboot.bootinst is not initialized to NULL at the beginning of the program, then the last commit to this would try to free whatever bogus address is in it. - Restore the behavior of free()'ing the mboot.bootinst buffer after we abuse it to determine the sector size of the disk (as clearly noted in the comments). Properly fix the double free() bug by setting the pointer to NULL after we free it.
* Fix memory leak/double free found by phkmallocache2000-07-151-8/+10
| | | | Uniform mboot.bootinst allocation code to be independent of functions order
* - Always respect cylinder boundaries when creating slices unless the userjhb2000-07-121-17/+70
| | | | | | explicitly sets the geometry. - Allow for MBR boot loaders that are longer than one sector. Only accept boot loaders if their size is a multiple of the sector size, however.
* Catch the usage() function up to the command line changes. Add -I andjhb2000-06-271-1/+1
| | | | remove -e.
* 0x39 == plan9brian2000-06-121-0/+1
| | | | Obtained from: OpenBSD
* Add QNX 4 partitions to fdisk's list.ghelmer2000-06-091-1/+4
| | | | | | PR: bin/8809 Submitted by: "John C. Place" <jcplace@ibm.net> Prompted by: <nrahlstr@winternet.com>
* Don't try to open the /dev/rXXX device.msmith2000-05-311-1/+1
|
* Fix nits in previous commit: restore option ordering of the optionsheldonh2000-03-131-2/+5
| | | | | description list; break an overly long line; use the Fx macro instead of "FreeBSD".
* -e -> -I change.imp2000-03-102-9/+36
| | | | | | -s for sumary Approved by: jkh
* Don't use the old raw name for disk devices.obrien2000-03-091-1/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-11/+22
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Add ata(4) support.ru2000-02-111-1/+1
| | | | Approved by: jkh
* Move sbin/i386/{mount_msdos,comcontrol} back to sbin, they are notpeter2000-01-149-874/+1
| | | | | | i386 specific. Submitted by: bde
* Removed yet another vestige of the ft driver.bde2000-01-141-7/+0
|
* Add Latin2 conversion tableache2000-01-082-1/+59
| | | | Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
* Allow #-comments in conversion table fileache2000-01-084-19/+63
|
* Remove the ft program, the driver is long gone.phk1999-10-094-1103/+0
|
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-10-091-13/+11
| | | | | | | | | | | | | | | | | Made mount more userfriendly (bad slashes are now filtered out) and we remove in mount_nfs trailing slashes if there are any. Fixed mount_xxx binarys to resolve with realpath(3) the mountpoint. Translate the deprecated nfs-syntax with '@' to ':' . The ':' syntax has now precedence, but '@' still works. Notify the user that the '@' syntax should not be used. PR: 7846 PR: 13692 Submitted by: Martin Blapp <mb@imp.ch> Reviewed by: phk
* Stuff a variable declaration inside a #if block that is only used for thatbillf1999-09-251-0/+2
| | | | #if.
* Remove declaration of getenv(), we get that from stdlib.h already.billf1999-09-251-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-2818-18/+18
|
* Add -e option to usage().dwhite1999-08-251-2/+2
|
* Add new option to fdisk: -ephk1999-08-232-13/+40
| | | | | | | This wipes the MBR and creates slice 1 as a FreeBSD slice covering the disk starting from the second track to the cylinder aligned end of the disk. This is the most compatibly layout we have as far as I know.
* Drop the embedded boot code in favour of a -B option which readsrnordier1999-06-273-142/+100
| | | | | | the boot code from /boot/mbr, or elsewhere as defined by the revised "-b bootcode" option; use getopt(3); clarify usage(); partially revise man page; etc.
* This lets you specify "gemdosfs", "shortnames", "longnames", andjkh1999-06-182-4/+21
| | | | | | | | | | | | | "nowin95" as arguments to the "-o" flag, as alternatives to "-G", "-s", "-l", and "-9"; when running "mount_msdos" by hand, that doesn't let you do anything you couldn't already do, but if you're letting "mount" run it, it lets you specify those options, which is especially useful if, for example, you have an entry in "/etc/fstab" for some file system, with "noauto" set, so you can conveniently mount a DOS partition from a removable drive and force it to treat the file system as VFAT rather than boring old FAT. Submitted by: Guy Harris <guy@netapp.com>
* Note that a standard MBR supports booting only from hard drive 0rnordier1999-03-131-1/+4
|
* Note that nextboot requires the legacy boot code.rnordier1999-02-051-1/+3
|
* Add a -b option as a simple way to rewrite the mbr codernordier1999-01-222-4/+27
| | | | (eg. replacing a boot manager with a standard mbr)
* Update to match rev. 1.28 of msdosfs_lookup.c.dt1999-01-111-11/+2
|
* sd0 -> da0joerg1998-11-262-4/+4
|
* Add an entry for the new NetBSD partition id.alex1998-11-061-1/+2
|
* Add an entry for BSD/OS [23].x partition types.jkoshy1998-11-061-1/+2
| | | | | | | | | I don't have access to a BSD/OS machine to check the veracity of the magic number. However, no harm will be done by the commit and since someone was motivated enough to file a PR, I'm committing the change. PR: 7629 Submitted by: Jos Backus <jbackus@plex.nl>
* Linux swap and Solaris x86 use the same BIOS partition id.obrien1998-09-161-2/+2
|
* Split lines into one subdir per line.gpalmer1998-08-301-2/+6
|
* Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unusedcharnier1998-07-062-119/+109
| | | | #includes. Spelling. Use err(3) and add usage().
* Add rcsid. Remove unused #includes. Use err(3) and check spelling. Reorganizecharnier1998-06-302-94/+79
| | | | man page.
* Split usage string.charnier1998-06-302-8/+14
|
* Document -r flag, document use of TAPE env variable. Add rcsid. Use err(3).charnier1998-06-303-49/+67
| | | | Remove unused vars (-Wall).
* Add SYNOPSIS section and change NULL to NUL in man page. Add rcsid, missingcharnier1998-06-302-74/+58
| | | | #includes. Use err(3).
* Add rcsid. Remove unused #includes. Use err(3).charnier1998-06-302-32/+34
|
* Fixed printf format errors.bde1998-06-281-8/+8
|
* Fixed printf format errors.bde1998-06-281-1/+1
|
OpenPOWER on IntegriCloud