| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
real path here for the mount device (or path). This fixes difficulties
unmounting devices that are actually symlinks to real devices.
Also, print the original path instead of the real path in early error
messages. nfs path handling and later error messages may still be wrong,
probably only in silly cases where the original path is both a symlink
and a remote path.
PR: 5208
|
|
|
|
|
|
|
| |
size was rounded up to a multiple of the fragment size, but this
gave invalid file systems when the fragment size was > SBSIZE (fsck
aborts early on them). Now a fragment size of 32768 seems to work
(too-simple tests with fsck and iozone worked).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
superblock is invalid, fsck looks at the label to help guess where
the next superblock should be. If the partition type is 4.2BSD,
fsck assumed that the block size was valid and divided by it, so
it dumped core if the size was 0.
Initialization of the label was broken almost 3 years ago in rev.1.9
of newfs/newfs.c. Newfs does not change the label at all, so there
is no problem (except the breakage of the automatic search for
backup superblocks) unless something else sets the partition type
to 4.2BSD. However, it is too easy to set partition types to
4.2.BSD by copying an old label or by using a disktab entry to
create the label.
PR: 2537
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove unused #includes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
rely on undocumented behavior.
The following fixes were obtained from OpenBSD:
o -Wall fixes to tlist array initialization and assignment used
as truth value.
o Use a restricted environment.
o Improved error message when shutdown fails to exec reboot or halt.
|
|
|
|
| |
Obtained from: NetBSD PR2737 (augustss@cs.chalmers.se) via OpenBSD
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
consequence, ipfw's list command now adjusts its output at runtime
based on the largest packet/byte counter values.
NOTE:
o The ipfw struct has changed requiring a recompile of both kernel
and userland ipfw utility.
o This probably should not be brought into 2.2.
PR: 3738
|
| |
|
|
|
|
|
| |
in the 22nd century and beyond even though it's irrelevant with a 32-bit
time_t which expires in the year 2038.
|
|
|
|
| |
Submitted by: bde
|
|
|
|
| |
Obtained from: Bruce.
|
|
|
|
| |
Use error codes from <sysexits.h>.
|
|
|
|
|
|
|
| |
zero/delete operations fail.
PR: 4231
Reviewed by: Archie Cobbs <archie@whistle.com>
|
|
|
|
| |
to make it print: usage: progname ...
|
| |
|
| |
|
|
|
|
|
| |
PR: 5413
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
|
|
|
|
| |
Suggested by: joerg
|
|
|
|
|
|
|
| |
confused when they can't find it), but leave the reference to it
as being a standard filename (which doesn't imply that it exists).
Discussed with: jkh
|
|
|
|
|
| |
Submitted by: Niall Smart rotel@indigo.ie
Obtained from: OpenBSD (rev 1.7 and 1.8)
|
|
|
|
| |
Approved by: Ari Suutari <ari@suutari.iki.fi>
|
|
|
|
| |
Make the other examples prettier.
|
|
|
|
|
| |
device resides and that the -f flag must specify the `whole slice'
if it's a disk.
|
|
|
|
| |
Submitted by: Bruce Evans <bde@zeta.org.au>
|
| |
|
|
|
|
|
|
|
| |
while here.
PR: 5387
Submitted by: Matthew Hunt <mph@pobox.com>
|
| |
|
|
|
|
| |
Submitted by: bde
|
| |
|
|
|
|
|
| |
gethostbyaddr.
Submitted by: Julian Assange
|
|
|
|
|
| |
1) Correct strncpy usage
2) gethostbyaddr paranoia from Julian Assange
|
| |
|
|
|
|
| |
Submitted by: Julian Assange
|
|
|
|
|
| |
gethostbyaddr.
Submitted by: Julian Assange
|
|
|
|
| |
Submitted by: bde
|
| |
|
|
|
|
| |
Submitted by: max
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
|
| |
e.g. -1, were not detected. Use a bulletproof check that doesn't
depend on special properties of the args or the limit.
PR: 3528
|
|
|
|
|
|
|
|
|
|
|
| |
floating point better in the percentage calculation there to avoid
overflow when there are more than about 20 million fragments. Start
using floating point in the other percentage calculation to avoid
overflow when there are more than about 2 million fragments.
Fixed printf format strings.
Converted sccsid to rcsid.
|
|
|
|
|
|
|
|
|
|
|
| |
when there isn't even a filesystem. Attempting to print them tended
to cause SIGSEGV or SIGFPE depending on how far setup() got before it
returned 0. This was broken in the previous revision by removing a
return statement that the previous case depended on falling into.
PR: 4840 (fixed by this commit)
PR: 2537 (possibly fixed by Lite2 merge and later changes. setup()
does more checking now)
|
| |
|
|
|
|
| |
I'm not sure it's fully functional though !
|
|
|
|
| |
before /usr is mounted if /usr has type nfs.
|
| |
|
|
|
|
| |
requests. If you want this extra loggin, add the -l option.
|