| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Submitted by: Dima Dorfman <dima@unixfreak.org>
Obtained from: NetBSD
|
| |
|
|
|
|
| |
Reviewed by: grog
|
| |
|
|
|
|
|
|
| |
specify -u.
Spotted by: dcs
|
|
|
|
| |
Requested by: rwatson
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
being:
# size offset fstype [fsize bsize bps/cpg]
a: 400M 0 4.2BSD 4096 16384 75 # (Cyl. 0 - 812*)
b: 1G * swap
c: * * unused
e: 204800 * 4.2BSD
f: 5g * 4.2BSD
g: * * 4.2BSD
These patches are the original work of Randell Jesup, and
I believe Matt Dillon, with additional work by Warner Losh.
Please let me know if I've left someone out.
Incorporated into this is the fix for PR bin/22727.
This patchset still has style issues and a possible problem on
large disks. However, it was a agreed to get these committed before
performing major surgery on them.
PR: bin/22727
Submitted by: Randell Jesup <rjesup@wgate.com>
|
| |
|
|
|
|
|
|
| |
Implement "-l" option to mdconfig which can list one or all md devices.
Submitted by: Dima Dorfman <dima@unixfreak.org>
|
|
|
|
| |
Submitted by: dcs
|
|
|
|
| |
PR: bin/25337
|
|
|
|
| |
Reviewed by: peter
|
|
|
|
|
|
| |
comments/additions/corrections are welcome.
Obtained from: KAME
|
|
|
|
|
|
| |
and quota.group.
PR: docs/25124
|
| |
|
|
|
|
| |
Obtained from: KAME
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
userland tool:
Use the vfs.devfs.generation sysctl to test for devfs presense
(thanks phk!) when devfs is active it will not try to create the
device nodes in /dev and therefore will not complain about the
failure to do so.
Revert the change in the #define for VINUM_DIR in the kernel
header so that vinum can find its device nodes.
Replace perror() with vinum_perror() to print file/line when
DEVBUG is defined (not defined by default).
kernel:
Don't use the #define names for the "superdev" creation since
they will be prepended by "/dev/" (based on VINUM_DIR), instead
use string constants.
Create both debug and non-debug "superdev" nodes in the devfs.
Problem noticed and fix tested by: Martin Blapp <mblapp@fuchur.lan.attic.ch>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
actually in the kernel. This structure is a different size than
what is currently in -CURRENT, but should hopefully be the last time
any application breakage is caused there. As soon as any major
inconveniences are removed, the definition of the in-kernel struct
ucred should be conditionalized upon defined(_KERNEL).
This also changes struct export_args to remove dependency on the
constantly-changing struct ucred, as well as limiting the bounds
of the size fields to the correct size. This means: a) mountd and
friends won't break all the time, b) mountd and friends won't crash
the kernel all the time if they don't know what they're doing wrt
actual struct export_args layout.
Reviewed by: bde
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Use sysctlbyname() instead of sysctl().
Clear up and simplify the version extraction code.
Attempt to detect stretches of zeroes in the dump and avoid writing
them to disk to save space and time.
|
|
|
|
| |
Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
|
|
|
|
|
|
| |
They can't be created via mknod and the kernel crashes if it encounters
such an inode.
Approved by: mckusick
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
address is configured on a interface. This is useful for routers with
dynamic interfaces. It is now possible to say:
0100 allow tcp from any to any established
0200 skipto 1000 tcp from any to any
0300 allow ip from any to any
1000 allow tcp from 1.2.3.4 to me 22
1010 deny tcp from any to me 22
1020 allow tcp from any to any
and not have to worry about the behaviour if dynamic interfaces configure
new IP numbers later on.
The check is semi expensive (traverses the interface address list)
so it should be protected as in the above example if high performance
is a requirement.
|
| |
|
|
|
|
|
|
|
| |
Add .Xr to fsck.
Prompted by: JM Jr's script that shows binaries with no whatis info
Reviewed by: adrian
|
|
|
|
| |
mount would show up as "/dev/", loose that trailing slash.
|
|
|
|
|
|
| |
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
|
|
|
|
|
|
| |
Seperate does not exist in the english language.
Submitted to look at by: kris
|
|
|
|
|
| |
PR: 24842
Submitted by: Rich Morin <rdm@cfcl.com>
|
|
|
|
|
| |
PR: docs/24693
Submitted by: Etienne Vidal <hallik@libertysurf.fr>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
field, so it was possible for a filesystem marked clean by fsck_ffs
to cause kernel crashes later when mounted. This could occur when
fsck_ffs was used to repair a badly corrupted filesystem.
As pointed out by bde, it is not sufficient to restrict di_size to
just the superblock fs_maxfilesize limit. The use of 32-bit logical
block numbers (both in fsck and the kernel) induces another file
size limit which is usually lower than fs_maxfilesize. Also, the
old 4.3BSD filesystem does not have fs_maxfilesize initialised.
Following this change, fsck_ffs will enforce exactly the same
file size limits as are used by the kernel.
PR: kern/15065
Discussed with: bde
Reviewed by: bde, mckusick
|
| |
|
| |
|
|
|
|
| |
Reviewed by: sheldonh
|
|
|
|
| |
Submitted by: "Jason Smethers" <jsmethers@pdq.net>
|
|
|
|
| |
Submitted by: "Jason Smethers" <jsmethers@pdq.net>
|
|
|
|
|
|
|
| |
Commit the right version, but without the -b option which is too evil
for the present.
Remove -b and preload from the manpage as well.
|
|
|
|
|
|
| |
Remember to set mode 1777 on /tmp
Submitted by: mjacob
|
| |
|
|
|
|
| |
ENOENT.
|
|
|
|
|
| |
Due to the old message, I spent way more time debugging a diskless
root problem than it should have taken.
|
|
|
|
| |
This is untested, but believed to work.
|
|
|
|
| |
Obtained from: KAME
|
|
|
|
| |
Submitted by: ru
|
| |
|