summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Generalise the previous change so that only NFS hostnames are looked up.dfr1997-05-161-2/+2
| | | | | PR: bin/3588 Suggested by: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
* Typo.max1997-05-151-1/+1
| | | | | PR: 3600 Submitted by: Josh Gilliam <soil@quick.net>
* Minor rewording of the examples section.alex1997-05-151-2/+3
|
* Clean up some more. Move parsing of sysctl iflist data into a singlepeter1997-05-103-192/+169
| | | | | | place rather than updating the main loop's index variables from within a subroutine and other revolting things like that. Move some more globals into local variables.
* Grumble.. My last patchup here didn't quite work either. I hate thispeter1997-05-103-30/+46
| | | | | | | program and it's use of global variables. Somehow, I managed to miss the most obvious case.. "ifconfig ed0 10.0.0.1" failed (no "inet") Submitted by: dfr
* Add utilities for the kernel linker.dfr1997-05-079-0/+555
|
* Restore unintentially lost backwards compat behavior of defaulting topeter1997-05-071-8/+6
| | | | | | | family inet if not specified. (eg: "ifconfig ed0" down would fail because no family was specified, even though the up/down status is not per family) Pointed out by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
* Fix a long-standing bug with dump not treating errors correctly. Theyjoerg1997-05-061-2/+4
| | | | | | | were mishandled as an EOF, which became fatal if your first tape was accidentally write-protected. PR: bin/850 dump treats write-protect as an EOT...
* Fix typo.eivind1997-05-041-1/+1
| | | | | PR: Closes PR docs/3488 Submitted by: k-horik@yk.rim.or.jp
* Commit hooks for ifmedia support. It's optional in the Makefile, andpeter1997-05-043-3/+77
| | | | can be trivially disabled.
* Bring in the ifmedia components of NetBSD's ifconfig as a seperate file.peter1997-05-041-0/+526
| | | | Obtained from: Jason Thorpe via NetBSD
* Second try at cleanups and fixes (without if_media stuff for the moment)peter1997-05-041-106/+174
| | | | | | | | | | | | | | | - parse command options using getopt for consistancy - sanitise the command parsing so that it's less like spaghetti - implement a "-l" option (idea from NetBSD - just list names) - attempt to clean up the sysctl parsing loop some more. It still needs to be taken out the back and shot though. - cut down on global usage, but there's a lot more scope for this. - make usage string a bit closer to reality (it was missing lots of things) Unfortunately, I did this for the second time but with the memory of the NetBSD version still recently in my mind. It's hard to redo simple changes or getopt stuff without making it look like what you've been working with a few hours ago.
* force null commit to skip over rev 1.25 so there's less cvs troublepeter1997-05-041-1/+1
|
* Grab some of the NetBSD text for describing the new options and thepeter1997-05-031-32/+66
| | | | media commands.
* OpenBSD uses ID 0xa6 for its partitions on i386, arc and others that needimp1997-05-022-0/+2
| | | | | | a BIOS-like partition table. We now detect this correctly and print the right thing. Obtained from: Value obtained from OpenBSD sources.
* Test both the NFS and MOUNT protocols for v3 support before allowing a v3dfr1997-05-011-1/+61
| | | | | | | mount. It is possible to have v3 MOUNT but only v2 NFS, for instance for a custom user-mode server like CFS. Reviewed by: "Louis A. Mamakos" <louie@TransSys.COM>
* Back out msmith's recent commit which breaks using symbolic names for netmasks.pst1997-04-301-6/+5
| | | | | | Instead, reverse the order of the testing, so if a symbolic name starts with a digit, we'll see if we can make a network address out of it first. If that fails, then we'll call getnet...
* Fix parsing of mount options with '=' in their name.msmith1997-04-302-2/+2
| | | | | PR: bin/3027 Submitted by: Louis Mamakos <louie@TransSys.COM>
* Document -k flag here, too.wollman1997-04-291-6/+12
|
* Implement Kerberized rcmd for rdump/rrestore. This is lacking thewollman1997-04-296-17/+74
| | | | | | | options one would normally expect to set the realm, enable encryption, and whatnot, but this actually is able to contact the remote server, so at least it's a start. (As a bonus, the stripped static binary is unquestionably exportable.)
* Userland part of ISO9660 multi-session support. mount_cd9660(8) willjoerg1997-04-292-11/+103
| | | | | | | | | | | | | | now by default mount the last data track (thus last session), as opposed to the very first session it has been mounting previously. This is consistent with the ISO9660 multi-session idea, and the way other operating systems are working. There's support to mount arbitrary sessions using the -s option. This way, you can simulate multi-session CDs on something like vn devices that don't support CDIO* ioctl commands. You can also force the historic behaviour with mount -t cd9660 -o -s=0 /dev/cd0a /cdrom
* Don't try to look up unionfs' <above>, <below> keywords as hostnames.dfr1997-04-291-2/+2
|
* Use realpath() on the source as well as the target otherwise it can bedfr1997-04-292-8/+16
| | | | impossible to unmount a union which was mounted with a relative pathname.
* Change vfork to fork, too many memory-clobbering actions present in childache1997-04-232-4/+4
|
* Don't call getnetbyname() on a netmask. On a system with a slow netmsmith1997-04-231-2/+2
| | | | | connection, a large set of network exports could take many minutes to time out, giving the appearance of a total hang during boot.
* Spelling police.danny1997-04-232-4/+4
|
* Add a -2 flag to mountd to allow an admin to disable NFSv3 services.dfr1997-04-222-7/+20
| | | | This is handy for testing and possibly to work around busted v3 clients.
* 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
|
OpenPOWER on IntegriCloud