| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or without placing
an extern declaration of them in the proper header file.
|
| |
|
| |
|
|
|
|
| |
This allows ``ffsinfo -o - -l1 /tmp'' to run a lot quicker.
|
| |
|
|
|
|
|
|
|
| |
/var/tmp is a world-writable directory.
MFC after: 3 days
Reported by: Jon Passki <cykyc@yahoo.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strings. This isn't necessarily a bug, but it can be slightly inconvenient,
because atol() doesn't know how to parse hexadecimal or octal numbers and at
least one of the options of ffsinfo(8) would be easier to use if it did.
Changing atol() -> strtol() allows one to use hex masks for -l MASK, i.e.:
orion:/a/freebsd/src/sbin/ffsinfo# ./ffsinfo -l 0x3ff /
PR: 73110
Submitted by: keramida
MFC after: 2 weeks
|
|
|
|
| |
possibly unsigned).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update ffsinfo(8) to use new UFS2 support in the growfs(8) debugging
functions. Largely consists of renaming fields and types to be aware
of the UFS1/UFS2 distinction, relying on libufs(3) to open and sanity
check the device/file/label accessed.
Since libufs(3) now handles label/UFS interactions, remove -L argument.
Note: when submitted, this patch had substantial style changes. I've
attempted to remove the restyling from the patch to separate the
functional and style changes.
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
PR: bin/53517
|
| |
|
| |
|
|
|
|
|
|
|
| |
and yes now it also works on alpha
Reviewed by: chm
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
| |
check a couple of mallocs
usage of errx
linebreaks of DBG_ macros,
correcting the usage of nroff macros
Submitted by: grog, charnier
Reviewed by: chm
|
|
Reviewed by: grog
|