summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove -DMFS from CFLAGS.dd2001-05-291-1/+1
|
* Remove all references to MFS.dd2001-05-291-92/+2
|
* Ignore the new superblock fields fs_pendingblocks and fs_pendinginodesiedowse2001-05-291-0/+2
| | | | | | | when comparing with the alternate superblock. These fields are used for temporary in-core information only. This should fix the "VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE" error from fsck_ffs that has been seen a lot recently.
* Remove MFSphk2001-05-291-4/+1
|
* A more complete removal of MFS related code.phk2001-05-293-312/+59
| | | | XXX: This program badly needs a style(9) + BDECFLAGS treatment.
* Initial cleanout of MFS from newfs. More complete wash needed.phk2001-05-292-6/+3
|
* Since the netexport struct was centralised to 'struct mount',iedowse2001-05-291-3/+4
| | | | | | | | | | | | | attempting to remove nonexistant exports with MNT_DELEXPORT returns an error; before this change it always succeeded. This caused mountd(8) to log "can't delete exports for /whatever" warnings. Change the error code from EINVAL to a more specific ENOENT, and make mountd ignore this error when deleting the export list. I could have just restored the previous behaviour of returning success, but I think an error return is a useful diagnostic. Reviewed by: phk
* When using interfaces that support if_media, the supported media list isphk2001-05-294-28/+136
| | | | | | | | | printed on a single, very long, and generally unreadable line. This isn't very useful. It's also really ugly and most of the time you don't care what media is supported anyway. PR: 27701 Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
* Update the document date after DES's updates, move the description ofdd2001-05-291-6/+6
| | | | | the -b option below -a to maintain alphabetical order, and add a missing ".It" before "Fl o".
* Use new backup feature of install(1).ru2001-05-281-7/+1
|
* Perform random drive-by style cleanups, and rewrite a while loop thatdes2001-05-281-17/+18
| | | | offended my artistic sensibilities.
* Try to make sysctl options slightly more orthogonal:des2001-05-282-63/+70
| | | | | | | | | | | | | | - introduce a -o option that displays opaque variables. - introduce a -x option that displays opaque variables in full. - deprecate -A in favor of -ao and -X in favor of -ax. - remove -A and -X from usage() and SYNOPSIS (but not from DESCRIPTION). - ignore -a if one or more variables were listed on the command line. - deprecate -w, it is not needed to determine the user's intentions. - some language and style cleanup in the man page. This commit should not break any existing scripts. MFC after: 4 weeks
* - sys/n[tw]fs moved to sys/fs/n[tw]fsru2001-05-263-3/+3
| | | | - /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
* Forgot to cvs add these two files for the previous commit.phk2001-05-261-0/+520
|
* Currently, each wireless networking driver has it's own control programphk2001-05-265-3/+182
| | | | | | | | | | | | despite the fact that most people want to set exactly the same settings regardless of which card they have. It has been repeatidly suggested that this configuration should be done via ifconfig. This patch implements the required functionality in ifconfig and add support to the wi and an drivers. It also provides partial, untested support for the awi driver. PR: 25577 Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
* - sys/msdosfs moved to sys/fs/msdosfsru2001-05-253-3/+3
| | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs
* Actually rename FDESC, PORTAL, UMAP and UNION file systems.ru2001-05-243-15/+15
| | | | OK'ed by: bp
* Missed one mount_null(8) -> mount_nullfs(8) in previous commit.ru2001-05-241-1/+1
|
* Remove the "undocumented" comment in re lflag.nik2001-05-241-1/+1
|
* Document the -l option.nik2001-05-241-4/+15
| | | | | PR: docs/27440 Submitted by: Flix-Antoine Paradis <reel@sympatico.ca>
* Add a -A option to ping which beeps when packets are lost.phk2001-05-242-3/+17
| | | | | PR: 11818 Submitted by: Marc Evans marc@destek.net
* *sigh* We can't remove VINUMDEBUG entirely, since we include kernelgrog2001-05-231-3/+2
| | | | | header files and sources which depend on it. For userland, define VINUMDEBUG here. Also remove a now superfluous #ifdef.
* Remove cruft.grog2001-05-231-3/+0
|
* Rename (after a repo-copy) some mount(8) programs:ru2001-05-2341-3170/+57
| | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileru2001-05-2316-16/+16
| | | | | | | | | | | | | | | systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles.
* Remove -DVINUMDEBUG. vinum(8) now always supports debug options ifgrog2001-05-231-1/+1
| | | | the kernel module is built that way.
* Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug optionsgrog2001-05-231-37/+1
| | | | | | | if the kernel module is built that way. Remove the gross debug device/non-debug device hack used to recognize whether the kernel module was in sync with the userland module.
* vinum_debug: Check for kernel module debug support, print errorgrog2001-05-231-10/+11
| | | | message if not present.
* Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug optionsgrog2001-05-231-175/+175
| | | | | | | if the kernel module is built that way. vinum_info: Check for kernel module debug support, print error message if not present.
* Fix argument processing.ru2001-05-223-91/+47
| | | | | | | Make this compile with WARNS=2. PR: bin/27524 MFC after: 3 days
* Update description of the stripe size created by vinum_stripe,grog2001-05-221-48/+45
| | | | | | | | | | | | | | | | | vinum_mirror, vinum_raid4, vinum_raid5. Correct typos. Show new output of the 'list' and 'ls' commands. Update examples to use 279 kB stripe sizes instead of 256 kB. Clarify some text. Remove the description of the 'invalid ioctl' messages which now no longer occur. Add a description of the 'retryerrors' keyword.
* Major tidy up. Add explicit header files, thus enabling the .c filesgrog2001-05-221-26/+40
| | | | | | | | | | | | | | to avoid including the kernel headers. Move a number of definitions of userland functions from dev/vinum/vinumext.h. Desired by: bde This commit is the first of a general cleanup of the header files.. It won't be enough to make bde happy. Remove vinum_perror and associated DEVBUG definition.
* Tidy up header files. Don't include stuff we don't need.grog2001-05-221-50/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | Use userland expurgated versions of kernel structures, since that's what the ioctls return now. Remove vinum_perror. main: Check kernel version with userland version in _vinum_conf. This field is a constant which gets incremented every time the kernel-userland interface changes. This enables vinum(8) to check for the correct kernel version and to produce a useful message if it doesn't match. For previous versions, which don't have a version number, the length of the structure is different, so we can recognize it via the EINVAL return from ioctl. Supply count parameter to tokenize(). Change method of recognizing active devfs: replace devfs_is_active with (complemented) no_devfs. make_devices: remove references to devfs. If we're running devfs, we don't need to call make_devices at all. vinum_makedev (user command 'makedev'): Print a warning message if devfs is running and don't do anything else.
* Tidy up header files. Don't include stuff we don't need.grog2001-05-221-28/+40
| | | | | | | | | | | | | | | Remove vinum_perror. Modify 'list' brief printout to fit in 80 columns. Modify 'ls' brief printout to show the drive to which the subdisk before instead of the plex offset, which is usually less interesting. The verbose printout remains unchanged. Use userland expurgated versions of kernel structures, since that's what the ioctls return now. Move checkupdates here to simplify header file mess.
* Tidy up header files. Don't include stuff we don't need.grog2001-05-221-108/+107
| | | | | | | | | | | | | | | | | Remove 'vinum_perror'. Only call make_devices if we're not running devfs. Use userland expurgated versions of kernel structures, since that's what the ioctls return now. Update help list, which was lagging behind reality. checkupdates: move to list.c to simplify header file mess. vinum_stripe, vinum_mirror, vinum_raid4, vinum_raid5: change the default stripe size from 256 k to 279 k, thus hopefully spreading superblocks more evenly.
* Add a flag to "ipfw show" which supresses the display of dynamicdwmalone2001-05-202-3/+10
| | | | | | | | | | rules. Also, don't show dynamic rules if you only asked to see a certain rule number. PR: 18550 Submitted by: Lyndon Nerenberg <lyndon@orthanc.ab.ca> Approved by: luigi MFC after: 2 weeks
* Removed -I${.CURDIR}/.../sys from CFLAGS.ru2001-05-1810-13/+6
|
* Fix bogon introduce by last commit.sos2001-05-181-1/+1
|
* Allow ``ip4'' as an ``upperspec'' value, and update the manbrian2001-05-172-0/+4
| | | | | | | | | | | | | | | | | | page with *all* the permissible values. This should really be spelt ipencap (as /etc/protocols does), but a precedent has already been set by the ipproto array in setkey.c. It would be nice if /etc/protocols was parsed for the upperspec field, but I don't do yacc/lex... This change allows policies that only encrypt the encapsulated packets passing between the endpoints of a gif tunnel. Setting such a policy means that you can still talk directly (and unencrypted) between the public IP numbers with (say) ssh. MFC after: 1 week
* mdoc(7) police: update document date.ru2001-05-171-1/+1
|
* Update to use the new ioctl interface.sos2001-05-172-73/+71
| | | | Add the list command.
* mdoc(7) police: fix markup in revision 1.27.ru2001-05-152-4/+10
|
* Clarify the currently used partition types.grog2001-05-142-10/+38
| | | | Add cross-references to ccd(4) and vinum(8).
* - Split out the {family,socktype}->netid conversion into a separateiedowse2001-05-131-11/+79
| | | | | | | | | function; we now handle unknown protocols more gracefully. - Cache the return from getnetconfigent() so that we don't have to remember to call freenetconfigent() each time. This fixes a memory leak that would cause retrying background mount_nfs processes to slowly increase their memory usage.
* Just notify us once when encountering a partially allocated inode.mckusick2001-05-081-1/+1
|
* Cosmetics: .Dl -> .Li.ru2001-05-071-1/+1
|
* Let ifconfig(8) catch up with the new functionality wherejesper2001-05-051-1/+11
| | | | | | one can specify addresses and netmask in CIDR notation. Submitted by: Dima Dorfman <dima@unixfreak.org>
* Implement slash/CIDR notation for IPv4 and IPv6 addresses.jesper2001-05-041-0/+29
| | | | | | | MFC after: 1 week Reviewed by: phk Obtained from: NetBSD
* * include/elf.h has been repo copied to include/elf-hints.h, and it noobrien2001-05-022-2/+2
| | | | | | | | longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
* Implement the -r and -w options as `-o ro' and `-o noro', respectively. Atdd2001-05-021-2/+2
| | | | | | | | | | least in -w's case, simply unsetting the correct bit in init_flags was not enough. The bit may be reset later if, say, the filesystem is marked `ro' in fstab. The command line option should override the fstab setting, but did not. The implementation of -r was changed for consistency. PR: 26886 Reviewed by: archie
OpenPOWER on IntegriCloud