summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Clear the pending counts in the superblock after a successful runmckusick2002-10-191-1/+4
| | | | | | | of fsck so that the kernel does not complain about them being non-zero when the filesystem is mounted. Sponsored by: DARPA & NAI Labs.
* Bound the size of the superblock to SBLOCKSIZE.mckusick2002-10-181-0/+2
| | | | | Submitted by: BOUWSMA Beery <freebsd-misuser@netscum.dyndns.dk> Sponsored by: DARPA & NAI Labs.
* Typo in verb: zeros -> zeroes.keramida2002-10-181-1/+1
|
* Do not emit values as var=value while everything else looks likemarcel2002-10-171-56/+81
| | | | XML. Emit the values as <var>value</var> for consistency.
* s/clear/cleared/ for consistency (sigh)rwatson2002-10-161-2/+2
| | | | Reported by: dd
* Spell 'set' as 'cleared' where appropriate.rwatson2002-10-151-2/+2
|
* Teach tunefs to print the ACL and multilabel flag information whenrwatson2002-10-151-0/+4
| | | | | | | inspecting a superblock. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Correct some of the style problems in this file:rwatson2002-10-152-10/+10
| | | | | | | | | I introduced a style problem when I sorted 'a' before 'A'; our preferred order sorts 'A' first. Correct. Use .Cm instead of .Ar. Submitted by: bde
* Introduce -a [enable|disable] and -l [enable|disable] flags to the tunefsrwatson2002-10-142-7/+73
| | | | | | | | command, permitting it to set FS_ACLS and FS_MULTILABEL administrative flags on UFS file systems. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Teach mount(8) about MNT_ACLS for the purposes of mount options andrwatson2002-10-142-1/+5
| | | | | | | mount option printing. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Increase the max dummynet hash size from 1024 to 65536. Default is stillseanc2002-10-121-1/+1
| | | | | | | | | 1024. Silence on: -net, -ipfw 4weeks+ Reviewed by: dd Approved by: knu (mentor) MFC after: 3 weeks
* Document that write(2) et al can return EROFS for attempts to write theschweikh2002-10-102-2/+8
| | | | | | | | disk label area. PR: 43891 Submitted by: Diomidis D. Spinellis <dds@istlab.dmst.aueb.gr> MFC after: 3 days
* Make sure strsep() gets a nul-terminated string.keramida2002-10-101-1/+2
| | | | Reviewed by: phk
* When verifying a superblock, the lower bound on block size is MINBSIZEmckusick2002-10-101-1/+1
| | | | | | | (4096), not SBLOCKSIZE (8192). Submitted by: Tor.Egge@cvsup.no.freebsd.org Sponsored by: DARPA & NAI Labs.
* de-__P()alfred2002-10-103-73/+73
|
* Update documentation for kldload(8)'s ability to load multiple modules.jmallett2002-10-092-4/+6
| | | | Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>
* Fix to support pc98.nyan2002-10-082-0/+8
|
* Make it possible to kldload(8) many modules.jmallett2002-10-081-9/+17
| | | | | | MFC after: 2 months Sponsored by: Bright Path Solutions Reviewed by: tjr
* Treat the pathptrn field as a real pattern with the aid of fnmatch().dd2002-10-081-3/+0
|
* Document behaviour change in reboot(8) introduced in reboot.c rev. 1.17:thomas2002-10-071-7/+8
| | | | | | | | when using '-p' with reboot, and the power down action failds, reboot the system normally. The behaviour of 'halt -p' and of shutdown(8) is unchanged. Approved by: roberto
* Don't use DPCYL and DPSECT macros. These are not needed.nyan2002-10-071-8/+8
| | | | Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh)
* Set only the RB_POWEROFF flag (not the RB_HALT flag) whenthomas2002-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | '-p' is used on the reboot(8) command line. This is intended for use when you want to attempt a power down action, but you want the system to reboot (not halt) if the power down action fails. This is typically useful when the power-off action performed by the kernel consists in signalling an uninterrupted power supply that it should shut down its inverter if mains power has not returned. The behaviour of shutdown(8) and init(8) is not modified; only the behaviour of invoking 'reboot -p' manually is modified, and then only in the case when a power-down action fails. Sounded reasonable to: phk Approved by: roberto (mentor)
* Don't be noisy if DIOCWLABEL fails, it's probably because we're writingphk2002-10-052-4/+2
| | | | | | the first label to the raw disk. Sponsored by: DARPA & NAI Labs.
* Include <sys/diskpc98.h>nyan2002-10-041-0/+1
|
* EFI GPT partitions use 'p' as a slice seperator. eg: da0p1 or da0p217.peter2002-10-041-1/+1
| | | | (There is a theoretical limit of 16384 partitions)
* Cast malloc() assignments.mdodd2002-10-021-6/+6
|
* Add an -o option to exit after receiving one reply. This can be useddd2002-10-022-5/+12
| | | | | | | | to test whether a link is live. PR: 38573 Submitted by: David Taylor <davidt@yadt.co.uk> Obtained from: NetBSD
* Don't crash when the user feeds us nonesense in the form:dd2002-10-021-3/+4
| | | | | | | ifconfig IF ether WHATEVER -alias PR: 42544 Submitted by: Mike Makonnen <makonnen@pacbell.net>
* Remove a comma trailing an if clause.phk2002-10-011-1/+1
| | | | | | According to Kirk: "Luckily, the statement is usually true". Spotted by: FlexeLint
* Changed "file system" back to "filesystem" in the usage message. Englishbde2002-10-011-3/+3
| | | | | | | | rules don't apply to tokens that are supposed to represent single args. This was only fixed in the man page. Fixed other differences between the man page and the usage message (1 formatting bug and 1 syntax bug).
* Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1:phk2002-10-013-0/+3
| | | | | | | | | | | | | | | | Peter had repocopied sys/disklabel.h to sys/diskpc98.h and sys/diskmbr.h. These two new copies are still intact copies of disklabel.h and therefore protected by #ifndef _SYS_DISKLABEL_H_ so #including them in programs which already include <sys.disklabel.h> is currently a no-op. This commit adds a number of such #includes. Once I have verified that I have fixed all the places which need fixing, I will commit the updated versions of the three #include files. Sponsored by: DARPA & NAI Labs.
* - bzero() allocations.mdodd2002-09-301-1/+38
| | | | - check for malloc() failures.
* Turn warnings back on.mdodd2002-09-301-1/+0
|
* Add the "Monitor" interface flag.phk2002-09-272-0/+13
| | | | | | | | | | Setting this flag on an ethernet interface blocks transmission of packets and discards incoming packets after BPF processing. This is useful if you want to monitor network trafic but not interact with the network in question. Sponsored by: http://www.babeltech.dk
* Give up on a tty if opening it's special file returns ENOENT like we do forjhb2002-09-271-1/+1
| | | | | | ENXIO. Glanced at by: imp, gallatin
* Don't show disklabel in the examples, it is not necessary.phk2002-09-261-3/+2
|
* Do not dump core on 'ipfw add unreach': handling null strings inmaxim2002-09-251-0/+2
| | | | | | | | fill_reject_code(). Please note ipfw/ipfw2.c is not affected. PR: bin/42304 Submitted by: Andy@wantpackets.com MFC after: 1 day
* Use the standardized CHAR_BIT constant instead of NBBY in userland.mike2002-09-2521-30/+54
|
* Add support to fsck_ffs to account for storage for extendedmckusick2002-09-241-1/+19
| | | | | | attributes. Sponsored by: DARPA & NAI Labs.
* o Fix a typo.maxim2002-09-221-3/+3
| | | | | | | | o Remove EOL spaces. Submitted by: Harold Gutch <logix@foobar.franken.de> (typo patch) Approved by: luigi MFC after: 3 days
* Don't disklabel(8) the md(4) device, it is not needed, and we don't wantphk2002-09-223-22/+3
| | | | | | to propagete BSD disklabels to architectures not already so polluted. Sponsored by: DARPA & NAI Labs.
* Failure to rewrite the disklabel should not be fatal.phk2002-09-221-4/+2
| | | | Sponsored by: DARPA & NAI Labs.
* Construct new disklabels based on the medias stated parameters inphk2002-09-202-40/+94
| | | | | | | userland, rather than expect all possible GEOMetries to know about BSD disklabels. Sponsored by: DARPA & NAI Labs
* Straighten out get_params().phk2002-09-201-33/+34
| | | | Sponsored by: DARPA & NAI Labs.
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-9/+10
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes.mike2002-09-161-8/+11
|
* I forgot fsdb was still sharing files with fsck.phk2002-09-161-1/+1
|
* Add a source file where EXTATTR checks will happen and hook it in evenphk2002-09-164-2/+93
| | | | | | if it doesn't do anything yet. Sponsored by: DARPA & NAI Labs.
* Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes.mike2002-09-161-4/+6
|
* Try to pick up disk geometry with specific DIOC* ioctls, rather thanphk2002-09-151-1/+21
| | | | | | expecting a bogo-disklabel to contain them, if possible. This makes fdisk work with GEOM.
OpenPOWER on IntegriCloud