History log of /openbsd/sbin/fdisk/cmd.c (Results 151 – 175 of 180)
Revision Date Author Comments
# 8ce00868 18-Jan-2002 kjell <kjell@openbsd.org>

Allow size values to be displayed in the user's choice of units.
Idea borrowed from disklabel. i.e. Users can now type "print M"
and be rewarded with partition sizes in Megs


# c3c44449 18-Jan-2002 kjell <kjell@openbsd.org>

Add disklabel-style editing for size/offset values in
the partition tables. These values may now contain units,
such as "300k" "500M" or "2G".
(sectors, bytes, and cylinders are also supported.)
This

Add disklabel-style editing for size/offset values in
the partition tables. These values may now contain units,
such as "300k" "500M" or "2G".
(sectors, bytes, and cylinders are also supported.)
This should largely eliminate the need for a calculator
when using fdisk on large disks.

show more ...


# 78b4f672 28-Jan-2001 weingart <weingart@openbsd.org>

More -Wall cleanup. Ansi style nit.


# 5c65ba20 01-Jan-2001 angelos <angelos@openbsd.org>

New command "setpid", just changes the ID of a partition (no other
parameters editing) -- vassilip@dsl.cis.upenn.edu


# 0d5049c6 01-Jul-2000 mickey <mickey@openbsd.org>

be more verbose when warning for partition errors,
print partition number in the message.


# 46a98bd3 18-Apr-2000 kjell <kjell@openbsd.org>

Favor BIOS geometry over physical. This should fix MANY problems with
hard drives >8G sharing partitions with other operating systems.
Also, support extended partition type 0x0F, which is quite commo

Favor BIOS geometry over physical. This should fix MANY problems with
hard drives >8G sharing partitions with other operating systems.
Also, support extended partition type 0x0F, which is quite common now.

show more ...


# e65d7dca 04-Feb-2000 kjell <kjell@openbsd.org>

Max Sectors is 63. ok weingart@


# c3e3230d 08-Jan-2000 deraadt <deraadt@openbsd.org>

support LBA-mapped extended partitions too; sigh@kuzirabekon.econ.nagasaki-u.ac.jp


# 4f95903b 21-Aug-1999 niklas <niklas@openbsd.org>

MIPS boxes that use fdisk need an MS-DOS partition


# 489bd112 10-Jun-1999 pjanzen <pjanzen@openbsd.org>

Handle PAGER in a manner consistent with the Single Unix Specification:
that is, use PAGER rather than "more" if it is defined and non-null, not
just if it is defined.


# 4ed7cd7e 14-Sep-1998 rahnds <rahnds@openbsd.org>

Since on the powerpc, the system does not supply the user with
bios valid cyl,head,sector information (the information comes from the
sd driver) I have made some changes to fdisk to do the following.

Since on the powerpc, the system does not supply the user with
bios valid cyl,head,sector information (the information comes from the
sd driver) I have made some changes to fdisk to do the following.

Allow the powerpc to specify values larger than the bios limits.

All platforms now have code that will translate the LBA values
in the mbr into CHS values according to the disk geometry.
This occurs if the start and ending CHS values have been stored as
0xffffff.

If writing to the disk and one of the values of a partition violates
the bios limits, it writes the requested values in the LBA fields ,
and stores 0xffffff for the starting and ending CHS values.

This should not change the default formatting of any existing system
other than the CHS and LBA values should always match given the detected
geometry of the disk.

show more ...


# e627f006 08-Sep-1998 pefo <pefo@openbsd.org>

For powerpc's we want to keep the preinstalled msdos partition in the init
MBR when doing a 'fdisk -i'. That is because the msdos partition is used
for booting. The OpenBSD part (part 3) is set up to

For powerpc's we want to keep the preinstalled msdos partition in the init
MBR when doing a 'fdisk -i'. That is because the msdos partition is used
for booting. The OpenBSD part (part 3) is set up to be the rest of the
disk. Also the msdos partition is set as the 'active' partition.

show more ...


# c724dc42 08-Aug-1998 downsj <downsj@openbsd.org>

Include signal.h so that it compiles.


# 13ee5b9f 07-Aug-1998 millert <millert@openbsd.org>

protect against SIGPIPE


# ebe818d4 04-Jan-1998 deraadt <deraadt@openbsd.org>

fix maximal cyl/heads; vons@usa.net


# 1e72d9ca 23-Dec-1997 deraadt <deraadt@openbsd.org>

swap exit and quit


# ca2e86e1 21-Oct-1997 provos <provos@openbsd.org>

make fdisk grok extended partitions again. we have to keep track of the
absolute offset of the current mbr and its relative position. because:
the starting sector of the first mbr entry in an extende

make fdisk grok extended partitions again. we have to keep track of the
absolute offset of the current mbr and its relative position. because:
the starting sector of the first mbr entry in an extended partition is relative
to the starting offset of the whole mbr itself. the starting offset of a new
extended partition is relative to the offset of the very first extended
partition.

show more ...


# 83b318d4 19-Oct-1997 deraadt <deraadt@openbsd.org>

when we reinit, show what we did


# a2f126af 19-Oct-1997 deraadt <deraadt@openbsd.org>

spelling


# 173aaaf6 19-Oct-1997 deraadt <deraadt@openbsd.org>

clarify


# 9d22187f 19-Oct-1997 deraadt <deraadt@openbsd.org>

indent


# 1a365ec9 19-Oct-1997 deraadt <deraadt@openbsd.org>

for p, print disk info too


# f930101a 18-Oct-1997 deraadt <deraadt@openbsd.org>

constrain edit mode to size of BIOS part of disk; sorry


# a807549c 16-Oct-1997 deraadt <deraadt@openbsd.org>

new command: manual


# 4b464610 16-Oct-1997 deraadt <deraadt@openbsd.org>

a bunch of improvements by weingart & I


12345678