| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This is untested, but believed to work.
|
|
|
|
| |
Obtained from: KAME
|
|
|
|
| |
Submitted by: ru
|
| |
|
|
|
|
| |
PR: kern/24248
|
|
|
|
|
| |
PR: 23984
Submitted by: Jimmy Olgeni <olgeni@uli.it>
|
|
|
|
|
|
|
|
|
|
|
| |
Removed used copies of ../mount/getmntopts.c ../mount/mntopts.h. Use the
versions in ../mount directly like all other mount utilities.
Removed used copy of ../mount/pathnames.h. Use the version in ../mount
for free as a side effect of using the mntopts files there. We should
not use it at all, since the 2/3 of the definitions in it are in <paths.h>
and the other 1/3 should be in ../mountd/pathnames.h and is not used by
mount_ifs anyway.
|
|
|
|
| |
been repo-copied.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Submitted by: Jimmy Olgeni <olgeni@uli.it>
PR: 24233
Fix typos.
Submitted by: "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in-core pointers to summary information. An array in this region
(fs_csp) could overflow on filesystems with a very large number of
cylinder groups (~16000 on i386 with 8k blocks). When this happens,
other fields in the superblock get corrupted, and fsck refuses to
check the filesystem.
Solve this problem by replacing the fs_csp array in 'struct fs'
with a single pointer, and add padding to keep the length of the
128-byte region fixed. Update the kernel and userland utilities
to use just this single pointer.
With this change, the kernel no longer makes use of the superblock
fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c
to indicate that these fields must be calculated for compatibility
with older kernels.
Reviewed by: mckusick
|
| |
|
|
|
|
| |
describing what newfs *does*.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Zsh users can add the following to their .zshrc for sysctl completion:
function listsysctls {
case $1 in
*.*) set -A reply $(sysctl -AN ${1%.*}) ;;
*) set -A reply $(sysctl -AN) ;;
esac
}
compctl -K listsysctls sysctl
While I'm here, brucify the getopt() switch.
|
|
|
|
| |
Reported by: dougb
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
reserved and now allocated TCP flags in incoming packets. This patch
stops overloading those bits in the IP firewall rules, and moves
colliding flags to a seperate field, ipflg. The IPFW userland
management tool, ipfw(8), is updated to reflect this change. New TCP
flags related to ECN are now included in tcp.h for reference, although
we don't currently implement TCP+ECN.
o To use this fix without completely rebuilding, it is sufficient to copy
ip_fw.h and tcp.h into your appropriate include directory, then rebuild
the ipfw kernel module, and ipfw tool, and install both. Note that a
mismatch between module and userland tool will result in incorrect
installation of firewall rules that may have unexpected effects. This
is an MFC candidate, following shakedown. This bug does not appear
to affect ipfilter.
Reviewed by: security-officer, billf
Reported by: Aragon Gouveia <aragon@phat.za.net>
|
|
|
|
| |
Reviewed by: sheldonh
|
|
|
|
|
| |
PR: 24004
Submitted by: Jimmy Olgeni <olgeni@uli.it>
|
|
|
|
|
|
|
|
|
|
|
|
| |
extension.
Add ability to create a preload disk giving an address and a length
(suggested by imp)
Fix bug relating to very small md(4) devices.
Update md.c copyright to reflect the status of code copied from vn.c.
(noticed by dillon)
|
| |
|
|
|
|
| |
in a sterile environment like "make release"
|
|
|
|
|
|
| |
Using the mdconfig(8) program you can now configure memory disks
on malloc(9), swap or a file/vnode. preloaded md disks also work
as usual.
|
|
|
|
|
| |
Add a rudimentary man-page. (I'm no mdoc wizard, feel free to attack my
mistakes and blunders)
|
|
|
|
|
| |
Submitted by: "Peter Avalos" <pavalos@theshell.com>
Reviewed by: /sbin/md5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I decided to work on the md(4) driver and integrate the vn(4)
functionality into it mainly based on the name being more suitable.
Ideally 'vd' as in "virtual disk" would probably be the most logical
but our sound-master pointed out that this would cause uncontrollable
fits of giggles in the brits. Another complication would the needed
changes to the ramdisk boot/root functionality.
The vn driver will stay around for some time after I complete this
merge for transition reasons, and I'll make it whine to people that
they should migrate to the md(4) driver for some time before it
dies.
The kernel part of the new md(4) driver will be committed after more
testing.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parallel fsck's one per drive, use the shortest prefix ending in
a digit rather than the longest prefix ending in a digit.
This makes "/dev/ad0s1a" and "/dev/ad0s2a" appear to both reside
on the disk "/dev/ad0" and consequently they will be fsck'ed
sequentially rather than in parallel as now.
In general this heuristic is rather soft and errorprone. For
instance ccd may often reside on two or more physical disks. A
good solution would be to look for passes larger than 1 until no
disks are found in a particular pass, that way people could put
ccd stripes in pass 3... and have them fsck'ed sequentially.
Reviewed by: mjacob
|
|
|
|
|
|
| |
data structures.
Reviewed by: imp
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Correct location of history file.
Change references from /dev/wd to /dev/ad.
Use more appropriate defaults for stripe size in examples.
|
| |
|
|
|
|
|
|
| |
vinum_attach: Get correct names (were being overwritten).
Submitted by: Terry Glanfield <Terry.Glanfield@program-products.co.uk>
|
|
|
|
|
|
|
| |
o Remove bug about boot blocks hating non-8k file systems. This hasn't been
the case for a long time.
Not Objected to by: hackers, doc
|
| |
|
|
|
|
|
| |
PR: 23334
Submitted by: Rich Morin <rdm@cfcl.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
directories in addition to world-writable directories. As before,
this check can be disabled with the "-i" option, which in turn can
be made the default for boot-up by setting "ldconfig_insecure=YES"
in "/etc/rc.conf".
Also fix an mdoc nit in the manual page.
Submitted by: Maxime Henrion <mux@qualys.com>
|
|
|
|
|
|
|
|
| |
a SIGINFO (normally via Ctrl-T), a line will be output indicating
the current phase number and progress information relevant to the
current phase.
Approved by: mckusick
|
|
|
|
| |
Reported by: Rich Morin <rdm@cfcl.com>
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: ru
Reviewed by: chm
|
| |
|