summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove the ft program, the driver is long gone.phk1999-10-094-1103/+0
|
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-10-0922-124/+227
| | | | | | | | | | | | | | | | | Made mount more userfriendly (bad slashes are now filtered out) and we remove in mount_nfs trailing slashes if there are any. Fixed mount_xxx binarys to resolve with realpath(3) the mountpoint. Translate the deprecated nfs-syntax with '@' to ':' . The ':' syntax has now precedence, but '@' still works. Notify the user that the '@' syntax should not be used. PR: 7846 PR: 13692 Submitted by: Martin Blapp <mb@imp.ch> Reviewed by: phk
* Fix -Wall warningsn_hibma1999-10-082-3/+4
| | | | Submitted-By: Martin Blapp <mblapp@kassiopeja.lan.attic.ch>
* - Fixed some cases in which mount was segfaulting.n_hibma1999-10-082-20/+24
| | | | | | | | | Original patch from Adrian. Martin added a check for free(). - Included the filesystem type in output of mount PR: bin/13143 Submitted-By: Martin Blapp <mblapp@kassiopeja.lan.attic.ch>
* Put the umount request through the same translation as the mountalfred1999-10-061-2/+11
| | | | | | | | | request. Fix some uninitialized warnings and a style bug while we are here. Problem still exists where a failed umount can be misreported as success. Submitted by: Martin Blapp <mb@imp.ch>
* Fixed the description of how packets re-enter IP firewall filter.ru1999-10-061-3/+6
| | | | Suggested by: Ari Suutari <ari@suutari.iki.fi>
* Removal of sys/device.hn_hibma1999-10-051-1/+0
| | | | | | | | | | | | | - Move intrhook stuff into kernel.h - Remove all occurrences of #device <device.h> - Add kernel.h were necessary (nowhere) - delete device.h This file contained the structures for cfdata (old style config) and is no longer used. It was included by most drivers. It confuses the remote debugger as the definition of 'struct device' in device.h is found before the one in bus_private.h.
* Print a warning that includes the mount source when the foregrounddillon1999-10-021-0/+1
| | | | | | | mount fails prior to going into the background when a background NFS mount is requested. PR: misc/12376
* Add description of checkparity and rebuildparity.grog1999-09-281-4/+9
| | | | | | Remove a half-started message. Reported-by: "Jeffrey J. Mountin" <jeff@mountin.net>
* Brucify comments.grog1999-09-281-23/+66
| | | | | | | | | | | | | | vinum_lpi: Add information about progress of rebuildparity and checkparity commands. listconfig: Print object counts in a different format, don't refer to the internal number of slots allocated: Caused-confusion-to: Norbert Meissner <norbert.meissner@daimlerchrysler.com> vinum_info: Change format of device numbers so that they fit in the column (ignore high-order minor number bits, which aren't really of much interest).
* vinum_init: Fix message typo.grog1999-09-281-1/+50
| | | | | | | vinum_start: bzero the statinfo.dinfo struct. The lack of this was causing sporadic failures of the start command. Add body of vinum_checkparity command.
* Document the "noasync" option.obrien1999-09-282-0/+6
|
* Do not defer setting of the aliasing address fromru1999-09-281-19/+15
| | | | | | interface name if not operating in dynamic mode. Reviewed by: Ari Suutari <ari@suutari.iki.fi>
* Use mkstemp(3) instead of tmpnam(3) when creating temporary files for modeken1999-09-282-6/+12
| | | | | | | page editing. Submitted by: roberto Reviewed by: imp, ken
OpenPOWER on IntegriCloud