summaryrefslogtreecommitdiff
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add a -b flag to /sbin/ipfw to print only action and comment for eachLuigi Rizzo2003-12-122-2/+24
| | | | | | | | | | | rule, thus omitting the entire body. This makes the output a lot more readable for complex rulesets (provided, of course, you have annotated your ruleset appropriately!) MFC after: 3 days Notes: svn path=/head/; revision=123495
* Try to catch up with device name changes due to GEOM'ification. RemoveDavid E. O'Brien2003-12-081-14/+19
| | | | | | | | | note about requirement of operating on 'c' partition, GEOM removed this. Mention RAIDframe, don't mention DPT hardware RAID as a good alternative. Notes: svn path=/head/; revision=123295
* Make msdosfs long filenames matching case insensitive again.Max Khon2003-12-084-22/+5
| | | | | | | | PR: 59765 Submitted by: Ryuichiro Imura <imura@ryu16.org> Notes: svn path=/head/; revision=123293
* Style changeTom Rhodes2003-12-072-2/+2
| | | | Notes: svn path=/head/; revision=123268
* Print out the file system access statistics using uintmax_t typesIan Dowse2003-12-071-4/+7
| | | | | | | | | instead of casting the unsigned 64-bit values to longs. Suggested by: bde Notes: svn path=/head/; revision=123242
* link-local multicast address must be converted to KAME specificHajimu UMEMOTO2003-12-071-1/+1
| | | | | | | | | | embeded scopeid form. Reported by: dwmalone MFC after: 3 days Notes: svn path=/head/; revision=123234
* Update to reflect eni removalWarner Losh2003-12-074-442/+1
| | | | Notes: svn path=/head/; revision=123228
* Reinstate 1.40 -- swap avgfilesize and avgfpdir column order.Don Lewis2003-12-071-2/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=123219
* Don't include the file system ID in the output of `mount -v' if itIan Dowse2003-12-051-10/+12
| | | | | | | | | | | | | | | | | is all zeros. The kernel now consistently zeroes FSIDs for non-root users, so there's no point in printing these. Also fix a number of compiler warnings, including two real bugs: - a bracket placement bug caused `mount -t ufs localhost:/foo /mnt' to override the `-t ufs' specification and use mount_nfs. - an unitialised variable was used instead of _PATH_SYSPATH when warning that the mount_* program cound not be found. Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz> (FSID part) Approved by: re (scottl) Notes: svn path=/head/; revision=123162
* Don't include the file system ID in the output of `mount -v' if itIan Dowse2003-12-051-3/+4
| | | | | | | | | | | | is all zeros. The kernel now consistently zeroes FSIDs for non-root users, so there's no point in printing these. Also fix a misspelling in a comment. Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz> Approved by: re (scottl) Notes: svn path=/head/; revision=123160
* Fix the case where one goes from zero to more than zero items enabledWarner Losh2003-12-051-3/+0
| | | | | | | | | | | | | | in /etc/ttys. Before this fix, once the count of active services reaches 0, one could never restart any more without a reboot. Steve Passe did the leg work on this patch. After he found the fix, we discovered that an identical fix had been made to NetBSD. Approved by: re@ <scottl> Approval tool: peril sensitive sunglasses Notes: svn path=/head/; revision=123157
* Remove old cxconfig utility and connect new sconfig utility to the build.Warner Losh2003-12-034-1104/+1
| | | | | | | | | | | | | The sconfig utility supports more than just cx boards, and those drivers will make their way into FreeBSD shortly (maybe before 5.2). Confirmed that this doesn't break the build. Submitted by: Roman Kurakin <rik@cronyx.ru> Approved by: re@ <scottl> Notes: svn path=/head/; revision=123130
* + Patch is not my friend, but an evil toadWarner Losh2003-12-033-1597/+0
| | | | | | | | | | | | + Patch is not my friend, but an evil toad Remove redunant copy of each of these files that patch appended to them. # Still not connected to the build. Approved by: re@ <scottl> Notes: svn path=/head/; revision=123129
* New cx driver part 2: Commit the new userland pieces.Warner Losh2003-12-033-0/+3197
| | | | | | | | | | | | This is the new cronyx serial control program. # A future commit will remove the old driver/userland pieces and connect things # to the build. Submitted by: Roamn Kurakin <rik@cronyx.ru> Notes: svn path=/head/; revision=123123
* Reconnect ipfstat, ipnat, and ipftest to the build now that if_xnameBrooks Davis2003-12-021-1/+3
| | | | | | | | | support is enabled. Approved by: re (scottl) Notes: svn path=/head/; revision=123114
* Include opt_ipsec.h so IPSEC/FAST_IPSEC is defined and the appropriateSam Leffler2003-12-021-1/+8
| | | | | | | | | | | | | | | code is compiled in to support the O_IPSEC operator. Previously no support was included and ipsec rules were always matching. Note that we do not return an error when an ipsec rule is added and the kernel does not have IPsec support compiled in; this is done intentionally but we may want to revisit this (document this in the man page). PR: 58899 Submitted by: Bjoern A. Zeeb Approved by: re (rwatson) Notes: svn path=/head/; revision=123096
* I forgot about the code freeze, so back this out.Don Lewis2003-12-011-2/+2
| | | | Notes: svn path=/head/; revision=123079
* Swap avgfilesize and avgfpdir order to give better column alignment.Don Lewis2003-12-011-2/+2
| | | | Notes: svn path=/head/; revision=123078
* Update maintainer line. mbr has been maintainer for at least the lastMurray Stokely2003-11-301-1/+1
| | | | | | | | | 6 months. Approved by: re (murray) Notes: svn path=/head/; revision=123070
* Clarify that the encrypted device is called foo.bde and mention thatPoul-Henning Kamp2003-11-271-0/+9
| | | | | | | | | | unmounting it before detaching GBDE is a good idea. Insisted on by: Flemming Jacobsen <fj@batmule.dk> Approveed by: re@ Notes: svn path=/head/; revision=123017
* Fix whitespace error in previous commit.Wes Peters2003-11-271-1/+1
| | | | | | | Approved by: RE@ (Robert Watson) Notes: svn path=/head/; revision=122998
* Correct iov_len values passed to nmount(2) syscall. More accurateAlexander Kabaev2003-11-241-2/+2
| | | | | | | | | | | parameter checking introduced in vfs_mount.c r1.113 rejects them otherwise. Submitted by: R. Imura <imura at ryu16 dot org> Approved by: re (scottl,rwatson) Notes: svn path=/head/; revision=122977
* Don't use UFS2_BAD_MAGIC on UFS (v1) filesystems; it is Not ReadyWes Peters2003-11-231-1/+1
| | | | | | | | | | for Prime Time there. Submitted by: Xin LI <delphij@frontfree.net> Approved by: RE@ (John, Scott) Notes: svn path=/head/; revision=122961
* Cleanup manpage for mount_nfs4 (make it actually refer to nfs4 options).Alfred Perlstein2003-11-222-259/+26
| | | | | | | | | Cleanup option parsing for mount_nfs4 program, and remove dead code. Approved by: re Notes: svn path=/head/; revision=122952
* Bring in manpage for idmapd and change domain to @FreeBSD.org.Alfred Perlstein2003-11-222-2/+64
| | | | | | | Approved by: re Notes: svn path=/head/; revision=122951
* Make init statically linked by default. It's not worth the pain of havingGordon Tetlow2003-11-191-0/+2
| | | | | | | | | a dynamically linked init as recently seen by ia64 woes. Approved by: re (jhb) Notes: svn path=/head/; revision=122903
* Force a staticly linked /bin and /sbin for ia64. The necessary changesMarcel Moolenaar2003-11-191-1/+1
| | | | | | | | | | | | | | | to gcc have not been made for ia64, which means that executables still have /usr/libexec/ld-elf.so.1 as the dynamic linker. This simply does not work if /usr is a seperate filesystem not mounted when the kernel tries to execute init(8). Note that this is a temporary fix until a new gcc has been imported that does have the required changes. Approved: re@ Notes: svn path=/head/; revision=122900
* Document that the live dump command (`dump -L') creates its snapshotKirk McKusick2003-11-181-1/+12
| | | | | | | | | | in the .snap directory in the root of the filesystem being dumped. Document that if the .snap directory is missing that it must be created manually and that it should be owned by user root and group operator and set to mode 770 before a live dump can be run. Notes: svn path=/head/; revision=122874
* Add an entry to the BUGS section indicating that Vinum cannot currentlyRobert Watson2003-11-171-0/+7
| | | | | | | | | be used on devices with a block size other than DEV_BSIZE (512), which specifically includes being unable to run on a swap-backed md device. Swap-backed md devices use a 4k block size. Notes: svn path=/head/; revision=122858
* Don't attempt to make devices if we're using devfs. ThisRobert Watson2003-11-171-5/+10
| | | | | | | | | | substantially cleans up the output when running the vinum management tool, and also makes it work better. Long sustained silence from: grog Notes: svn path=/head/; revision=122857
* Remove the BUGS section introduced in rev 1.11 now that the problemDavid Schultz2003-11-171-15/+0
| | | | | | | has been addressed. Notes: svn path=/head/; revision=122843
* Reimplement nologin(8) as a C program. This allows us to staticallyDavid Schultz2003-11-173-40/+29
| | | | | | | | | | link it at low cost and avoid environment poisoning attacks associated with LD_LIBRARY_PATH. Suggested by: rwatson Notes: svn path=/head/; revision=122842
* Print the dirpref avgfilesize and avgfpdir parameters.Don Lewis2003-11-171-0/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=122825
* Document nologin(8) as being insecure in conjunction with a dynamicDavid Schultz2003-11-171-0/+15
| | | | | | | root and suggest alternatives. Notes: svn path=/head/; revision=122822
* If the unmount by file system ID fails, don't warn before retryingIan Dowse2003-11-161-1/+4
| | | | | | | | | | a non-fsid unmount if the file system ID is all zeros. This is a temporary workaround for warnings that occur in the vfs.usermount=1 case because non-root users get a zeroed filesystem ID. I have a more complete fix in the works, but I won't get it done for 5.2. Notes: svn path=/head/; revision=122804
* Convert the live dump command (`dump -L') to use mksnap_ffs insteadKirk McKusick2003-11-161-12/+8
| | | | | | | | | | | | | | | | | | of trying to directly create the snapshot itself. This change allows users logged into the system as operator to run live dumps. Note that dump no longer tries to create the snapshot in the root of the filesystem, but rather in a .snap directory in the root of the filesystem. The reason is that the operator is usually not permitted to write into the root of the filesystem. The newfs command and background fsck have both been modified to create a .snap directory in the root of the filesystem, but if neither of these have been run, then the .snap directory must be created manually by the superuser before a live dump can be run. The .snap directory should be owned by user root and group operator and set to mode 770. Notes: svn path=/head/; revision=122787
* Add the -E command line option to force error conditions for testing.Wes Peters2003-11-163-2/+18
| | | | | | | Sponsord by: St. Bernard Software Notes: svn path=/head/; revision=122785
* Catch and report on filesystems that were interrupted during newfs,Wes Peters2003-11-161-0/+12
| | | | | | | | sporting the new 'BAD' magic number. Exit with a unique error code (11) so callers who care about this can respond appropriately. Notes: svn path=/head/; revision=122784
* Write the UFS2 superblock with a 'BAD' magic number at the beginningWes Peters2003-11-161-1/+4
| | | | | | | | | | | of newfs, to signify the newfs operation has not yet completed. Re- write the superblock with the correct magic number once all of the cylinder groups have been created to show the operation has finished. Sponsored by: St. Bernard Software Notes: svn path=/head/; revision=122783
* - Add GPT header/table recovery commandKen Smith2003-11-162-4/+92
| | | | | | | | | - Minor related cleanup in add command Approved by: marcel Notes: svn path=/head/; revision=122782
* - Provide default values for LABELOFFSET and LABELSECTOR soKen Smith2003-11-161-0/+11
| | | | | | | | | it compiles on all architectures. Approved by: marcel Notes: svn path=/head/; revision=122781
* Change the default for binaries in /bin and /sbin from statically toGordon Tetlow2003-11-161-1/+1
| | | | | | | | | | | | dynamically linked. This has been a long time coming with the move of critical libraries from /usr/lib to /lib. If you don't feel comfortable with dynamically linked binaries in your root partition, now is the time to define NO_DYNAMICROOT in your make.conf. Approved by: re Notes: svn path=/head/; revision=122778
* University of Michigan's Citi NFSv4 userland client code.Alfred Perlstein2003-11-146-0/+1687
| | | | | | | Submitted by: Jim Rees <rees@umich.edu> Notes: svn path=/head/; revision=122704
* Make this WARNS=2 clean byJohan Karlsson2003-11-142-20/+22
| | | | | | | | | - using (intmax_t) and %j instead of %q Tested by: make universe Notes: svn path=/head/; revision=122670
* Make this WARNS=2 clean byJohan Karlsson2003-11-143-5/+5
| | | | | | | | | | | | | - using (intmax_t) and %j - giving a non-empty format string to msg() Include <stdint.h> directly instead of depending on <inttypes.h> to do it. Tested by: make universe Notes: svn path=/head/; revision=122669
* Warn about partitions that would overlap with the master boot record, andDag-Erling Smørgrav2003-11-131-0/+5
| | | | | | | | | if the user agrees, move them out one track. MFC after: 7 days Notes: svn path=/head/; revision=122627
* Make this WARNS=2 clean byJohan Karlsson2003-11-132-2/+1
| | | | | | | | | | | - constifying copyright PR: 39867 Submitted by: Dan Lukes <dan@obluda.cz> Tested by: make universe Notes: svn path=/head/; revision=122622
* Make this WARNS=2 clean byJohan Karlsson2003-11-133-8/+10
| | | | | | | | | | | | | - #include <timeconv.h> for _time_to_time32 et al - use (uintmax_t) and %j - remove unused variable 'j' (from PR 39866) PR: 39866 Submitted by: Dan Lukes <dan@obluda.cz> Tested by: make universe Notes: svn path=/head/; revision=122621
* - Add some information about how init, securelevel, and jailsKen Smith2003-11-111-1/+17
| | | | | | | | | | | interact with each other. - Minor markup fix (.Dq -> .Va for a variable) Reviewed by: rwatson Approved by: blackend (mentor) Notes: svn path=/head/; revision=122506
* Add a describtion for the '-d' flagChristian Brueffer2003-11-101-1/+3
| | | | | | | | | | | While I'm here, add a missing comma PR: 41787 Obtained from: OpenBSD MFC after: 5 days Notes: svn path=/head/; revision=122423