mikel
b545bd186c
Don't print "DOS partition initialized" if -S set; from Nathan
...
Williams in PR bin/4893.
1998-02-02 06:39:41 +00:00
enami
24ec6663fe
Add missing cast. This is a minimum fix to avoid overflow which causes
...
core dumps with some disk geometry.
1997-12-22 01:54:07 +00:00
ross
2ac0cdeda9
Typos, English.
1997-11-26 04:26:27 +00:00
phil
a8d52993f0
Backout the prototype of opendisk().
1997-09-30 17:29:40 +00:00
phil
c342d989c5
Prototype opendisk().
1997-09-30 17:09:13 +00:00
lukem
216ef04613
switch to using opendisk(3) from libutil
1997-09-25 05:08:28 +00:00
lukem
2ddc10a0ab
define WARNS?=1 for all of sbin/*
1997-09-15 12:45:47 +00:00
lukem
700617acfc
correct use of various mdoc macros to cleanup resultant man page
1997-09-14 14:05:34 +00:00
lukem
6e61b15d9c
* support ``short'' names of disks (e.g, ``sd0'') instead of requiring
...
the full name (e.g, ``/dev/rsd0d'') a la disklabel(8) (where the code
was effectively lifted from ;-)
* prefix hexadecimal numbers in output with '0x'
1997-09-14 13:52:26 +00:00
phil
5388cd2717
Don't print some things if -f flag given.
1997-09-11 22:53:00 +00:00
phil
2d074efe44
-- add -b flag for setting fdisk's idea of BIOS geometry from command line
...
-- cleanup so WARNS=1 works
-- man page updated to reality.
1997-09-05 21:26:57 +00:00
phil
1b063875bf
Upgrade for non-interactive use. Interactive use is nearly unchanged.
...
-i no longer implies -u, -i now does not use the entire first track
because some BIOSes refuse to boot from a partition in the first track.
-s renamed to -S, new -s for non-interactive setting of a partition's
id, offset and size. Updated documentation to match.
1997-08-11 23:31:41 +00:00
phil
1145b74178
Add code for a -s flag where the output is a series of VAL=xyz lines
...
so /bin/sh can "eval `fdisk -s`" and get variables defined with the
fdisk information.
1997-07-29 08:31:31 +00:00
perry
c94b6b4f09
Add a whole lot of MBR partition types, derived from a couple of sources
...
including Linux.
Is there a master list of this somewhere?
1997-06-24 06:38:50 +00:00
mrg
5667e094a1
move man pages into share/man.
1997-06-23 04:23:46 +00:00
thorpej
98de682c7c
Make this work on big-endian systems, such as the PowerPC. From
...
Wolfgang Solfrank <ws@tools.de>
1997-03-29 20:46:17 +00:00
ghudson
9b746f76a4
Add code to look at the existing partition entries to deduce the
...
translated geometry of the disk. This code will only change the
disk geometry if it can find a geometry which is consistent with
all partition entries, so it's very conservative about choosing
a new disk geometry. Under some circumstances, it will choose a
number of cylinders which is a little lower than it needs to be,
but this code is enough so that you can create new partitions
with the correct physical addresses.
The right solution to this problem is to have the boot loader
communicate the BIOS geometry of each disk to the kernel, in a
manner similar to the symbol table, and then provide a kernel
interface to get at that information. I'm unfortunately not
really qualified to make such a change, and I want something
that works better than the status quo.
1995-10-04 23:11:19 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +00:00
mycroft
e631f9d003
Recognize Linux file systems correctly.
1995-01-13 10:42:02 +00:00
cgd
06e2955ff1
specify man pages the new way.
1994-12-22 10:44:04 +00:00
cgd
5eeab43e28
more cleanups from Jim Jegers, passed over by me.
1994-12-05 20:15:31 +00:00
mycroft
4b83d937e9
Allow `partitioning' of a regaular file.
1994-10-20 00:06:17 +00:00
mycroft
4922d725cf
Remove some more uses of obsolete functions.
1994-09-23 23:48:10 +00:00
mycroft
d9ad777ece
Clean up a bit more.
1994-09-23 05:30:09 +00:00
mycroft
73984e0809
Clean this up a bit.
1994-09-23 04:30:13 +00:00
jtc
3be79230a5
More spelling errors.
1994-01-28 20:07:07 +00:00
jtc
ab3a89f913
Fix spelling errors
1994-01-14 02:05:23 +00:00
cgd
04f80fa1bc
386bsd -> NetBSD
1993-12-06 09:32:27 +00:00
mycroft
aee4b07b8a
Add RCS identifiers, remove some completely useless RCS logs and patchkit
...
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft
cda4f8f6ee
Add RCS identifiers.
1993-08-01 05:37:30 +00:00
cgd
3a05a908df
added a 386bsd fdisk program, by julian elischer. (patch 111)
1993-04-09 19:23:56 +00:00