Commit Graph

46 Commits

Author SHA1 Message Date
ae
491288c339 Add reference to gpart(8).
MFC after:	3 days
2011-11-06 20:39:35 +00:00
nyan
d5c5250d6a Use the common PC98_SID_ACTIVE define instead of a local define. 2009-03-19 12:31:59 +00:00
nyan
0efa563635 Another merging from sbin/fdisk/fdisk.8.
PR:		109929
Submitted by:	Alex Kozlov
2007-05-10 12:33:00 +00:00
nyan
c7d189e526 Reduce diffs against fdisk/fdisk.8. 2007-05-09 11:46:31 +00:00
nyan
3c78b697c5 - A partition number is allowed to 1-8.
- Remove non-exist -b flag.
- Add reference to boot98cfg and newfs.
- s/disklabel/bsdlabel/
2007-05-09 11:38:58 +00:00
imp
28781a4ef4 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.
2007-04-21 22:47:35 +00:00
ru
731fda35ce Markup fixes. 2006-09-18 11:55:10 +00:00
imp
752c2bd261 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).
2006-02-26 17:45:35 +00:00
imp
7dec5978c1 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..
2006-02-26 07:37:10 +00:00
nyan
0cc2091b50 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
2005-09-18 02:38:29 +00:00
nyan
fd3d21f88e Merged from src/sbin/fdisk.
- Attempt gctl verb "write MBR" when updating.
2005-07-15 15:31:19 +00:00
nyan
fa923d7b23 - Merged some missing changes from fdisk/fdisk.c.
- Remove ifdef PC98.
- Make WARN=4 clean.
2005-05-01 10:08:35 +00:00
nyan
09a70338b7 Merged more changes from fdisk/fdisk.c. 2005-05-01 05:04:05 +00:00
nyan
27eb420eea Merged from src/sbin/fdisk/fdisk.c revision 1.77. 2005-05-01 04:14:01 +00:00
nyan
09adbfdf64 Merged from src/sbin/fdisk/fdisk.c revision 1.75.
(Don't prepend "/dev" if an argument given is an absolute pathname.)
2004-10-24 12:05:10 +00:00
ru
46fddaa54b Mechanically kill hard sentence breaks. 2004-07-02 21:45:06 +00:00
johan
31854a224a style.Makefile(5):
Use WARNS?= instead of WARNS=.
2004-02-23 20:25:27 +00:00
nyan
c7b799cc91 Oops, DIOCGPC98 should be DIOCSPC98. 2003-05-01 14:30:59 +00:00
nyan
327c5ea640 Merged from src/sbin/fdisk/Makefile revision 1.10. 2003-05-01 13:53:41 +00:00
nyan
33a268f422 Merged from src/sbin/fdisk/fdisk.c revision 1.69. 2003-05-01 13:27:11 +00:00
nyan
889618ffd2 MFi386: Use DIOCGPC98 ioctl. 2003-02-11 07:32:45 +00:00
nyan
864080610e Rename the dos_partition structure for pc98 to pc98_partition. 2003-01-04 08:50:48 +00:00
schweikh
86f7487fb6 Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
ru
48942467dc mdoc(7) police: fixed the misplaced .Bl call. 2002-12-23 15:36:04 +00:00
nyan
50b3a87647 Merged various changes from src/sbin/fdisk/fdisk.c revisions up to 1.66. 2002-10-27 16:43:59 +00:00
nyan
ab9fa59b00 Don't use DPCYL and DPSECT macros. These are not needed.
Submitted by:	kawanobe@st.rim.or.jp (Kawanobe Koh)
2002-10-07 10:04:07 +00:00
nyan
86b70d31d6 Include <sys/diskpc98.h> 2002-10-04 14:05:00 +00:00
trhodes
136be46680 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
charnier
a2accd01f0 The .Nm utility 2002-07-06 19:34:18 +00:00
imp
e101b96a9a Add missing \ before an 'n' to get the proper newline when running
fdisk -s for each partition.
2002-03-27 06:20:20 +00:00
obrien
9baf2f1b03 Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
2001-12-04 02:19:58 +00:00
ru
80f060f0cf mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
dd
a145482cf6 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ru
7cef49ff86 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
ru
86642a4ab4 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
56b5d7535b Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
ru
f4325cbb8b Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
ru
8a6f8b5fe4 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ru
7fe8bd2b88 Prepare for mdoc(7)NG. 2000-12-18 15:16:24 +00:00
ru
e5a37f2e6f mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
obrien
c2ee1dcc02 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
ru
ea31070695 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
ru
7d99729431 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
ru
a6f5d950d8 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
nyan
29e2987f18 Sync with sbin/i386/fdisk/fdisk.c revision 1.37.
(Don't try to open the /dev/rXXX device.)
2000-06-05 13:28:49 +00:00
kato
182e93484a Added PC98 version of fdisk. 2000-03-18 16:48:41 +00:00