History log of /freebsd-11.0-release/sbin/fdisk_pc98/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


298861 30-Apr-2016 pfg

fdisk: drop unused macro and make use of roundup()/rounddown().


298391 21-Apr-2016 araujo

Fix a missing blank space.


298390 21-Apr-2016 araujo

Simplify the get_type() function.

Submitted by: bde
Discussed with: bde, jhb and pfg
MFC after: 2 weeks.


298247 19-Apr-2016 araujo

Remove redundant parenthesis.

Submitted by: pfg
MFC after: 2 weeks.


298245 19-Apr-2016 araujo

Use nitems() from sys/param.h.

MFC after: 2 weeks.


298107 16-Apr-2016 gjb

Merge the projects/release-pkg branch to head.

This allows packaging the base system with pkg(8), including
but not limited to providing the ability to provide upstream
binary update possibilities for non-tier-1 architectures.

This merge is a requirement of the 11.0-RELEASE, and as such,
thank you to everyone that has tested the project branch.

Documentation in build(7) etc. is still somewhat sparse, but
updates to those parts will follow.

Sponsored by: The FreeBSD Foundation


288228 25-Sep-2015 bdrewery

META_MODE: Remove DEP_MACHINE from Makefile.depend files.

This has not been needed since r246865 in projects/bmake.

Sponsored by: EMC / Isilon Storage Division


288226 25-Sep-2015 bdrewery

META_MODE: Remove DEP_RELDIR from Makefile.depend files.

This has not been needed since r284171 in projects/bmake.

Sponsored by: EMC / Isilon Storage Division


284345 13-Jun-2015 sjg

Add META_MODE support.

Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision: D2796
Reviewed by: brooks imp


275030 25-Nov-2014 bapt

Convert sbin/ to LIBADD
Reduce overlinking


272243 28-Sep-2014 nyan

Merged from r183296.

Add missing library dependencies.


254015 07-Aug-2013 marcel

Change <sys/diskpc98.h> to not redefine the same symbols that are
being defined in <sys/diskmbr.h>. Instead give the symbols here a
"PC98_" prefix. This way, both <sys/diskmbr.h> and <sys/diskpc98.h>
can be included in the same C source file.

The renaming is trivial. The only gotcha is that DOSBBSECTOR is
also redefined from 0 to 1. This because DOSBBSECTOR was always
used in conjunction with an addition of 1. The PC98_BBSECTOR symbol
is defined as 1 and the expression is simplified.

Note: it is not believed that ports are seriously impacted; or at
all for that matter.

Approved by: nyan@


227273 06-Nov-2011 ae

Add reference to gpart(8).

MFC after: 3 days


190027 19-Mar-2009 nyan

Use the common PC98_SID_ACTIVE define instead of a local define.


169441 10-May-2007 nyan

Another merging from sbin/fdisk/fdisk.8.

PR: 109929
Submitted by: Alex Kozlov


169419 09-May-2007 nyan

Reduce diffs against fdisk/fdisk.8.


169416 09-May-2007 nyan

- A partition number is allowed to 1-8.
- Remove non-exist -b flag.
- Add reference to boot98cfg and newfs.
- s/disklabel/bsdlabel/


168934 21-Apr-2007 imp

Because there are so many more partitions on pc98 than on wintel (16
vs 4), supress all unused partition output unless -v is specified.
This makes operating on a 'typical' disk with one partition less
painful. The 30 lines needed for the empty partitions no longer
scroll the useful information off the screen. When the user requests
a specific partition, the unused information is not suppressed.

Also add the partition name to the -s output.

Initialize the partition name to 'FreeBSD' when -I is specified.


162395 18-Sep-2006 ru

Markup fixes.


156032 26-Feb-2006 imp

o Bump date (thanks ru)
o Also, fdisk_pc98 appears to support -i, so add it to the man page.
o Ditto -v
o Change the name from PC partition table maintenance program to NEC PC-98x1
partition table maintenance program, since it is possible to have a DOS MBR
formatted disk on FreeBSD/pc98 now (although we don't install any tools for
this).


