| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
For filesystems which use vfs_mount_error() to log an error, this
char buffer will be populated with a string error message.
If nmount() fails, in addition to printing out strerror(errno),
print out the "errmsg" populated by vfs_mount_error().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
makes restore less efficient, but it makes a bigger effore to read
corrupted dumps. Specifiacally, when in degreded mode:
1) Restore shifts the input by 1 byte if it sees a problem,
rather than one tape block.
2) It doesn't assume the inodes are stored in ascending order.
3) It turns some panics into warning printfs.
We also verify some fields more carefully than before.
There's probably more a degreded mode could do, but this seems to
help a lot.
Approved by: imp, iedowse, mckusick
MFC after: 3 weeks
|
| |
|
|
|
|
|
| |
upon the scsi flag validity field. Instead, just say "Command Queueing Enabled"
when it is- otherwise remain mute.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and Daichi GOTO <daichi@FreeBSD.org> for submitting this
major rewrite of unionfs. This rewrite was done to
try to solve many of the longstanding crashing and locking
issues in the existing unionfs implementation. This
implementation also adds a 'MASQUERADE mode', which allows
the user to set different user, group, and file permission
modes in the upper layer.
Submitted by: daichi, Masanori OZAWA
Reviewed by: rodrigc (modified for minor style issues)
|
|
|
|
|
|
|
|
| |
This will allow the NFS mount code to return a string error message
in addition to returning an error integer value.
Reviewed by: mohans
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
the "_nfs" part of argv[0]. This should facilitate unifying mount_nfs
and mount_nfs4 into one binary.
MFC after: 1 month
Reviewed by: mohans
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
them unsigned I made the possible overflows hard to detect,
and it only saved 1 bit which isn't principal, even less now
that the underlying issue with the total of virtual memory has
been fixed. (For the record, it will overflow with >=2T of
VM total, with 32-bit ints used to keep counters in pages.)
- While here, fix printing of other "struct vmtotal" members
such as t_rq, t_dw, t_pw, and t_sw as they are also signed.
Reviewed by: bde
MFC after: 3 days
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- use flags rather than sperate ioctls for edge, p2p
- implement p2p and autop2p flags
- define large pathcost constant as ULL
- show bridgeid and rootid in ifconfig
Obtained from: Reyk Floeter <reyk@openbsd.org>
|
|
|
|
|
| |
- Don't build ngctl(8) and cached(8) if threading libs aren't built.
- Fix various issues in a cached(8) makefile.
|
| |
|
|
|
|
|
| |
mount_linprocfs, and mount_std from the build. They are no longer
used, and can be replaced with "mount -t fstype".
|
|
|
|
| |
MFC after: 3 days
|
| |
|
| |
|
|
|
|
| |
Reviewed by: mohans
|
|
|
|
|
|
|
| |
- Fix overflow bugs in sysctl(8), systat(1), and vmstat(8)
when printing values of "struct vmmeter" in kilobytes as
they don't necessarily fit into 32 bits. (Fix sysctl(8)
reporting of a total virtual memory; it's in pages too.)
|
|
|
|
|
|
|
| |
we exec an external mount program, or just call nmount()
to mount a filesystem.
Noticed by: kris
|
|
|
|
|
|
|
|
| |
address learned by the bridge is made permanent, the address will not age out
and most importantly will not migrate to another interface.
This can be used to stop mac address poisoning or clients roaming in much the
same way as static entries without the hassle of preloading the table.
|
|
|
|
|
| |
Reviewed by: brd
Approved by: ru (mentor)
|
|
|
|
| |
Approved by: keramida (mentor), trhodes (mentor) (implicit)
|
|
|
|
|
|
|
|
| |
- reference devfs.conf and devfs.rules in SEE ALSO section
Approved by: keramida (mentor), trhodes (mentor)
PR: docs/103347
MFC-after: 3 days
|
|
|
|
|
|
|
| |
Remove -p from usage, it's gone completely now.
PR: 83387
Submited by: arved
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compatible, it would have to (at least):
- support the "compat-compat" -T option,
- *not* support the -l, -O, and -v options,
- default to soft updates being disabled.
Worse, the compatibility mode makes it impossible to mount_mfs(8)
a file system from fstab(5) with soft updates disabled (-S). [1]
Now, the only difference when called as "mount_mfs" or "mfs" (as
opposed to "mdmfs") is that the file mode of the mount point is
set by default to 01777. All options available to mdmfs(8) are
also available to mount_mfs(8); the -C option is still recognized
but ignored for backward compatibility.
PR: bin/98860 [1]
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
| |
as the default.
Reviewed by multitudes.
|
|
|
|
|
|
| |
gmirror and graid3 in a way that it is not resynchronized after a
power failure or system crash.
It is safe when gjournal is running on top of gmirror/graid3.
|
| |
|
| |
|
|
|
|
| |
Reported by: Peter Grehan <grehan@freebsd.org>
|
|
|
|
|
|
|
|
|
|
| |
RSTP provides faster spanning tree convergence, the protocol will exchange
information with neighboring switches to quickly transition to forwarding
without creating loops. The code will default to RSTP mode but will downgrade
any port connected to a legacy STP network so is fully backward compatible.
Reviewed by: syrinx
Tested by: syrinx
|
| |
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
|
|
|
|
|
|
| |
and -p flag was given perform fast file system checking (bascially only
garbage collecting of orphaned objects).
Rename bread() to blread() and bwrite() to blwrite() as we now link to
the libufs library, which also implement functions with that names.
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
|
|
|
| |
MNT_GJOURNAL flag is not a mount-time flag, but it is needed to show
'gjournal' option in mount(8) output.
Sponsored by: home.pl
|
|
|
|
|
|
|
|
| |
support.
I left -j flag for UFS journal implementation which we may gain at some
point.
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
|
|
|
|
|
| |
- Increase timeout to 8 seconds (should be made configurable).
Reported by: Ulrich Spoerlein <uspoerlein@gmail.com>
Reported by: Christian Laursen <xi@borderworlds.dk>
PR: kern/104829
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in /etc/fstab.
This has been happening due to the priority inversion; options
specified on the command line should take precedence over options
from fstab over default "noro" option, but since both the default
"noro" and options specified on the command line (-w, -r, -o ...)
were put into the same "options" variable, "noro" took precedence
over fstab "ro" (this is easily visible with "mount -d").
PR: bin/100164
|
| |
|
|
|
|
| |
to /dev/null before becoming a daemon.
|
|
|
|
| |
Not fixed: the description of media-type is completely bogus.
|