| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
|
| |
other partitiosns. This is necessary when migrating conventional
partitions to Vinum and was broken by recent more stringent overlap
checks. This is arguably the wrong way to do it. A better method
would be to have the loader understand a subset of Vinum partitioning
and allow an install directly to Vinum, but until then, this is the
best we have.
Reviewed by: jhb
Approved by: re (rwatson)
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
|
| |
take unsigned values.
his allows one to label disk with the number of blocks > 31 bits
(though less then 32 bits)
e.g.
# size offset fstype [fsize bsize bps/cpg]
c: 3125755904 0 unused 0 0 # (Cyl. 0 - 194569*)
d: 3125755840 64 unused 0 0 # (Cyl. 0*- 194569*)
which is needd to test UFS2
|
|
|
|
|
|
|
|
| |
disk label area.
PR: 43891
Submitted by: Diomidis D. Spinellis <dds@istlab.dmst.aueb.gr>
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
the first label to the raw disk.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Peter had repocopied sys/disklabel.h to sys/diskpc98.h and sys/diskmbr.h.
These two new copies are still intact copies of disklabel.h and
therefore protected by #ifndef _SYS_DISKLABEL_H_ so #including them
in programs which already include <sys.disklabel.h> is currently a
no-op.
This commit adds a number of such #includes.
Once I have verified that I have fixed all the places which need fixing,
I will commit the updated versions of the three #include files.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
| |
userland, rather than expect all possible GEOMetries to know about
BSD disklabels.
Sponsored by: DARPA & NAI Labs
|
| |
|
|
|
|
| |
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.
|