summaryrefslogtreecommitdiffstats
path: root/sbin/fdisk_pc98
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r272243nyan2014-11-031-2/+2
| | | | Add missing library dependencies.
* Change <sys/diskpc98.h> to not redefine the same symbols that aremarcel2013-08-071-8/+8
| | | | | | | | | | | | | | | | 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@
* Add reference to gpart(8).ae2011-11-061-0/+1
| | | | MFC after: 3 days
* Use the common PC98_SID_ACTIVE define instead of a local define.nyan2009-03-191-4/+2
|
* Another merging from sbin/fdisk/fdisk.8.nyan2007-05-101-68/+75
| | | | | PR: 109929 Submitted by: Alex Kozlov
* Reduce diffs against fdisk/fdisk.8.nyan2007-05-091-158/+142
|
* - A partition number is allowed to 1-8.nyan2007-05-091-11/+5
| | | | | | - Remove non-exist -b flag. - Add reference to boot98cfg and newfs. - s/disklabel/bsdlabel/
* Because there are so many more partitions on pc98 than on wintel (16imp2007-04-212-66/+82
| | | | | | | | | | | | 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.
* Markup fixes.ru2006-09-181-2/+4
|
* o Bump date (thanks ru)imp2006-02-261-18/+11
| | | | | | | | | 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).
* Fixes and new features:imp2006-02-262-12/+62
| | | | | | | | | | | | | | | | | | 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..
* Merged from src/sbin/fdisk/fdisk.c revision 1.81.nyan2005-09-181-1/+4
| | | | | | - Call gctl_free() to free resource allocated with gctl_get_handle(). MFC after: 3 days
* Merged from src/sbin/fdisk.nyan2005-07-152-28/+45
| | | | - Attempt gctl verb "write MBR" when updating.
* - Merged some missing changes from fdisk/fdisk.c.nyan2005-05-012-434/+39
| | | | | - Remove ifdef PC98. - Make WARN=4 clean.
* Merged more changes from fdisk/fdisk.c.nyan2005-05-011-26/+7
|
* Merged from src/sbin/fdisk/fdisk.c revision 1.77.nyan2005-05-011-2/+2
|
* Merged from src/sbin/fdisk/fdisk.c revision 1.75.nyan2004-10-241-1/+1
| | | | (Don't prepend "/dev" if an argument given is an absolute pathname.)
* Mechanically kill hard sentence breaks.ru2004-07-021-23/+45
|
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Oops, DIOCGPC98 should be DIOCSPC98.nyan2003-05-011-1/+1
|
* Merged from src/sbin/fdisk/Makefile revision 1.10.nyan2003-05-011-1/+4
|
* Merged from src/sbin/fdisk/fdisk.c revision 1.69.nyan2003-05-011-1/+6
|
* MFi386: Use DIOCGPC98 ioctl.nyan2003-02-111-16/+57
|
* Rename the dos_partition structure for pc98 to pc98_partition.nyan2003-01-041-12/+13
|
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* mdoc(7) police: fixed the misplaced .Bl call.ru2002-12-231-1/+1
|
* Merged various changes from src/sbin/fdisk/fdisk.c revisions up to 1.66.nyan2002-10-271-758/+426
|
* Don't use DPCYL and DPSECT macros. These are not needed.nyan2002-10-071-8/+8
| | | | Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh)
* Include <sys/diskpc98.h>nyan2002-10-041-0/+1
|
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-212-10/+10
|
* The .Nm utilitycharnier2002-07-061-8/+9
|
* Add missing \ before an 'n' to get the proper newline when runningimp2002-03-271-1/+1
| | | | fdisk -s for each partition.
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-1/+1
| | | | with a trailing zero-width space: `e.g.\&'.
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-12/+12
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-5/+5
|
* Prepare for mdoc(7)NG.ru2000-12-181-1/+0
|
* mdoc(7) police: added missing .Os call.ru2000-12-141-1/+1
|
* Add `_PATH_DEVZERO'.obrien2000-12-091-2/+3
| | | | Use _PATH_* where where possible.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Use Fx macro wherever possible.ru2000-11-141-8/+8
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-26/+19
|
* Sync with sbin/i386/fdisk/fdisk.c revision 1.37.nyan2000-06-051-1/+1
| | | | (Don't try to open the /dev/rXXX device.)
* Added PC98 version of fdisk.kato2000-03-183-0/+2015
OpenPOWER on IntegriCloud