summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Merged various changes from src/sbin/fdisk/fdisk.c revisions up to 1.66.nyan2002-10-271-758/+426
|
* Fix the regexp evilness so that fdisk can (again?) find the devicephk2002-10-271-1/+1
| | | | | | root is on from the root mount path. Spotted by: imp
* Don't attempt to find the geometry with disklabel based ioctl, it justphk2002-10-271-15/+0
| | | | issues a useless warning now.
* o Add functionality to add a GPT partition,marcel2002-10-279-104/+389
| | | | | | | | | | | | o Use DCE compliant UUID functions and provide local implementations if they don't exist, o Move dumping of the map to show.c and print the partition type, o Some cleanups and rearrangements. The default GPT partition type is UFS. When no starting block or size are specified, the tool will create a partition in the first free space it find (or that fits, depending on the size).
* Document the `maclabel' command.chris2002-10-251-0/+7
| | | | | Obtained from: TrustedBSD Project Sponsored by: Network Associates Laboratories
* Add the functionality to create an (empty) GPT from scratch. Themarcel2002-10-254-2/+199
| | | | | | code is directly copied from migrate.c. The intend is to express migrate in terms of create and add. The functionality to add partitions is not yet there.
* Fix ipfw2 panics on 64-bit platforms.mux2002-10-241-5/+5
| | | | | | | | | | Quoting luigi: In order to make the userland code fully 64-bit clean it may be necessary to commit other changes that may or may not cause a minor change in the ABI. Reviewed by: luigi
* Report the MONITOR bit.phk2002-10-241-1/+1
|
* Rename ifconfig's "mac" argument to "maclabel" to prevent confusionrwatson2002-10-233-9/+9
| | | | | | | | | | regarding 802.1 MAC and Mandatory Access Control (MAC). Some potential for confusion remains further in other areas of the system regarding Message Authentication Codes (MAC). Requested by: wollman Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Hook raidctl up to the build.scottl2002-10-231-0/+1
| | | | Submitted by: tjr
* Teach ifconfig(8) how to print and set the MAC labels on networkrwatson2002-10-234-0/+116
| | | | | | | | | interfaces using the 'mac' argument. Without MAC support in the kernel, this does not change the behavior of ifconfig. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Don't complain if we have an inconsistent map that may be themarcel2002-10-231-8/+13
| | | | | | | | result of an incomplete migration. An incomplete migration is one where the MBR is not turned into a PMBR after creating the GPT. This early in the game it's more convenient to allow the inconsistency, because that avoids that we have to destroy the MBR partitioning for now.
* Forgot to include <errno.h> when using 'errno' here.jmallett2002-10-221-0/+1
|
* When errno is not set, do not use warn(3).jmallett2002-10-221-1/+2
|
* Use the libufs_printerror() function, which hopefully will deconfuse usersjmallett2002-10-221-1/+2
| | | | | | getting error cases in a libufsificated dumpfs(8). Poked by: kkenn
* Fix LSRR option length check: it has to be less or equal remained header'smaxim2002-10-211-1/+2
| | | | | | length minus sizeof(struct ip). MFC after: 1 week
* I overlooked an absolute path.phk2002-10-211-1/+1
| | | | Submitted by: Henric Jungheim <henric@attbi.com>
* Add devd to the build.imp2002-10-201-0/+1
|
* devd. A daemon that hooks into the kernel's /dev/devctl to produceimp2002-10-209-0/+852
| | | | | | | | | | | | | | arbitrary commands when devices come and go in the device tree (which is different than the /dev directory). This is an initial version. Much of the planned power isn't here. Instead of doing the full matching, we always run /etc/devd-generic. /etc/devd.generic will go away at some point, I think. I'm committing it in this early state so I can start getting feedback from early adapters. Approved by: re
* o Use .Cm for 'attach', 'detach', 'init', 'setkey', and 'destroy' commandschris2002-10-201-15/+28
| | | | | | | | | o Fix some punctuation and wording o Wording consistency in command-line option documentation o Make use of mdoc's markup a bit more (quoting and the like) Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* s/dettach/detach/g etc.phk2002-10-202-12/+12
| | | | Pointed out by: chris
* Use .PATH instead of VPATH.phk2002-10-202-2/+3
| | | | Fix typo in man-page: man-section is 8.
* Complete the Geom Based Disk Encryption: Add the OAM utility.phk2002-10-206-0/+1011
| | | | Sponsored by: DARPA and NAI Labs
* After much delay and anticipation, welcome RAIDFrame into the FreeBSDscottl2002-10-204-0/+3032
| | | | | | world. This should be considered highly experimental. Approved-by: re
* 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
|
OpenPOWER on IntegriCloud