summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix two rather embarrassing bugs in camcontrol. The first caused theken1999-09-271-3/+5
| | | | | | | | | | | | CAM_PASS_ERR_RECOVER flag to be set unconditionally on READ DEFECTS commands, and also caused the CAM_DIR_IN flag to not be set. This was the cause of all of the "camcontrol defects doesn't work with my NCR controller" bugs. The second prevented camcontrol negotiate from negotiating any bus width other than 8 bits. Submitted by: groudier@club-internet.fr (Gerard Roudier)
* -Wall cleanups, handle unknown cases.billf1999-09-261-5/+9
| | | | | Submitted by: billf, ken Reviewed by: ken
* Silence -Wallbillf1999-09-261-1/+2
| | | | Reviewed by: dillon
* Mention /dev/vn0b and /dev/vntab. ascii -> ASCII transform hadnik1999-09-261-0/+4
| | | | | | | already happened in an earlier commit. PR: docs/13645 Submitted by: Stephen Roznowski <sjr@home.com>
* Remove two more unnecessary function declarations/prototypes.billf1999-09-251-4/+0
|
* Include the proper headers, remove the unnecessary function declarations.billf1999-09-251-1/+2
|
* Remove duplicate declarations for two internal functions.billf1999-09-252-4/+0
| | | | Remove delcaration for getenv(), we already get it from stdlib.h
* Stuff a variable declaration inside a #if block that is only used for thatbillf1999-09-252-0/+4
| | | | #if.
* Remove declaration of getenv(), we get that from stdlib.h already.billf1999-09-251-1/+1
|
* Bring documentation up to datedillon1999-09-231-5/+60
|
* Correct spelling : ascii -> ASCIIphantom1999-09-201-1/+1
| | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp
OpenPOWER on IntegriCloud