summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Define _PATH_MKSNAP_FFS and use it in dump(8) instead of assumingiedowse2004-01-041-2/+2
| | | | | | that mksnap_ffs(8) can be found using the current $PATH. Reviewed by: mckusick
* Warn that big malloc disks are a panic(8) implementation.phk2004-01-021-0/+5
| | | | | | | Submitted by: Colin Percival <cperciva@builder.daemonology.net> (Who should really get his own bit one of these days!) PR: 59988
* Document that mknod(8) can be used to undelete entries under devfs.alfred2003-12-291-0/+13
|
* Oops, highly non-KNF indentation is normal for large expressions inbde2003-12-281-6/+5
| | | | | | | | | | | this program. Gnu indentation is used for these. Redo the fix for the large expression at the end of the previous commit to give gnu indentation. The original version was gnuish but had 9 bogus extra characters of indentation in its continuation lines, perfect tab lossage on every line, and other bugs. The previous commit log should have claimed to fix style bugs in the previous-1 commit (1.5), not the forced null previous commit (1.6).
* Expanded the comment about the -F flag.bde2003-12-271-2/+8
| | | | Fixed a nearby style bug (unreachable break).
* Use __printflike() and __dead2 instead of hard-coded gccisms.bde2003-12-271-6/+4
| | | | | | | | Declare perror(). We define and use a home made version of perror(3) that can't simply be removed (although it has the same interface as perror(3)) since it is very different (it prints on stdout, doesn't always print the program name, and sometimes exits). Declare it to get a reminder of this brokenness when WARNS is increased enough.
* Garbage-collected hotroot, rawname() and unrawname() again. Thesebde2003-12-272-41/+0
| | | | | | became garbage when block devices were axed and were removed a few months later, but they came back (with hotroot renamed to hot + hotroot()) when the NetBSD fsck was mismerged.
* fsck_msdosfs/main.c:bde2003-12-273-16/+4
| | | | | | | | | | | | - Don't use errexit() to (mis)implement usage(). Using errexit() just gave the bogus exit code 8. - Fixed 3 other style bugs in usage(). fsck/fsutil.[ch]: - Garbage-collected errexit(). It is essentially just one of NetBSD's fsck_ext2fs error printing functions, but we don't have fsck_ext2fs and the function is unsuitable for use there too (since pfatal() is also used and it printf to a different stream).
* Fixed style bugs in previous commit (unsorting of declarations and poorbde2003-12-271-7/+8
| | | | wording in a comment).
* Fixed quoting of `clean'.bde2003-12-271-1/+3
| | | | Obtained from: fsck_ffs.8
* Fixed some style bugs in previous commit (mainly highly non-KNF indentation).bde2003-12-271-15/+15
|
* Fixed style bugs in previous commit (unsorting of the global declarationsbde2003-12-271-2/+2
| | | | and addition of a tab to a blank line).
* Make msdosfs support the dirty flag in FAT16 and FAT32.trhodes2003-12-264-10/+66
| | | | | | | | Enable lockf support. PR: 55861 Submitted by: Jun Su <junsu@m-net.arbornet.org> (original version) Reviewed by: make universe
* Remove another instance of 'disklabel' which eluded me last time.trhodes2003-12-261-1/+1
| | | | Noticed by: Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)
* When calculating the sequence number to use in an ip6fw reset, remember todwmalone2003-12-251-1/+0
| | | | | | | | | add one if the SYN flag was set in the original packet. This seems to make ip6fw reset work correctly for new and in-progress connections. Update the man page to reflect the fact it now seems to work. Glanced at by: ume MFC after: 2 weeks
* o Legitimate -f (force) flags for -p (preprocessor) case.maxim2003-12-242-4/+9
| | | | | | PR: bin/60433 Submitted: Bjoern A. Zeeb MFC after: 3 weeks
* s/disklabel/bsdlabeltrhodes2003-12-231-1/+1
| | | | Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)
* /etc/rc.serial -> /etc/rc.d/serial.trhodes2003-12-231-1/+1
|
* Add the Solaris x86 boot partition type. This is used in Solaris 10harti2003-12-181-0/+1
| | | | | | (and perhaps earlier). Submitted by: Joerg Schilling <schilling@fokus.fraunhofer.de>
* Add a -b flag to /sbin/ipfw to print only action and comment for eachluigi2003-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
* Try to catch up with device name changes due to GEOM'ification. Removeobrien2003-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.
* Make msdosfs long filenames matching case insensitive again.fjoe2003-12-084-22/+5
| | | | | PR: 59765 Submitted by: Ryuichiro Imura <imura@ryu16.org>
* Style changetrhodes2003-12-072-2/+2
|
* Print out the file system access statistics using uintmax_t typesiedowse2003-12-071-4/+7
| | | | | | instead of casting the unsigned 64-bit values to longs. Suggested by: bde
* link-local multicast address must be converted to KAME specificume2003-12-071-1/+1
| | | | | | | embeded scopeid form. Reported by: dwmalone MFC after: 3 days
* Update to reflect eni removalimp2003-12-074-442/+1
|
* Reinstate 1.40 -- swap avgfilesize and avgfpdir column order.truckman2003-12-071-2/+2
| | | | MFC after: 3 days
* Don't include the file system ID in the output of `mount -v' if itiedowse2003-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)
* Don't include the file system ID in the output of `mount -v' if itiedowse2003-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)
* Fix the case where one goes from zero to more than zero items enabledimp2003-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
* Remove old cxconfig utility and connect new sconfig utility to the build.imp2003-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>
* + Patch is not my friend, but an evil toadimp2003-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>
* New cx driver part 2: Commit the new userland pieces.imp2003-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>
* Reconnect ipfstat, ipnat, and ipftest to the build now that if_xnamebrooks2003-12-021-1/+3
| | | | | | support is enabled. Approved by: re (scottl)
* Include opt_ipsec.h so IPSEC/FAST_IPSEC is defined and the appropriatesam2003-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)
* I forgot about the code freeze, so back this out.truckman2003-12-011-2/+2
|
* Swap avgfilesize and avgfpdir order to give better column alignment.truckman2003-12-011-2/+2
|
* Update maintainer line. mbr has been maintainer for at least the lastmurray2003-11-301-1/+1
| | | | | | 6 months. Approved by: re (murray)
* Clarify that the encrypted device is called foo.bde and mention thatphk2003-11-271-0/+9
| | | | | | | unmounting it before detaching GBDE is a good idea. Insisted on by: Flemming Jacobsen <fj@batmule.dk> Approveed by: re@
* Fix whitespace error in previous commit.wes2003-11-271-1/+1
| | | | Approved by: RE@ (Robert Watson)
* Correct iov_len values passed to nmount(2) syscall. More accuratekan2003-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)
* Don't use UFS2_BAD_MAGIC on UFS (v1) filesystems; it is Not Readywes2003-11-231-1/+1
| | | | | | | for Prime Time there. Submitted by: Xin LI <delphij@frontfree.net> Approved by: RE@ (John, Scott)
* Cleanup manpage for mount_nfs4 (make it actually refer to nfs4 options).alfred2003-11-222-259/+26
| | | | | | Cleanup option parsing for mount_nfs4 program, and remove dead code. Approved by: re
* Bring in manpage for idmapd and change domain to @FreeBSD.org.alfred2003-11-222-2/+64
| | | | Approved by: re
* Make init statically linked by default. It's not worth the pain of havinggordon2003-11-191-0/+2
| | | | | | a dynamically linked init as recently seen by ia64 woes. Approved by: re (jhb)
* Force a staticly linked /bin and /sbin for ia64. The necessary changesmarcel2003-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@
* Document that the live dump command (`dump -L') creates its snapshotmckusick2003-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.
* Add an entry to the BUGS section indicating that Vinum cannot currentlyrwatson2003-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.
* Don't attempt to make devices if we're using devfs. Thisrwatson2003-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
* Remove the BUGS section introduced in rev 1.11 now that the problemdas2003-11-171-15/+0
| | | | has been addressed.
OpenPOWER on IntegriCloud