| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Teach the mount program to call the nmount() syscall directly
- Preserve existing method of calling mount() for UFS, until we clean things
up.
- Preserve existing method of forking and calling external mount programs for
mfs, msdosfs, nfs, nfs4, ntfs, nwfs, nullfs, portalfs, reiserfs, smbfs,
udf, umapfs, unionfs
- devfs, linprocfs, procfs, ext2fs call nmount() syscall directly, since
that is all those external mount programs were doing
Reviewed by: phk
Discussed on: arch
|
|
|
|
|
| |
Requested by: ru
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Steve Kargl sgk at troutmask dot apl dot washington dot edu
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
with the rest.
mdconfig.c: Simplify mdmaybeload() function.
mdioctl.h: Removed (now unused) #define.
loader.conf: Sort GEOM classes properly.
OK'ed by: phk
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
length and bail immediatly if the returned length is wrong rather than
attempting to set an correct value.
This commit differs from the patch in the PR in the use of exit instead
of return and the use of a defined value for the array.
Submitted by: Daan Vreeken [PA4DAN] <Danovitsch at Vitsch dot net>
PR: bin/74509
|
|
|
|
| |
PR: misc/88159
|
|
|
|
|
|
|
|
|
| |
Note the default balancing algorithm and stripe size.
geom_mirror.c:
Slightly friendlier error message.
Reviewed by: pjd
|
|
|
|
|
|
|
|
| |
that debug.mpsafenet be set to 0. It is still possible for dead locks to
occur while these filtering options are used due to the layering violation
inherent in their implementation.
Discussed: -current, rwatson, glebius
|
|
|
|
| |
handle the old filesystem format on 2002/06/21.
|
|
|
|
|
|
|
| |
that future variable shadowing bugs don't compile.
Reviewed by: imp
Compiled on: alpha i386 sparc64
|
|
|
|
|
|
|
|
| |
that just uses the variable and throws it away.
This should fix the subsystem keyword wrt media-type.
MFC After: 2 days
|
|
|
|
|
|
| |
size.
PR: 86355
|
|
|
|
|
|
| |
is disabled or fails.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<group> is a numeric user/group ID instead of a user/group name (as
explicitly intended to be allowed by both the manual page and the
implementation).
Before this fix, mdmfs(8) aborted:
| # mdmfs -s 32m -w 0:0 md /var/tmp/foo
| Assertion failed: (mip->mi_have_uid), function extract_ugid, file /usr/src/sbin/mdmfs/mdmfs.c, line 555.
| Abort trap (core dumped)
The "mi_have_[ug]id" fields were only set in case a name lookup was
successful. Instead they also have to be set in case the string to
integer conversion was successful.
Additionally, as a result of this fix, two assertions at the end of
the function are now always true and hence can be just be removed. It
is guarrantied that both the UID and the GID are set when the function
returns regularily, else it would have been already bailed out with
usage()/exit(3) or errx(3) before.
Spotted by: Christoph Schug <chris@schug.net>
MFC after: 3 days
|
|
|
|
| |
Obtained from: KAME
|
| |
|
|
|
|
|
|
| |
This will allow for NFS mount of /usr over IPsec.
Discussed on: arch@
|
|
|
|
|
|
|
|
|
| |
where applicable. The main reason for this change is that
the location of make.conf is not constant and can be
modified via __MAKE_CONF. This change also improves
hyper-text linkage in our manpages.
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
| |
'comparison between signed and unsigned' compiler warning.
|
|
|
|
| |
Make prototype in extern.h match prototype in mount_ufs.c
|
|
|
|
|
|
|
|
|
|
| |
member: xl0 flags=7<LEARNING,DISCOVER,STP>
member: gem0 flags=7<LEARNING,DISCOVER,STP>
to:
member: xl0 flags=7<LEARNING,DISCOVER,STP>
port 3 priority 128 path cost 55 forwarding
member: gem0 flags=7<LEARNING,DISCOVER,STP>
port 1 priority 128 path cost 55 learning
|
| |
|
|
|
|
|
|
|
| |
In those contexted, use subsystem instead.
# This causes dhclient to run again when I plug in my ethernet cable to
# my fxp card in my laptop.
|
|
|
|
|
|
|
|
|
| |
and "vlandev" commands can be specified in any order.
This makes the code more compact and clear as well.
Improve error check on vlan argument.
MFC after: 2 weeks
|
|
|
|
| |
- Bump revision date to match many content changes since last revision
|
| |
|
|
|
|
|
| |
PR: docs/85095
Submitted by: Rostislav Krasny
|
|
|
|
|
|
|
|
| |
mangled in rev. 1.72.
PR: bin/86805
Submitted by: Gavin Atkinson
MFC after: 3 days
|
|
|
|
| |
the "if" clauses.
|
|
|
|
|
|
|
|
| |
introduce "-tunnel" as an alias for "deletetunnel".
The latter is overly long and prone to typos, but
keep it for POLA since it costs nothing.
MFC after: 5 days
|
| |
|
|
|
|
|
|
| |
Submitted by: Fredrik Lindberg <fli+freebsd-current at shapeshifter.se> (implementation)
Reviewed by: brooks
MFC after: 5 days
|
| |
|
|
|
|
|
|
|
| |
so it don't provoke confusions.
Noticed by: Victor Sudakov <sudakov@sibptus.tomsk.ru>
MFC after: 2 days
|
|
|
|
| |
Reviewed by: arch
|
|
|
|
| |
Reminded by: ru
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
module is loaded or compiled into the kernel.
This is useful mostly in startup scripts, when module should be loaded only
if it wasn't compiled into the kernel nor already loaded, eg.:
kldstat -q -m g_eli || kldload geom_eli.ko || err 1 'geom_eli module failed to load.'
|
|
|
|
|
|
| |
(not in mdoc(7) sense yet) in ifconfig(8) manpage, create such
subsections for gif(4) and vlan(4) so that their specific
options are not mixed up with general options.
|
|
|
|
|
|
|
|
|
| |
- Add description for EEXIST.
- Change description for ENOBUFS. Routing socket can return
this error for many different reasons, including general
memory shortage, mbuf memory shortage and rtentry zone.
PR: kern/64090 [1]
|
|
|
|
|
|
|
|
| |
UFS2 file system, in fsck_ffs(8).
Submitted by: KOMATSU Shinichiro <koma2 at lovepeers ! org>
PR: docs/86362
MFC After: 3 days
|
|
|
|
|
|
| |
- Call gctl_free() to free resource allocated with gctl_get_handle().
MFC after: 3 days
|
|
|
|
| |
PR: docs/84704
|
|
|
|
|
|
| |
PR: bin/84664
Submitted by: Daan Vreeken <Danovitsch at Vitsch dot net>
MFC after: 3 days
|
|
|
|
|
|
|
| |
errors generated. In particular, it suppresses "unknown oid" when
attempting to get or set a sysctl not present in the kernel.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shutdown procedures (which have a duration of more than 120 seconds).
We have two user-space affecting shutdown timeouts: a "soft" one in
/etc/rc.shutdown and a "hard" one in init(8). The first one can be
configured via /etc/rc.conf variable "rcshutdown_timeout" and defaults
to 30 seconds. The second one was originally (in 1998) intended to be
configured via sysctl(8) variable "kern.shutdown_timeout" and defaults
to 120 seconds.
Unfortunately, the "kern.shutdown_timeout" was declared "unused" in 1999
(as it obviously is actually not used within the kernel itself) and
hence was intentionally but misleadingly removed in revision 1.107 from
init_main.c. Kernel sysctl(8) variables are certainly a wrong way to
control user-space processes in general, but in this particular case the
sysctl(8) variable should have remained as it supports init(8), which
isn't passed command line flags (which in turn could have been set via
/etc/rc.conf), etc.
As there is already a similar "kern.init_path" sysctl(8) variable which
directly affects init(8), resurrect the init(8) shutdown timeout under
sysctl(8) variable "kern.init_shutdown_timeout". But this time document
it as being intentionally unused within the kernel and used by init(8).
Also document it in the manpages init(8) and rc.conf(5).
Reviewed by: phk
MFC after: 2 weeks
|