summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Print out the filesystem read counts now collected by the kernel.mckusick1999-12-012-0/+6
| | | | | Submitted by: Craig A Soules <soules+@andrew.cmu.edu> Reviewed by: Kirk McKusick <mckusick@mckusick.com>
* Accept both types of devices to work with older kernels tooache1999-11-301-2/+2
| | | | Fix confusing message
* Allow character devices tooache1999-11-301-5/+5
|
* Convert dumpon to work on character devices instead of block devices.phk1999-11-281-1/+1
| | | | NB: You may need to change your /etc/rc.conf!
* Make fsck even more char/blk dev tolerant.phk1999-11-277-70/+41
|
* Allow root-reloading also for chr devices.phk1999-11-274-176/+12
|
* rewire userland ipfilter programsguido1999-11-231-0/+1
|
* Revive userland stuff for ipfilter.guido1999-11-234-0/+45
| | | | | Also fixes: PR: 7791
* Belatedly back out rev. 1.20.des1999-11-222-25/+9
|
* Finish up umntall support. init now passed an argument to thedillon1999-11-225-71/+44
| | | | | | | | | rundown script 'reboot' or 'single'. ISO support (which never worked) has been removed from mount_nfs. mount_nfs and umount now use mounttab, which allows umntall to work properly. The rc scripts now call umntall as appropriate. Submitted by: Martin Blapp <mb@imp.ch>
* Add a "-d" option which causes the system to generate a crash dump.jdp1999-11-212-4/+17
|
* Add comment about aliases on same subnet.phk1999-11-211-0/+2
| | | | Submitted by: Martin Blapp <mbr@imp.ch>
* Make last commit bde-compliant:pb1999-11-181-8/+9
| | | | | | - correct indentation - change data types for consistency with the rest of ping.c - create new variable separate from "answer" for clarity
* Allow octal or hex input.grog1999-11-171-1/+1
| | | | Suggested-by: Geoff Steckel <gwes@sitaranetworks.com>
* Fix aliasing bug causing in_cksum() to fail on odd packet sizespb1999-11-151-5/+9
| | | | | | | due to compiler optimization. PR: bin/13292 Suggested by: wollman
* Typokris1999-11-151-1/+1
| | | | Obtained from: OpenBSD
* Remove dead xref to scsiformat(8)kris1999-11-151-1/+0
| | | | Obtained from: OpenBSD (kind of)
* Remove dead xrefs to gated(8) and htable(8)kris1999-11-151-2/+0
| | | | Obtained from: OpenBSD
* Add reference to the share/examples/nwclient directory.bp1999-11-141-6/+7
|
* (1) Remove ISO support, it's dead in the kernel anyway.billf1999-11-121-94/+6
| | | | | | | | | (2) Check for ENOENT when checking for /var/db/mountdtab (3) Remove a signal handler that called broken functions. (4) Remove the broken functions. Submitted by: Martin Blapp <mb@imp.ch> Reviewed by: bde (1), billf ([234])
* Give nfsd the ability to bind to specific IP addresses through the -hdillon1999-11-112-25/+93
| | | | | | | | | | option and add explicit option to bind to the wildcard address. The default is to bind to the wildcard address when no -h option has been specified and thus backwards compatibility is maintained. PR: kern/13049 Reviewed by: David Malone <dwmalone@maths.tcd.ie> Submitted by: Matt Dillon <dillon@freebsd.org>, David Malone <dwmalone@maths.tcd.ie>
* Make `-r -s' also match the BSDI output.obrien1999-11-112-2/+2
|
* vsprintf -> vsnprintf in msg().imp1999-11-101-1/+1
|
* Change the "-r" output format to match BSDI's default output format.obrien1999-11-091-2/+2
|
* Add a new "-r" (right) option that reverses the order a filename and theobrien1999-11-072-4/+22
| | | | hash is printed. This aids visual diffs.
* Fix Bus Device Resets from userland, and specifically from camcontrol.ken1999-10-311-11/+41
| | | | | | | | | | | camcontrol was setup to use the old scheme of going through the xpt(4) device, which never worked properly (and has been disabled for a while). camcontrol now sends BDRs through the pass(4) device, and XPT_RESET_DEV CCBs are put on the device queue in the transport layer, as they should be. Submitted by: luoqi Reviewed by: ken
* Some spelling/grammar fixes.mpp1999-10-301-3/+3
|
* Minor grammar fix.mpp1999-10-301-1/+1
|
* Fix an overflow or two and replace a while with a for.green1999-10-301-9/+11
| | | | Submitted by: Martin Blapp <mbr@imp.ch>
* Fix a few things:green1999-10-302-30/+62
| | | | | | | | | | | | | 1. Get rid of the evilly bogus strdup(fstab) and free if (fstab == "") as in umount. 2. Don't use /etc/fstab info if the mount instance does not exactly match the fstab entry. 3. Reversed the mountpoint checking order in getmntpt(). 4. Clarify the "not mounted" error message in mount -u. The previous "unknown special file or file system" wasn't quite right. 5. Get rid of a 1-byte memory leak; this was reported by jhb. Submitted by: Martin Blapp <mb@imp.ch>
* Fix a logic problem that broke umount -a.green1999-10-291-4/+5
| | | | Reported by: Martin Blapp <mb@imp.ch>
* Add references to cam(4) and xpt(4).mph1999-10-281-5/+2
| | | | | | | | | Delete references to cam(9) and xpt(9) which do not exist. Delete statement in BUGS that cam(9) and xpt(9) will be added soon. PR: 14567 Submitted by: Ronald F. Guilmette <rfg@monkeys.com> Approved by: ken
* Restore alphabetical order of command line options parsing.luoqi1999-10-261-4/+4
| | | | Requested by: ken
* Debug flags -T and -S were reversed.luoqi1999-10-261-2/+2
|
* Small bugfixes (point not getting marked in one case, string not NUL andgreen1999-10-231-14/+14
| | | | | | wrong size in the other.) Submitted by: Martin Blapp <mb@imp.ch>
* Remove one obsoleted entry from the BUGS section.ru1999-10-201-2/+0
|
* Fix a few things. Unbogosify a free(), {,UN}MARK with correct args, andgreen1999-10-181-22/+22
| | | | | | fix count checks. Submitted by: Martin Blapp <mb@imp.ch>
* quoting << Martin_Blappgreen1999-10-172-147/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Completly changed the internals of umount(8). We do three checks now to see if 'argv' is in the mounttable. It they all fail, we return to main and print a warning. - fixed the umount mount-order. The checks are rather complex to do this. Cause umount(8) should also be able to unmount several devices at once ('umount -a', 'umount -A', 'umount /mnt /mnt2'), the mount-order get's important. I added checks to mark and unmark already unmounted devices. - Various fixes with nfs-unmounts (no rpc-calls were done, or they were done although there was an existing mount). Since we allow overlay-mounts, we should also handle them properly. - Translate the deprecated nfs-syntax with '@' to ':' like mount_nfs does. The ':' syntax has now precedence, but '@' still works. - 'umount -v' is now fixed for all cases and doesn't print garbage like two times the mountpoint etc. - removed non documented and useless umount '-F'. - hanged nfsmounts can now unmounted 'without' any problems. I've removed stat() and realpath() checks on the mountpoint. Instead we just do a realpath() on the basedir of the mountpath and add the dirname again. Implemented this as an idea from phk. But there are still vfs-restrictions if the nfs_mount is busy. If there are unwritten metadata on a hanged nfs-mount, and we modify nfs_vfsops.c to not return EBUSY, we get a deadlock :( The problem has now moved from userland to kernel. - removed the BUGS part from the umount(8) manpage. - Converted it to ANSI C (more than 60% of the code have changed). Martin_Blapp Fixed PR's ---------- o [1999/02/03] bin/9893 NFS umount of regular file impossible s [1995/11/27] bin/841 stale nfs mounts cannot be umounted o [1999/08/01] bin/12911 alfred NFS umounts are not properly done if just the mountpoint gets umounted Only partially solved: ---------------------- The problem is now in kernel: o [1999/04/07] bin/11005 `umount -f' does not work if the NFS-server is down. PR: bin/9893 bin/841 bin/12911 bin/11005 Submitted by: Martin Blapp <mb@imp.ch>
* MFS: forego->forgonsayer1999-10-161-1/+1
|
* spell check != grammar check. :-)nsayer1999-10-161-1/+1
|
* Sync with reallity (USERCONFIG_BOOT option was removed long time ago)phantom1999-10-151-6/+9
| | | | mdoc(7)'fy
* Add mount_nwfs program. Now -current can mount NetWare volumes.bp1999-10-154-1/+579
|
* ioctl -> sysctl for interface address changes.ru1999-10-131-74/+83
| | | | | PR: 14169 Reviewed by: Ari Suutari <ari@suutari.iki.fi>
* Describe the new options of start and init commands.grog1999-10-131-10/+43
|
* Change default init sizes from 64 kB to 60 kB, since the block devicegrog1999-10-131-4/+8
| | | | | | | | | interface limits it to this anyway. Change the name of the v flag variable from 'verbose' to 'vflag', indicating the multiple use (verbose or verify). Add -S flag to specify the size of some operations.
* Change the name of the v flag variable from 'verbose' to 'vflag',grog1999-10-131-9/+20
| | | | | | indicating the multiple use (verbose or verify). Add -S flag to specify the size of some operations.
* Change the name of the v flag variable from 'verbose' to 'vflag',grog1999-10-131-26/+41
| | | | | | | | | | | | | | | | indicating the multiple use (verbose or verify). vinum_ldi: Show active requests for the drive if -v is specified. White space cleanup. vinum_lsi: Show the progress of an init command if -v is specified. vinum_info: Print the number of active requests. Print out loginfo_sdio and loginfo_sdiodone log entries.
* Change the name of the v flag variable from 'verbose' to 'vflag',grog1999-10-131-43/+110
| | | | | | | | | | | | | | | | indicating the multiple use (verbose or verify). initsd: rewrite: Initialization is now done in the kernel. Verify (again!) if -v is specified. Allow specification of a blocksize, the length to be transferred in one transfer. vinum_revive: Allow specification of a blocksize, the length to be transferred in one transfer.
* Let a file with '@' or ':' in it take precedence over defaulting togreen1999-10-102-4/+8
| | | | nfs.
* Nuke the old antique copy of ipfilter from the tree. This is old enoughpeter1999-10-105-46/+0
| | | | | to be dangerous. It will better serve us as a port building a KLD, ala SKIP.
OpenPOWER on IntegriCloud