Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Don't try to free mboot.bootinst before it has been allocated. If, for | jhb | 2000-07-17 | 1 | -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 phkmalloc | ache | 2000-07-15 | 1 | -8/+10 |
| | | | | Uniform mboot.bootinst allocation code to be independent of functions order | ||||
* | - Always respect cylinder boundaries when creating slices unless the user | jhb | 2000-07-12 | 1 | -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 and | jhb | 2000-06-27 | 1 | -1/+1 |
| | | | | remove -e. | ||||
* | 0x39 == plan9 | brian | 2000-06-12 | 1 | -0/+1 |
| | | | | Obtained from: OpenBSD | ||||
* | Add QNX 4 partitions to fdisk's list. | ghelmer | 2000-06-09 | 1 | -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. | msmith | 2000-05-31 | 1 | -1/+1 |
| | |||||
* | Fix nits in previous commit: restore option ordering of the option | sheldonh | 2000-03-13 | 1 | -2/+5 |
| | | | | | description list; break an overly long line; use the Fx macro instead of "FreeBSD". | ||||
* | -e -> -I change. | imp | 2000-03-10 | 2 | -9/+36 |
| | | | | | | -s for sumary Approved by: jkh | ||||
* | Don't use the old raw name for disk devices. | obrien | 2000-03-09 | 1 | -1/+1 |
| | |||||
* | Remove single-space hard sentence breaks. These degrade the quality | sheldonh | 2000-03-01 | 1 | -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. | ru | 2000-02-11 | 1 | -1/+1 |
| | | | | Approved by: jkh | ||||
* | Move sbin/i386/{mount_msdos,comcontrol} back to sbin, they are not | peter | 2000-01-14 | 9 | -874/+1 |
| | | | | | | i386 specific. Submitted by: bde | ||||
* | Removed yet another vestige of the ft driver. | bde | 2000-01-14 | 1 | -7/+0 |
| | |||||
* | Add Latin2 conversion table | ache | 2000-01-08 | 2 | -1/+59 |
| | | | | Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz> | ||||
* | Allow #-comments in conversion table file | ache | 2000-01-08 | 4 | -19/+63 |
| | |||||
* | Remove the ft program, the driver is long gone. | phk | 1999-10-09 | 4 | -1103/+0 |
| | |||||
* | mount* fixes from Martin Blapp <mb@imp.ch>: | phk | 1999-10-09 | 1 | -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 that | billf | 1999-09-25 | 1 | -0/+2 |
| | | | | #if. | ||||
* | Remove declaration of getenv(), we get that from stdlib.h already. | billf | 1999-09-25 | 1 | -1/+1 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 18 | -18/+18 |
| | |||||
* | Add -e option to usage(). | dwhite | 1999-08-25 | 1 | -2/+2 |
| | |||||
* | Add new option to fdisk: -e | phk | 1999-08-23 | 2 | -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 reads | rnordier | 1999-06-27 | 3 | -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", and | jkh | 1999-06-18 | 2 | -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 0 | rnordier | 1999-03-13 | 1 | -1/+4 |
| | |||||
* | Note that nextboot requires the legacy boot code. | rnordier | 1999-02-05 | 1 | -1/+3 |
| | |||||
* | Add a -b option as a simple way to rewrite the mbr code | rnordier | 1999-01-22 | 2 | -4/+27 |
| | | | | (eg. replacing a boot manager with a standard mbr) | ||||
* | Update to match rev. 1.28 of msdosfs_lookup.c. | dt | 1999-01-11 | 1 | -11/+2 |
| | |||||
* | sd0 -> da0 | joerg | 1998-11-26 | 2 | -4/+4 |
| | |||||
* | Add an entry for the new NetBSD partition id. | alex | 1998-11-06 | 1 | -1/+2 |
| | |||||
* | Add an entry for BSD/OS [23].x partition types. | jkoshy | 1998-11-06 | 1 | -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. | obrien | 1998-09-16 | 1 | -2/+2 |
| | |||||
* | Split lines into one subdir per line. | gpalmer | 1998-08-30 | 1 | -2/+6 |
| | |||||
* | Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unused | charnier | 1998-07-06 | 2 | -119/+109 |
| | | | | #includes. Spelling. Use err(3) and add usage(). | ||||
* | Add rcsid. Remove unused #includes. Use err(3) and check spelling. Reorganize | charnier | 1998-06-30 | 2 | -94/+79 |
| | | | | man page. | ||||
* | Split usage string. | charnier | 1998-06-30 | 2 | -8/+14 |
| | |||||
* | Document -r flag, document use of TAPE env variable. Add rcsid. Use err(3). | charnier | 1998-06-30 | 3 | -49/+67 |
| | | | | Remove unused vars (-Wall). | ||||
* | Add SYNOPSIS section and change NULL to NUL in man page. Add rcsid, missing | charnier | 1998-06-30 | 2 | -74/+58 |
| | | | | #includes. Use err(3). | ||||
* | Add rcsid. Remove unused #includes. Use err(3). | charnier | 1998-06-30 | 2 | -32/+34 |
| | |||||
* | Fixed printf format errors. | bde | 1998-06-28 | 1 | -8/+8 |
| | |||||
* | Fixed printf format errors. | bde | 1998-06-28 | 1 | -1/+1 |
| | |||||
* | Fix a spelling error. | steve | 1998-06-04 | 1 | -1/+1 |
| | | | | | PR: 6857 Submitted by: Josh Gilliam <josh@quick.net> | ||||
* | Fix typo in prompt. | jraynard | 1998-05-20 | 1 | -1/+1 |
| | |||||
* | Add NTFS partition type. | obrien | 1998-03-29 | 1 | -8/+16 |
| | | | | | | | Add "." at the end of some sentances. Also print "flag 80" in English. Give hint that "sysid" for FreeBSD is 165 decimal. Ensure active partition specified by user is 1-4. | ||||
* | Use .An/.Aq. | charnier | 1998-03-19 | 2 | -5/+5 |
| | |||||
* | Add more DOS/Win95 partition types | ache | 1998-03-14 | 1 | -2/+5 |
| | |||||
* | Oops, merge back 32bit fat description from -stable. | ache | 1998-03-07 | 1 | -1/+1 |
| | | | | It was added to -stable but not to -current, strange. | ||||
* | Add primary fat-32 | ache | 1998-03-07 | 1 | -0/+1 |
| | |||||
* | Add more info about special characters in dos2unix/unix2dos tables | ache | 1998-03-01 | 1 | -3/+11 |
| |