summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Preserve acls option on mounts when taking a snapshot.mckusick2004-01-271-1/+5
| | | | Submitted by: Wiktor Niesiobedzki <freebsd-lists@w.evip.pl>
* Use IFNAMSIZ instead of a magic value for the length of an interfacebrooks2004-01-272-4/+5
| | | | | | | | name. Prevent the kernel from potentially overflowing the interface name variable. The size argument of strlcpy is complex because the name is not null-terminated in sdl_data.
* Avoid dereferencing null pointers in fsck_ffs. (pfatal may return,cperciva2004-01-262-2/+7
| | | | | | | so it isn't a safe way of handling [mc]alloc failures.) PR: misc/61800 Approved by: rwatson (mentor)
* Add support for virtual interfaces. These have no phy chip and, hence, weharti2004-01-262-17/+60
| | | | need to handle interfaces without phy specially.
* o Pass a correct argument to errx(3).maxim2004-01-241-1/+1
| | | | | | PR: bin/61846 Submitted by: Eugene Grosbein MFC after: 1 week
* Fix bogus "ffsinfo -c 0" example with "ffsinfo -g 0 -l 4".blackend2004-01-231-1/+2
| | | | | | PR: bin/61472 Submitted by: Alex Popa <razor@ldc.ro> MFC after: 1 week
* grammarmtm2004-01-231-6/+6
|
* Clarify behaviour of ffsinfo: It appends to outfile withoutcperciva2004-01-231-1/+1
| | | | | | | | | removing any existing contents. PR: bin/61473 Submitted by: Alex Popa <razon@ldc.ro> MFC after: 7 days Approved by: rwatson (mentor)
* Userland signed char fixes for PPC build. Problems were using a chargrehan2004-01-226-11/+13
| | | | | | | | | return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h> Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe
* Cosmeticssos2004-01-211-1/+1
|
* Mark this manpage as i386-only.ru2004-01-212-1/+2
|
* Fixed spacing in previous revision.ru2004-01-171-1/+1
|
* - Build things in pure dictionary order (see sort(1)).ru2004-01-161-23/+38
| | | | | | | | | | - Unify the conditional assignments section so that architectural exclusions come first, then options and !options, sorted by the option name, also in directory order, then architecture specific sections, sorted by the architecture name, with i386 being a traditional exception. Prodded by: bde
* 802.11 mode bits are now masks; convert to suitsam2004-01-151-1/+1
|
* o -c (compact) flag is ipfw2 feature.maxim2004-01-151-0/+2
| | | | | PR: bin/56328 MFC after: 3 days
* o -f (force) in conjunction with -p (preprocessor) is ipfw2 feature.maxim2004-01-151-0/+3
| | | | MFC after: 3 days
* Add RSH to the list of enviroment variables.alex2004-01-151-0/+3
|
* -DSMALL will remove the need of dump.c (for rtsol)ume2004-01-141-2/+2
| | | | Obtained from: KAME
* Note that geometry can also be specified on vnode backed deviecs.phk2004-01-121-1/+1
|
* '-DPC98' is not needed.nyan2004-01-111-4/+0
|
* Add manual page links from fsck_ufs.8 and fsck_4.2bsd.8 to fsck_ffs.8,simon2004-01-101-0/+1
| | | | | | since there are already the same links for the program binary. Suggested by: mat
* Correct an instance of an erroneous "it's".ceri2004-01-071-1/+1
| | | | | | PR: docs/59937 Submitted by: Ada Lim <ada@bsd.org> MFC After: 1 day
* Allow trailing slashes for MNT_UPDATE case (mount -u), too.anholt2004-01-071-1/+1
| | | | | PR: bin/59144 Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
* Hook mount_nfs4 to the build.alfred2004-01-061-0/+1
| | | | Noticed by: rwatson
* 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
|
OpenPOWER on IntegriCloud