| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Also submitted by: David Wolfskill <david@catwhisker.org>
|
| |
|
|
|
|
| |
definitions; fix some const strings; fix some signedness issues.
|
|
|
|
|
|
|
| |
changed a `goto' to a `continue' in revision 1.52, but it continued
the wrong loop.
Noticed by: bde
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that are used if none at all are specified for a partition. Don't
keep replaying the last field if we run out of fields when processing
a line. Use a 8:1 frag:block ratio for both defaults.
More work here is required. I think disklabel should not attempt
to choose default filesystem parameters, and instead let newfs pick
any defaults if required.
PR: i386/38703
Reported by: Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com>
|
|
|
|
| |
into a separate function to avoid some over-long lines.
|
| |
|
| |
|
|
|
|
|
|
|
| |
initialize it to zero so we don't have to have everbody and their
aunt including FFS specific header files.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--change "-s newboot" to "-s newboot2" in an example
--Fixed spelling
--Fixed some confusion between slice/parition/primary partition and other
things.
PR: 35947 and 35951
Noticed by: Gary W. Swearingen <swear@blarg.net>
Reviewed by: keramida
Thanks to: grog
MFC after: 2 days
|
|
|
|
| |
Noticed by: bde
|
|
|
|
|
|
|
| |
Pick up the c-partitions magicness from sys/disklabel.h instead
of defining our own magicness for it, remove trivial comment.
Sponsored by: DARPA and NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA and NAI Labs.
|
| |
|
|
|
|
|
|
| |
struct disklabel.
Sponsored by: DARPA & NAI Labs.
|
| |
|
|
|
|
| |
sys/disklabel.h since the one in here looks a little crunchy.
|
|
|
|
|
|
| |
o Use ANSI function definitions
o const poison
o remove register
|
|
|
|
|
|
| |
Submitted by: tmm
Dike out vax support.
|
|
|
|
|
| |
* Do not default to any particular platform. Require that we explicitly
support a particular platform.
|
|
|
|
|
| |
PR: 35689
Submitted by: Gary W. Swearingen <swear@blarg.net>
|
|
|
|
| |
from /dev/food0, then try from /dev/f00d0c, in strange cases this work.
|
|
|
|
|
|
|
|
|
|
|
| |
disklabel(8)'s "Reading the disk label" section starts out "To examine
or save the label on a disk drive,...". This is confusing. The given
command (disklabel [-r] disk) doesn't save anything (except to standard
out, but that should go without saying). It reads as if the command
might save something on the disk drive.
PR: 32452
Submitted by: Gary W. Swearingen <swear@blarg.net>
|
|
|
|
|
|
| |
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
| |
|
| |
|
|
|
|
| |
PR: docs/30330
|
|
|
|
|
|
|
| |
as __printflike()/__printf0like(), adding const, or adding missing "%s"
format strings, as appropriate.
MFC after: 2 weeks
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
| |
|
| |
|
|
|
|
| |
Add cross-references to ccd(4) and vinum(8).
|
|
|
|
|
| |
The latter implies to many people that they use only -r, which is
incorrect.
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
|
|
|
| |
(This page still needs a lot of work.)
|
|
|
|
|
| |
for the size variable used to calculate the size of the partition.
Also use ULL suffix for constants to ensure that we use 64 bit math.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
being:
# size offset fstype [fsize bsize bps/cpg]
a: 400M 0 4.2BSD 4096 16384 75 # (Cyl. 0 - 812*)
b: 1G * swap
c: * * unused
e: 204800 * 4.2BSD
f: 5g * 4.2BSD
g: * * 4.2BSD
These patches are the original work of Randell Jesup, and
I believe Matt Dillon, with additional work by Warner Losh.
Please let me know if I've left someone out.
Incorporated into this is the fix for PR bin/22727.
This patchset still has style issues and a possible problem on
large disks. However, it was a agreed to get these committed before
performing major surgery on them.
PR: bin/22727
Submitted by: Randell Jesup <rjesup@wgate.com>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: 23109
Submitted by: Jimmy Olgeni <olgeni@uli.it>
|
| |
|
| |
|