History log of /freebsd/sbin/fdisk/fdisk.c (Results 126 – 150 of 240)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8a9f6ff8 07-Mar-1998 Andrey A. Chernov <ache@FreeBSD.org>

Oops, merge back 32bit fat description from -stable.
It was added to -stable but not to -current, strange.


# 56b19102 07-Mar-1998 Andrey A. Chernov <ache@FreeBSD.org>

Add primary fat-32


Revision tags: release/2.2.5_cvs
# 4ddd60b9 03-Jun-1997 Brian Somers <brian@FreeBSD.org>

Number partitions 1-4, not 0-3.

Any existing config files (using the -f option) will need
to be changed although using the old files will usually result
in an error (partition 0 is invalid).


# 637fe2f7 02-Jun-1997 Justin T. Gibbs <gibbs@FreeBSD.org>

Don't overflow when calculating the size in MB of a partition.

No more 241MB 4+ gig partitions for me!


Revision tags: release/2.2.2_cvs
# e37a137d 02-May-1997 Warner Losh <imp@FreeBSD.org>

OpenBSD uses ID 0xa6 for its partitions on i386, arc and others that need
a BIOS-like partition table. We now detect this correctly and print the
right thing.
Obtained from: Value obtained from Open

OpenBSD uses ID 0xa6 for its partitions on i386, arc and others that need
a BIOS-like partition table. We now detect this correctly and print the
right thing.
Obtained from: Value obtained from OpenBSD sources.

show more ...


Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1
# 7cb29d33 01-Dec-1996 Søren Schmidt <sos@FreeBSD.org>

This update adds the support for != 512 byte sector SCSI devices to
the sd & od drivers. There is also slight changes to fdisk & newfs
in order to comply with different sectorsizes.
Currently sectors

This update adds the support for != 512 byte sector SCSI devices to
the sd & od drivers. There is also slight changes to fdisk & newfs
in order to comply with different sectorsizes.
Currently sectors of size 512, 1024 & 2048 are supported, the only
restriction beeing in fdisk, which hunts for the sectorsize of
the device.
This is based on patches to od.c and the other system files by
John Gumb & Barry Scott, minor changes and the sd.c patches by
me.
There also exist some patches for the msdos filesys code, but I
havn't been able to test those (yet).

John Gumb (john@talisker.demon.co.uk)
Barry Scott (barry@scottb.demon.co.uk)

show more ...


# f46af505 06-Nov-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Allow fdisk to be driven from a configuration file, making a 3rd-party
utility for front-ending its operation more of a possibility.

2.2-RELEASE candiate. Closes PR#1960
Submitted-By: Darryl Okahat

Allow fdisk to be driven from a configuration file, making a 3rd-party
utility for front-ending its operation more of a possibility.

2.2-RELEASE candiate. Closes PR#1960
Submitted-By: Darryl Okahata <darrylo@hpnmhjw.sr.hp.com>

show more ...


# e2975440 13-Oct-1996 Bruce Evans <bde@FreeBSD.org>

The dos() function needs a new second argument, containing the size
of the partition. Only if the size is 0 should the
special handling of 0 as first argument be triggered.

