History log of /freebsd/sbin/fdisk/fdisk.c (Results 101 – 125 of 240)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a12de062 17-Jul-2000 John Baldwin <jhb@FreeBSD.org>

- Don't try to free mboot.bootinst before it has been allocated. If, for
some reason, mboot.bootinst is not initialized to NULL at the beginning
of the program, then the last commit to this woul

- Don't try to free mboot.bootinst before it has been allocated. If, for
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.

show more ...


# 2b5ce8a9 15-Jul-2000 Andrey A. Chernov <ache@FreeBSD.org>

Fix memory leak/double free found by phkmalloc
Uniform mboot.bootinst allocation code to be independent of functions order


# 85c2cf30 12-Jul-2000 John Baldwin <jhb@FreeBSD.org>

- Always respect cylinder boundaries when creating slices unless the user
explicitly sets the geometry.
- Allow for MBR boot loaders that are longer than one sector. Only accept
boot loaders if

- Always respect cylinder boundaries when creating slices unless the user
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.

show more ...


# ed1235ad 27-Jun-2000 John Baldwin <jhb@FreeBSD.org>

Catch the usage() function up to the command line changes. Add -I and
remove -e.


Revision tags: release/3.5.0_cvs
# 35bfe0c3 12-Jun-2000 Brian Somers <brian@FreeBSD.org>

0x39 == plan9

Obtained from: OpenBSD


# 691e5f80 09-Jun-2000 Guy Helmer <ghelmer@FreeBSD.org>

Add QNX 4 partitions to fdisk's list.

PR: bin/8809
Submitted by: "John C. Place" <jcplace@ibm.net>
Prompted by: <nrahlstr@winternet.com>


# 149938cc 31-May-2000 Mike Smith <msmith@FreeBSD.org>

Don't try to open the /dev/rXXX device.


Revision tags: release/4.0.0_cvs
# 10b0ee93 10-Mar-2000 Warner Losh <imp@FreeBSD.org>

-e -> -I change.
-s for sumary

Approved by: jkh


# dc6bbfb6 09-Mar-2000 David E. O'Brien <obrien@FreeBSD.org>

Don't use the old raw name for disk devices.


# cb840fc7 11-Feb-2000 Ruslan Ermilov <ru@FreeBSD.org>

Add ata(4) support.

Approved by: jkh


Revision tags: release/3.4.0_cvs
# cefdc4ef 25-Sep-1999 Bill Fumerola <billf@FreeBSD.org>

Stuff a variable declaration inside a #if block that is only used for that
#if.


Revision tags: release/3.3.0_cvs
# 7f3dea24 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# f10f160d 25-Aug-1999 Doug White <dwhite@FreeBSD.org>

Add -e option to usage().


# e6fb3dde 23-Aug-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Add new option to fdisk: -e

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 comp

Add new option to fdisk: -e

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.

show more ...


# 26721a89 27-Jun-1999 Robert Nordier <rnordier@FreeBSD.org>

Drop the embedded boot code in favour of a -B option which reads
the boot code from /boot/mbr, or elsewhere as defined by the revised
"-b bootcode" option; use getopt(3); clarify usage(); partially
r

Drop the embedded boot code in favour of a -B option which reads
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.

show more ...


Revision tags: release/3.2.0, release/3.1.0
# 12d910e9 22-Jan-1999 Robert Nordier <rnordier@FreeBSD.org>

Add a -b option as a simple way to rewrite the mbr code
(eg. replacing a boot manager with a standard mbr)


Revision tags: release/3.0.0, release/2.2.8
# 698b4def 26-Nov-1998 Joerg Wunsch <joerg@FreeBSD.org>

sd0 -> da0


# ef80de33 06-Nov-1998 Alexander Langer <alex@FreeBSD.org>

Add an entry for the new NetBSD partition id.


# d1b7313f 06-Nov-1998 Joseph Koshy <jkoshy@FreeBSD.org>

Add an entry for BSD/OS [23].x partition types.

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

Add an entry for BSD/OS [23].x partition types.

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>

show more ...


# 63ab6f1c 16-Sep-1998 David E. O'Brien <obrien@FreeBSD.org>

Linux swap and Solaris x86 use the same BIOS partition id.


Revision tags: release/2.2.7
# d98b1668 06-Jul-1998 Philippe Charnier <charnier@FreeBSD.org>

Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unused
#includes. Spelling. Use err(3) and add usage().


# ba198492 28-Jun-1998 Bruce Evans <bde@FreeBSD.org>

Fixed printf format errors.


# 4b3b45a7 21-May-1998 James Raynard <jraynard@FreeBSD.org>

Fix typo in prompt.


# 680426be 30-Mar-1998 David E. O'Brien <obrien@FreeBSD.org>

Add NTFS partition type.
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.


Revision tags: release/2.2.6
# 26555b64 14-Mar-1998 Andrey A. Chernov <ache@FreeBSD.org>

Add more DOS/Win95 partition types


12345678910