| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
__P was axed. The ordering of several things was bogotified by axing
ifdefs.
|
|
|
|
|
| |
Fixed some style bugs in the removal of __P(()). Whitespace before
"__P((" was not removed.
|
|
|
|
|
|
| |
Add some missing statics.
Sponsored by: DARPA & NAI Labs.
|
| |
|
|
|
|
|
|
| |
struct disklabel.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
| |
in dump byte order (=network byte order). Swap blocksize and dumptime
to avoid extraneous padding on 64-bit architectures. Use CTASSERT
instead of runtime checks to make sure the header is 512 bytes large.
Various style(9) fixes.
Reviewed by: phk, bde, mike
|
| |
|
|
|
|
| |
archs than alpha and i386.
|
|
|
|
|
|
|
| |
Submitted by: kris
Reviewed by: bde
Approved by: ru
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
Submitted by: kris (an early version of this patch)
Reviewed by: bde
Approved by: ru
MFC after: 2 weeks
|
|
|
|
| |
Pointy-hat to: phk
|
| |
|
|
|
|
|
|
| |
sizeof(struct ccb_getdevstats).
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
Commandline compatible with the previous savecore unless you specify
any options, none of them are implemented (yet).
Scans all devices marked "dump" or "swap" for dump header signatures
and saves dumps off under a name which is a MD5 hash of the header
information. This should give unique filenames. A *.info file contains
ascii version of the header information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Caveats:
The new savecore program is not complete in the sense that it emulates
enough of the old savecores features to do the job, but implements none
of the options yet.
I would appreciate if a userland hacker could help me out getting savecore
to do what we want it to do from a users point of view, compression,
email-notification, space reservation etc etc. (send me email if
you are interested).
Currently, savecore will scan all devices marked as "swap" or "dump" in
/etc/fstab _or_ any devices specified on the command-line.
All architectures but i386 lack an implementation of dumpsys(), but
looking at the i386 version it should be trivial for anybody familiar
with the platform(s) to provide this function.
Documentation is quite sparse at this time, more to come.
Sponsored by: DARPA, NAI Labs
Details:
Dumpon now opens the device and uses ioctl(DIOCGKERNELDUMP) to set it
to be the dumpdevice. When "off" is set, /dev/null is used.
|
|
|
|
|
|
| |
Promise Superswap enclosures.
Sponsored by: Advanis
|
|
|
|
| |
linelength.
|
|
|
|
|
|
|
|
|
| |
that could be used to set/get arbitrary length link level
addresses. Alias "lladdr" parameter and "ether" family
to the new "link" family for backward compatibility.
PR: bin/31476
MFC after: 1 week
|
|
|
|
| |
Sponsored by: Advanis
|
|
|
|
| |
fdisk -s for each partition.
|
|
|
|
|
| |
PR: bin/35773
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
|
| |
|
|
|
|
|
| |
PR: docs/36267 (partial)
Submitted by: Thomas Quinot <thomas.cuivre.fr.eu.org>
|
|
|
|
| |
identical getprogname(3).
|
|
|
|
| |
acceptable (documented) getprogname(3).
|
|
|
|
|
|
|
| |
PR: i386/36016
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Reviewed by: rnordier
MFC after: 1 week
|
|
|
|
| |
Requested by: bde
|
|
|
|
| |
o remove main prototype
|
|
|
|
| |
o main prototype removed
|
|
|
|
|
|
| |
o ansi function definitions.
o main prototype removal
o unifdef __STDC__
|
|
|
|
|
| |
Memory disks may be used for other purposes besides newfs(8), so it
isn't helpful to require the minimum size meet newfs(8)'s criteria.
|
|
|
|
|
|
| |
with the NO_IPFILTER make.conf(5) knob.
(So that we can "make the-rest-of-the-world" again.)
|
|
|
|
| |
small, instead of a less meaningful error in newfs(8).
|
|
|
|
|
|
|
| |
o ansi function prototypes
o unifdef -D__STDC__
o __dead2 on usage prototype
o remove now-bogus main prototype
|
|
|
|
|
| |
o Use ansi function definitions
o unifdef -D__STDC__
|
|
|
|
|
| |
o Use ANSI function definitions
o unifdef -D__STDC__
|
|
|
|
|
|
| |
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
"register" -- just how many free registers do people think machines have?)
|
|
|
|
| |
line up into three to make it more readable)
|
| |
|
|
|
|
| |
* add extra -I path to get the "matching" header files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
diskdrives do neither need nor want:
-O create a 4.3BSD format filesystem
-d rotational delay between contiguous blocks
-k sector 0 skew, per track
-l hardware sector interleave
-n number of distinguished rotational positions
-p spare sectors per track
-r revolutions/minute
-t tracks/cylinder
-x spare sectors per cylinder
No change in the produced filesystem image unless one or more of
these options were used.
Approved by: mckusick
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
open "/dev/stdout". This doesn't actually affect growfs, but does affect
ffsinfo, permitting ffsinfo to output to the shell's stdout rather than
requiring it be dumped to a file or explicitly pointed at a special
device.
Reviewed by: peter
|
| |
|
|
|
|
| |
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
|
|
|
|
|
|
|
|
| |
Add a couple of simple regression tests accessible with "make test", they
depend on the md(4) driver.
FYI I have also tried running the test against a week old newfs and it
passed.
|
| |
|
| |
|