[This bug caused offset 0

The dos() function needs a new second argument, containing the size
of the partition. Only if the size is 0 should the
special handling of 0 as first argument be triggered.

[This bug caused offset 0 to give C/H/S = 0/0/0 instead of 0/0/1.]

The init_sector0 function needs to decrease the first argument
to the second call to dos() by one to be consistent with the
calls to dos() in change_part().

[This bug caused fdisk -i to create bogus partition tables with
the ending C/H/S value 1 too high. This usually gives S = 1
instead of S = maximum, so the geometry guessing in the slice
code and perhaps in SCSI BIOSes was defeated.]

Submitted by: Tor Egge <tegge@itea.ntnu.no>

show more ...


Revision tags: release/2.1.5_cvs
# 4be1e61b 21-Jun-1996 Alexander Langer <alex@FreeBSD.org>

Code clean up. Prototypes, parentheses around assignments used in
if statements, #if 0 some unused code, use off_t in calls to read/
write_disk, fix a printf format, remove unused variables, and
#in

Code clean up. Prototypes, parentheses around assignments used in
if statements, #if 0 some unused code, use off_t in calls to read/
write_disk, fix a printf format, remove unused variables, and
#include necessary files.

show more ...


Revision tags: release/2.1.0_cvs
# ba3551df 03-Oct-1995 Julian Elischer <julian@FreeBSD.org>

remove the calls to DIOCWLABEL, as it isn't supported any more
and the error message confuses the user.
(just commented out foe now)


# e3038c6e 01-Sep-1995 Joerg Wunsch <joerg@FreeBSD.org>

Update to the slices era. Make /dev/rfoo0 the defaults, not
/dev/rfoo0d.

Scan a list of devices instead of insisting on all the world
being wd0.

Allow for disk names to be specified (e.g. `sd0') i

Update to the slices era. Make /dev/rfoo0 the defaults, not
/dev/rfoo0d.

Scan a list of devices instead of insisting on all the world
being wd0.

Allow for disk names to be specified (e.g. `sd0') instead of full
path names only.

Sync the man page with the reality.

show more ...


Revision tags: release/2.0.5_cvs
# 5ebc7e62 30-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 5f0c9424 17-Apr-1995 Gary Palmer <gpalmer@FreeBSD.org>

Add NEXTSTEP as claiming partition code 0xA7.


# 49f7c177 14-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Recognise Linux filesystems.
Submitted by: remy


Revision tags: release/2.0
# c48cef7d 25-Oct-1994 Bruce Evans <bde@FreeBSD.org>

Don't write outside of partp[] if the user gives an invalid partition
number for the partition to be made active. Do nothing instead. This
allows clearing all the active flags by specifying an inva

Don't write outside of partp[] if the user gives an invalid partition
number for the partition to be made active. Do nothing instead. This
allows clearing all the active flags by specifying an invalid partition.

show more ...


# 0b461cd7 19-Oct-1994 Bruce Evans <bde@FreeBSD.org>

Don't change the active partition when the user says not to change it.

Convert absolute sector 0 to C/H/S 0/0/0, not 0/0/1.

Open in O_RDWR mode for the undocumented -a option, so that -a can be
use

Don't change the active partition when the user says not to change it.

Convert absolute sector 0 to C/H/S 0/0/0, not 0/0/1.

Open in O_RDWR mode for the undocumented -a option, so that -a can be
used without -u.

show more ...


# b60eb395 15-Sep-1994 Bruce Evans <bde@FreeBSD.org>

Don't exit early if the device is not character special or if the
device driver cannot supply a label (real or faked). This allows
you to practice using fdisk on disposable media (e.g., "dd count=1

Don't exit early if the device is not character special or if the
device driver cannot supply a label (real or faked). This allows
you to practice using fdisk on disposable media (e.g., "dd count=1
<dev/zero >/tmp/junk; fdisk /tmp/junk", "dd count=1 </etc/passwd
>/tmp/fix-up-the-mess; fdisk /tmp/fix-up-the-mess") and allows me
to test DOSpartitioning and labelling on floppies.

show more ...


Revision tags: release/1.1.5.1_cvs, release/1.1.0_cvs, release/1.0.0_cvs
# 5b81b6b3 12-Jun-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Initial import, 0.1 + pk 0.2.4-B1


# ea32a699 17-Jun-2009 Ulf Lilleengen <lulf@FreeBSD.org>

- Back out the previous change in order to maintain compatibility.


# 1d695e8e 15-Jun-2009 Ulf Lilleengen <lulf@FreeBSD.org>

- The maximum number of heads is 255, not 256.

Pointed out by: marcel


# 2e370a5c 26-May-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Merge from HEAD


# d1c77156 25-May-2009 Brian Somers <brian@FreeBSD.org>

Enhance the 'p' command so that it understands size qualifiers (K/M/G) and
so that it understands '*' as 'DTRT'.

PR: 68312
Submitted by: Rene de Vries - rene at tunix dot nl (mostly)
MFC after: 3 w

Enhance the 'p' command so that it understands size qualifiers (K/M/G) and
so that it understands '*' as 'DTRT'.

PR: 68312
Submitted by: Rene de Vries - rene at tunix dot nl (mostly)
MFC after: 3 weeks

show more ...


Revision tags: release/7.2.0_cvs, release/7.2.0
# bad3b688 18-Jan-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Sync with head


# 31fade05 14-Jan-2009 Luigi Rizzo <luigi@FreeBSD.org>

Reword some entries for NTFS and DOS.
Add entries for DELL and ASUS recovery partitions.

MFC after: 3 days


# 22fccf5c 14-Jan-2009 Luigi Rizzo <luigi@FreeBSD.org>

Another change from Christoph:
replace the table of partition with a simpler and faster array of strings.
The change in the array is done mechanically, using vi commands.
Most entries in the table ar

Another change from Christoph:
replace the table of partition with a simpler and faster array of strings.
The change in the array is done mechanically, using vi commands.
Most entries in the table are probably 15+ years old and largely outdated,
so the next step is to remove stale entries with more current values.

Submitted by: Christoph Mallon, with small changes from me
MFC after: 3 days

show more ...


12345678910