156020 26-Feb-2006 imp

Fixes and new features:
o Merge the -I switch from i386 verison to initialize the partition table
to use the maximum amount possible for a single FreeBSD table.
o Improve warning when the geom method fails (which I think it
always will until geom_pc98 is updated to respond to this ctl message)
o when writing out the boot sector, we have to write out a minimum of
1024 bytes or the sector size. This is different than the i386 case where
we need to write out a minimum of 512 bytes (which is also the minimum
sector size). We already handle this difference on reading, but didn't
in writing, so attempting to write a new partition table would fail.
o Add MID to the -s output, since pc98 users are likely interested in
both of these parameters.

# I can now initialize disks on my pc98 machine either by -I or by
# manually entering the parameters. I don't know if fdisk -B works or not,
# since I'm not willing to risk my only working boot disk to test it..


150268 18-Sep-2005 nyan

Merged from src/sbin/fdisk/fdisk.c revision 1.81.
- Call gctl_free() to free resource allocated with gctl_get_handle().

MFC after: 3 days


148062 15-Jul-2005 nyan

Merged from src/sbin/fdisk.
- Attempt gctl verb "write MBR" when updating.


145765 01-May-2005 nyan

- Merged some missing changes from fdisk/fdisk.c.
- Remove ifdef PC98.
- Make WARN=4 clean.


145748 01-May-2005 nyan

Merged more changes from fdisk/fdisk.c.


145745 01-May-2005 nyan

Merged from src/sbin/fdisk/fdisk.c revision 1.77.


136887 24-Oct-2004 nyan

Merged from src/sbin/fdisk/fdisk.c revision 1.75.
(Don't prepend "/dev" if an argument given is an absolute pathname.)


131488 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


126178 23-Feb-2004 johan

style.Makefile(5):
Use WARNS?= instead of WARNS=.


114418 01-May-2003 nyan

Oops, DIOCGPC98 should be DIOCSPC98.


114415 01-May-2003 nyan

Merged from src/sbin/fdisk/Makefile revision 1.10.


114413 01-May-2003 nyan

Merged from src/sbin/fdisk/fdisk.c revision 1.69.


110679 11-Feb-2003 nyan

MFi386: Use DIOCGPC98 ioctl.


108650 04-Jan-2003 nyan

Rename the dos_partition structure for pc98 to pc98_partition.


108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


108219 23-Dec-2002 ru

mdoc(7) police: fixed the misplaced .Bl call.


106047 27-Oct-2002 nyan

Merged various changes from src/sbin/fdisk/fdisk.c revisions up to 1.66.


104617 07-Oct-2002 nyan

Don't use DPCYL and DPSECT macros. These are not needed.

Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh)


104459 04-Oct-2002 nyan

Include <sys/diskpc98.h>


102231 21-Aug-2002 trhodes

s/filesystem/file system/g as discussed on -developers


99501 06-Jul-2002 charnier

The .Nm utility


93266 27-Mar-2002 imp

Add missing \ before an 'n' to get the proper newline when running
fdisk -s for each partition.


87325 04-Dec-2001 obrien

Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by: mike


81449 10-Aug-2001 ru

mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.


79754 15-Jul-2001 dd

Remove whitespace at EOL.


79530 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


74815 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


74531 20-Mar-2001 ru

Set the default manual section for sbin/ to 8.


73233 28-Feb-2001 ru

Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


70152 18-Dec-2000 ru

Prepare for mdoc(7)NG.


70022 14-Dec-2000 ru

mdoc(7) police: added missing .Os call.


69793 09-Dec-2000 obrien

Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.


68960 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68716 14-Nov-2000 ru

Use Fx macro wherever possible.


68575 10-Nov-2000 ru

Avoid use of direct troff requests in mdoc(7) manual pages.


61278 05-Jun-2000 nyan

Sync with sbin/i386/fdisk/fdisk.c revision 1.37.
(Don't try to open the /dev/rXXX device.)


58234 18-Mar-2000 kato

Added PC98 version of fdisk.