| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Move to WARNS=1.
|
|
|
|
|
| |
implementation is being changed and the very concept of tickadj will
no longer be meaningful.
|
| |
|
|
|
|
|
|
|
| |
see http://people.freebsd.org/~scottl/udf
MFC after: when asmodai gets the backport done
Prodded by: phk asmodai des
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Implement -c (clear) to clear previously kept headers (note that
dumps not cleared will remain until -c is used),
o Implement -f (force) to allow re-saving a previously saved dump,
o Implement -k (keep) and make clearing the dump header the default,
o Implement -v (verbose) and make most output conditional upon it,
o Emit minimal output for the non-verbose case with the assumption
that savecore is run mostly from within /etc/rc,
o Update usage message to reflect what is and what's not,
o mark -d as obsolete.
Low-level changes:
o Rename devname to device, for devname mirrors a global declaration
and GCC 3.x warns about it,
o Open the dump device R/W for clear and !keep to work,
o Reorder the locals of DoFile according to style(9),
o Remove newlines from strings passed to warn* and err*,
o Use stat(2) to check if a dump has been saved before,
o Truncate existing core and info files to support force,
o First check for the magic and the version before we complain about
parity errors. This prevents emitting parity error messages when
there's no dump,
o Keep track of the number of headers found and the number of headers
saved to support the minimal output,
o Close files we opened in DoFile. Not critical, but cleaner.
|
|
|
|
|
|
|
|
|
| |
I'll still be overseeing the changes that go into natd(8) and
will maintain it the way I see it, non-preventing for the rest
of developers.
I will re-ask for the MAINTAINER bit if the ${MAINTAINER} gets
defined.
|
|
|
|
|
| |
PR: 34234
Submitted by: Gary W. Swearingen <swear@blarg.net>
|
|
|
|
| |
Fixed CLEANFILES.
|
|
|
|
|
| |
PR: 36465
No Objections from: ru
|
| |
|
|
|
|
|
|
| |
is a "set" not a "get" operation.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs
|
|
|
|
| |
Noticed by: bde
|
|
|
|
|
|
|
| |
to stop routed from sending out RIP updates.
PR: 29090
Submitted by: Matthew Braithwaite <mab@red-bean.com>
|
|
|
|
|
|
|
|
|
| |
particular as there may not be one. Remove #if 0'ed code which might
mislead people to think otherwise.
unifdef -ULOSTDIR, fsck can make lost+found on the fly.
Sponsored by: DARPA & NAI Labs
|
|
|
|
|
|
|
| |
EOPNOTSUPP. This will make things less painful when I will commit
the conversion of devfs, fdescfs and pseudofs to nmount.
Reviewed by: phk
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that might have changed, then did a byte-by-byte comparison with
the alternate. If any unused fields got used, they had to be added
to the exception list. Such changes caused too many false alarms.
So, I have changed the comparison algorithm to compare a selected
set of fields that are not expected to change. This new algorithm
causes far fewer false hits and still does a good job of detecting
problems when they have really occurred. In particular, this change
should ease the transition to kernels supporting UFS2 which make
some significant changes to the superblock.
Sponsored by: DARPA, NAI Labs
|
| |
|
| |
|
| |
|
|
|
|
|
| |
__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
|