summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fixing a regression introduced in rev1.72 by connecting cd9660 to theavatar2005-11-241-1/+1
| | | | | | | | | external mounting program list as well; otherwise, entry like the following in /etc/fstab wouldn't work: /dev/acd0 /mnt/cdrom cd9660 ro,-C=big5 0 0 Reviewed by: rodrigc
* Add a -f configfile option to devd(8), based on a patch submitted byjkoshy2005-11-242-5/+33
| | | | | | Wojciech A. Koszek. Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
* Fix prototype.ru2005-11-241-1/+4
|
* s/5.5/6.0/ in HISTORY section.joel2005-11-241-1/+1
| | | | Discussed with: ru
* Remove UFS-specific parts from mount(8).rodrigc2005-11-233-136/+1
| | | | | For mounting UFS, all mount options are passed directly to nmount(), without any UFS-specific logic.
* These files were never hooked into the build, and were the startrodrigc2005-11-232-151/+0
| | | | | | of an nmount()-based mount program for UFS. Now that mount(8) calls nmount() directly for mounting UFS filesystems, they are unnecessary.
* Do not pass userquota and groupquota mount options to nmount().rodrigc2005-11-231-0/+4
| | | | | | | These options are read from fstab by quotacheck(8), but are not valid mount options that need to be passed down the the filesystem. Noticed by: maxim
* - Adding the missing 'W' option back which was accidentally removedavatar2005-11-231-2/+2
| | | | | | | | in rev1.37. - Fixing a core dump inside build_iovec_argf by providing a !NULL format string to vsnprintf(3). Reviewed by: rodrigc
* Bring mount_nullfs up to WARNS=6.rodrigc2005-11-212-8/+6
|
* For mounting a UFS filesystem, call nmount() directly, instead of havingrodrigc2005-11-211-3/+1
| | | | special logic which called mount() in a separate mount_ufs() function.
* Fix whitespace issues.le2005-11-202-59/+59
| | | | Pointed out by: joel@
* Finally bring in what was produced during Google SoC 2005:le2005-11-193-51/+533
| | | | | | | | | | | | | Add functions to rename objects and to move a subdisk from one drive to another. Add manual page (finally). Bring up-to-date the online help. Obtained from: Chris Jones <chris.jones@ualberta.ca> Sponsored by: Google Summer of Code 2005 MFC in: 1 week
* -mdoc sweep.ru2005-11-1814-93/+100
|
* Do not install boot_i386.8 on all architectures.ru2005-11-171-1/+3
|
* Do not pass noauto to nmount() or external mount program.rodrigc2005-11-161-1/+10
| | | | Noticed by: maxim
* In build_iovec(), if passed in len is -1, check to see ifrodrigc2005-11-141-3/+6
| | | | | | val is NULL before doing strlen() to calculate new len. Submitted by: maxim
* o Style: restore tab indentation mangled in the previous delta.maxim2005-11-141-5/+5
|
* Reuse delete_and_clear() template helper.bland2005-11-141-5/+1
| | | | Approved by: imp
* Increase WARNS level to 6.rodrigc2005-11-131-1/+1
|
* Convert mount_msdosfs to use nmount().rodrigc2005-11-131-98/+76
|
* Increase WARNS level to 6.rodrigc2005-11-131-0/+1
|
* Changes to reflect that size_t parameter to build_iovec() is a size_t.rodrigc2005-11-131-3/+4
|
* Increase WARNS level to 6rodrigc2005-11-131-1/+1
|
* Convert mount_cd9660 to use nmount().rodrigc2005-11-131-46/+53
|
* - Make size parameter to build_iovec() a size_t, not an introdrigc2005-11-133-8/+31
| | | | | | | - Add build_iovec_argf() helper function, for help converting old mount options which used the mount_argf() function for the mount() syscall. Discussed with: phk
* - Minor fixes to raise WARNS level to 6.rodrigc2005-11-125-52/+223
| | | | | | | | | | | | | | - Teach the mount program to call the nmount() syscall directly - Preserve existing method of calling mount() for UFS, until we clean things up. - Preserve existing method of forking and calling external mount programs for mfs, msdosfs, nfs, nfs4, ntfs, nwfs, nullfs, portalfs, reiserfs, smbfs, udf, umapfs, unionfs - devfs, linprocfs, procfs, ext2fs call nmount() syscall directly, since that is all those external mount programs were doing Reviewed by: phk Discussed on: arch
* Document -32 flag in usage() output as well.jhb2005-11-111-1/+1
| | | | | Requested by: ru MFC after: 1 week
* Document the -32 switch available on amd64.jhb2005-11-111-0/+4
| | | | | Submitted by: Steve Kargl sgk at troutmask dot apl dot washington dot edu MFC after: 1 week
* Rename GEOM class kernel module g_md.ko to geom_md.ko for consistencypjd2005-11-111-27/+12
| | | | | | | | | | with the rest. mdconfig.c: Simplify mdmaybeload() function. mdioctl.h: Removed (now unused) #define. loader.conf: Sort GEOM classes properly. OK'ed by: phk
* Fix malloc size (visible on amd64, with "kldconfig -r").ru2005-11-071-1/+1
|
* SSIDs are of length 32-bytes and not NUL terminated. Use the correctbrooks2005-10-301-2/+3
| | | | | | | | | | | length and bail immediatly if the returned length is wrong rather than attempting to set an correct value. This commit differs from the patch in the PR in the use of exit instead of return and the use of a defined value for the array. Submitted by: Daan Vreeken [PA4DAN] <Danovitsch at Vitsch dot net> PR: bin/74509
* Don't crash when given an invalid nwkey string.brooks2005-10-281-0/+2
| | | | PR: misc/88159
* gmirror.8:ceri2005-10-252-2/+4
| | | | | | | | | Note the default balancing algorithm and stripe size. geom_mirror.c: Slightly friendlier error message. Reviewed by: pjd
* Restore the documentation about uid, gid or prison based rules requiringcsjp2005-10-231-0/+10
| | | | | | | | that debug.mpsafenet be set to 0. It is still possible for dead locks to occur while these filtering options are used due to the layering violation inherent in their implementation. Discussed: -current, rwatson, glebius
* Remove a diagnostic message that can't occur: we lost the ability todds2005-10-201-3/+0
| | | | handle the old filesystem format on 2002/06/21.
* Make devd WARNS=4 clean and bump WARNS accordingly. This will insurebrooks2005-10-192-3/+3
| | | | | | | that future variable shadowing bugs don't compile. Reviewed by: imp Compiled on: alpha i386 sparc64
* As pointed out on current@, we don't want to declare a variable in a scopeimp2005-10-191-1/+1
| | | | | | | | that just uses the variable and throws it away. This should fix the subsystem keyword wrt media-type. MFC After: 2 days
* Use the new name H_SETSIZE instead of the old H_EVENT to set the historystefanf2005-10-191-1/+1
| | | | | | size. PR: 86355
* Add new option `q', which makes second stage loader quiet unless autobootsobomax2005-10-161-1/+10
| | | | | | is disabled or fails. MFC after: 1 week
* Fix parsing of mdmfs(8) option "-w <user>:<group>" in case <user> orrse2005-10-141-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | <group> is a numeric user/group ID instead of a user/group name (as explicitly intended to be allowed by both the manual page and the implementation). Before this fix, mdmfs(8) aborted: | # mdmfs -s 32m -w 0:0 md /var/tmp/foo | Assertion failed: (mip->mi_have_uid), function extract_ugid, file /usr/src/sbin/mdmfs/mdmfs.c, line 555. | Abort trap (core dumped) The "mi_have_[ug]id" fields were only set in case a name lookup was successful. Instead they also have to be set in case the string to integer conversion was successful. Additionally, as a result of this fix, two assertions at the end of the function are now always true and hence can be just be removed. It is guarrantied that both the UID and the GID are set when the function returns regularily, else it would have been already bailed out with usage()/exit(3) or errx(3) before. Spotted by: Christoph Schug <chris@schug.net> MFC after: 3 days
* fixed a crush when either -lh or -ls option is used.ume2005-10-131-3/+3
| | | | Obtained from: KAME
* setkey(8) is not WARNS=2 compliant, yet.ume2005-10-131-0/+2
|
* setkey(8) was repo-copied from usr.sbin/ to sbin/.pjd2005-10-121-0/+1
| | | | | | This will allow for NFS mount of /usr over IPsec. Discussed on: arch@
* Replace "/etc/make.conf" with references to make.conf(5)yar2005-10-101-1/+2
| | | | | | | | | where applicable. The main reason for this change is that the location of make.conf is not constant and can be modified via __MAKE_CONF. This change also improves hyper-text linkage in our manpages. MFC after: 2 weeks
* Switch from K&R-style C prototypes to ISO/ANSI-style C prototypes.rodrigc2005-10-071-11/+4
|
* Bump WARNS up to 3.rodrigc2005-10-071-1/+1
|
* In prmount(), use an unsigned int variable to eliminaterodrigc2005-10-071-1/+2
| | | | 'comparison between signed and unsigned' compiler warning.
* Switch from K&R-style C prototypes to ISO/ANSI-style C prototypes.rodrigc2005-10-073-25/+11
| | | | Make prototype in extern.h match prototype in mount_ufs.c
* Display the status of the spanning tree for each port.thompsa2005-10-071-8/+16
| | | | | | | | | | member: xl0 flags=7<LEARNING,DISCOVER,STP> member: gem0 flags=7<LEARNING,DISCOVER,STP> to: member: xl0 flags=7<LEARNING,DISCOVER,STP> port 3 priority 128 path cost 55 forwarding member: gem0 flags=7<LEARNING,DISCOVER,STP> port 1 priority 128 path cost 55 learning
* Eliminate some unneeded code bits.yar2005-10-061-10/+7
|
OpenPOWER on IntegriCloud