summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Use v3 protocol by default if it is supported by the server. Allow thedfr1997-04-182-11/+49
| | | | | | user to force v2 protocol even if the server supports v3. Obtained from: NetBSD but with a slightly different implementation
* Fix typo: "oder" -> "order".danny1997-04-161-2/+2
|
* Implement a -r option to fsdb(8), ``read/only''.joerg1997-04-153-45/+63
|
* Oops...now really commit the doc change.guido1997-04-091-1/+3
|
* Make a sysconfig variable controlling if teh kernel should acceptguido1997-04-091-8/+10
| | | | | | | nfs requests from non-privileged ports. Change mountd such that it does never set this variable, but only clears it when run with -n. Also document this in the man page.
* Allow "modern" syntax:phk1997-04-021-5/+21
| | | | route add -net 192.168.64.0/20 bla bla bla
* unifdef CCITT, ISO & CRUFT.phk1997-04-023-303/+2
|
* Make "-o noxxx" work properly, allowing the user to clean e.g. the resvportdfr1997-04-021-22/+47
| | | | flag (which is now set by default).
* Be more specific as to which flags may not be turned off when thempp1997-04-011-2/+3
| | | | | | system is running in secure mode. Obtained from: NetBSD PR# 3299
* Make mount_nfs use reserved ports by default.. Mounts already useguido1997-04-011-2/+2
| | | | | | | | a reserved port, so why not the nfs rpc's themselves? With user allowed mounts, this perhaps needs a closer look, but on the other hand, a user could already specify the flag. If normal users should not be able to use resserved ports, the kernel should check for the flag at mount time.
* Don't fail when the vfs.nfs.nfs_privport sysctl doesn't existbde1997-04-011-4/+4
| | | | | | | | | | (presumably because the kernel is old). Moved the declaration of a variable realated to this sysctl outside of an unrelated ifdef. Not fixed: - this sysctl is badly named (nfs occurs twice). - it's silly to have for FreeBSD in FreeBSD code, especially when only half of the FreeBSD-dependent code is ifdefed.
* Fixed missing DPADD. Removed now-redundant SRCS.bde1997-04-011-1/+1
|
* Remove the syslog stuff, and allow various return valuesbrian1997-03-312-5/+16
| | | | | | | | | in uu_lock(). Add uu_lockerr() for turning the results of uu_lock into something printable. Remove bogus section in man page about race conditions allowing both processes to get the lock. Include libutil.h and use uu_lock() correctly where it should. Suggested by: ache@freebsd.org
* Fix the mount_mfs case from the last cleanup. The code was (ab)usingpeter1997-03-311-1/+17
| | | | | | | | | | | it's internal malloc() implementation to try and avoid overstepping it's resource limits (yuk!). Remain using libc's malloc(), but check the resource limits right before trying to malloc the ramdisk space and leave some spare memory for libc. In Andrey's words, the internal malloc was "true evil".. Among it's sins is it's ability to allocate less memory than asked for and still return success. stdio would just love that. :-) Reviewed by: ache
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-312-3/+3
| | | | posix standard on the topic.
* Move uucplock into libutil and create a manual page.brian1997-03-303-166/+4
|
* Fix mount call for devfs.phk1997-03-301-2/+1
| | | | Submitted by: bde
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-2946-69/+69
| | | | posix standard on the topic.
* Make this compile after the fsirand changes that deleted two fields.peter1997-03-281-2/+2
| | | | | | | | | I was not sure whether the fs_id fields should be printed in the clear in case of sniffing over a network login etc. It might be an idea to have somebody with spare time go through and find any other missing fields that should be reported. Definate 2.2.x/2.1.x candidate since it breaks the build.
* Add code that will reject nfs requests in teh kernel from nonprivilegedguido1997-03-271-1/+14
| | | | | | ports. This option will be automatically set/cleraed when mount is run without/with the -n option. Reviewed by: Doug Rabson
* Update HISTORY to reflect that this will first appear in 2.2.5.mpp1997-03-271-1/+1
|
* Typo fix (now how did that one get by me :-).mpp1997-03-271-1/+1
| | | | Submitted by: Philippe Charnier
* Get rid of __progname. I thought I already did that...guido1997-03-261-4/+2
|
* Typo police. Also update HISTORY to reflect when this first appearedmpp1997-03-241-3/+6
| | | | in FreeBSD.
* Include missing <time.h>ache1997-03-241-0/+4
| | | | | Add missing RNG initialization Use srandomdev() for RNG initialization
* Cleanup STANDALONE stuffache1997-03-241-28/+43
| | | | | | Not replace malloc() family for non-standalone variant Pay attention on malloc() family return code now Use srandomdev() now for RNG initialization
* Fix small race window when creating portal socket.imp1997-03-242-2/+8
| | | | Obtained from: OpenBSD
* Use mkstemp rather than mktemp to prevent a small race.imp1997-03-242-22/+22
| | | | Obtained from: OpenBSD
* Reactivated dumplfs and newlfs.bde1997-03-241-4/+2
|
* Changed MAN to MAN8 so that this builds.bde1997-03-241-1/+1
|
* Add generation number randomization. Newly created filesystems wil nowguido1997-03-236-7/+449
| | | | | | | | | automatically have random generation numbers. The kenel way of handling those also changed. Further it is advised to run fsirand on all your nfs exported filesystems. the code is mostly copied from OpenBSD, with the randomization chanegd to use /dev/urandom Reviewed by: Garrett Obtained from: OpenBSD
* Mdoc cleanup.mpp1997-03-191-71/+116
|
* patch up some "int *" vs. "time_t *" (long) mismatches. They could bepeter1997-03-183-6/+12
| | | | nasty if sizeof(int) != sizeof(long).
* Restore check for ridiculous directory sizes.peter1997-03-183-6/+6
|
* Document the -a option in .Fl form instead of .Cm form to be consistantpeter1997-03-151-2/+2
| | | | | with the rest of the manpage. (Lite2 documents it in getopt form, Lite1 did it in old-style arg format)
* The -a option (autosize) option got mangled during the Lite2 merge.peter1997-03-151-3/+2
| | | | Pointed out by: Tom Jackson <tom@peeper.jackson.org>
* Fixed bogus casts from (int32_t *) to (time_t *).bde1997-03-131-4/+8
|
* Kill the Lite2 early "filesystem clean abort" check and go back topeter1997-03-136-24/+18
| | | | | | | | something closer to how we used to do it. The Lite2 way is to check the "fsclean" flag in the superblock and stop there if so (during preen). We now do the various superblock sanity checks that we used to do before since it's cheap. We now get the filesystem state summary again instead of "FILESYSTEM CLEAN; CHECKING SKIPPED" (or whatever).
* Reactivate fsdbpeter1997-03-131-2/+2
|
* Missing $Id$peter1997-03-133-2/+4
|
* Make this compile. Mostly use the new names for the ctime/atime/mtimepeter1997-03-132-7/+7
| | | | stamps in the inodes and call one of fsck's utility funcs with a new arg.
* Fixed checking for a non-numeric minor number.bde1997-03-121-2/+2
|
* Record num_eisa_slots if it could be found in the kernel.joerg1997-03-121-1/+41
|
* Finished (?) merging with Lite2: cleaned up #include mess; fixed mergingbde1997-03-122-124/+96
| | | | | | | | | | errors (mis-sorted prototypes, duplicated MNT_NOATIME, duplicated NULL mntopts fixup). Updated getopt() usage. Fixed style bugs in FreeBSD changes (one or two per line for putfsent() stuff).
* Finished (?) merging with Lite2: cleaned up #include mess.bde1997-03-1212-30/+12
|
* Finished (?) merging with Lite2: cleaned up #include mess.bde1997-03-127-53/+42
| | | | Fixed style bugs in FreeBSD changes.
* Finished (?) merging with Lite2: cleaned up #include mess and fixed abde1997-03-123-9/+3
| | | | | | style bug. Removed a redundant declaration.
* Finished (?) merging with Lite2: cleaned up #include mess.bde1997-03-123-9/+6
| | | | Fixed misformatting in a comment.
* Finished (?) merging with Lite2: cleaned up #include mess.bde1997-03-123-21/+3
| | | | Updated getopt() usage.
* Restored lost reference to fsdb(8).bde1997-03-123-3/+6
| | | | Fixed weird quoting of $Id$.
OpenPOWER on IntegriCloud