summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixup FILES section to use proper width and to use a cross-reference tojhb2002-11-181-2/+2
| | | | devd(8).
* Remove leading ^ from example of match line in vendor-supplied rules sincejhb2002-11-181-2/+2
| | | | the ^ is implicit at the beginning of the expressions.
* Add BUGS section and note departure of actual implementation from whatimp2002-11-182-0/+6
| | | | is documented so the pioneers will know why it works the way it does.
* Everything in the disklabel is unsigned so make all the input routinesjulian2002-11-182-114/+104
| | | | | | | | | | | | take unsigned values. his allows one to label disk with the number of blocks > 31 bits (though less then 32 bits) e.g. # size offset fstype [fsize bsize bps/cpg] c: 3125755904 0 unused 0 0 # (Cyl. 0 - 194569*) d: 3125755840 64 unused 0 0 # (Cyl. 0*- 194569*) which is needd to test UFS2
* Deal with the possibility that time_t != int32_t. Otherwise ia64 thoughtpeter2002-11-171-2/+4
| | | | the fs_old_size was the half part of fs_old_time etc.
* Properly calculate the initial number of fragments in a large filesystem.mckusick2002-11-151-1/+2
| | | | Sponsored by: DARPA & NAI Labs.
* update vlandev description; vlan code now auto-recognizes devices thatsam2002-11-151-6/+4
| | | | support h/w tagging
* o display new interface capability bitssam2002-11-151-1/+1
| | | | | | o capitilize capability bit strings for consistency Approved by: re
* Install devd.conf(5).tjr2002-11-141-1/+1
|
* Try to reword things a bit more to make it clearer.jhb2002-11-131-3/+13
| | | | Reviewed by: imp
* - Fix some minor grammar and spelling nits.jhb2002-11-131-10/+14
| | | | | | | - Massage the wording in a few places. - Put .Nm on lines by itself so it renders correctly. Reviewed by: imp
* Fix a "bug" in sysctl(8). Limit the length when we print a string frompeter2002-11-121-1/+1
| | | | | the kernel rather than ignoring the length and keeping on going till we finally hit a \0 character in the buffer.
* Remove inclusion of <sys/uuid.h>. We now include <sys/uuid.h> inmarcel2002-11-107-7/+0
| | | | | | <sys/gpt.h>. This avoids having to include both <sys/uuid.h> and <uuid.h>, which is considered by your friendly committer to be aestheticly displeasing (= ballyhoo barf barf :-)
* Fix one misspelling and two punctuation nits.bmah2002-11-071-3/+3
|
* Kill EOL whitespaces, style(9) fix.maxim2002-11-061-13/+12
|
* Fix UID/GID options parsing.maxim2002-11-061-2/+2
| | | | | | | PR: bin/42579 Submitted by: Belousov Oleg <oleg@belousov.com> Approved by: luigi MFC after: 2 weeks
* Take sizeof() the right string for fspath's iovec. The old string was thejhb2002-11-051-1/+1
| | | | same size so this doesn't fix a bug, but it makes it cleaner.
* Use more non-b0rked error reporting. Print the disk we are trying to openjmallett2002-11-051-3/+6
| | | | | | and (we have the disk error from libufs? the disk error: the errno). Requested by: bde, <many>
* Hook the new nextboot(8) manpage up to the build.gordon2002-11-041-1/+1
|
* Add a nextboot manual page.gordon2002-11-041-0/+116
| | | | Spotted by: brandt@fokus.gmd.de
* Run a revision on the GBDE encryption facility.phk2002-11-043-48/+106
| | | | | | | | | | | | | | | | | | | | Replace ARC4 with SHA2-512. Change lock-structure encoding to use random ordering rather for obscurity. Encrypt lock-structure with AES/256 instead of AES/128. Change kkey derivation to be MD5 hash based. Watch for malloc(M_NOWAIT) failures and ditch our cache when they happen. Remove clause 3 of the license with NAI Labs consent. Many thanks to "Lucky Green" <shamrock@cypherpunks.to> and "David Wagner" <daw@cs.berkeley.edu>, for code reading, inputs and suggestions. This code has still not been stared at for 10 years by a gang of hard-core cryptographers. Discretion advised. NB: These changes result in the on-disk format changing: dump/restore needed. Sponsored by: DARPA & NAI Labs.
* Bring newfs_msdos into the GEOM world. Totally rewrite and simplifyscottl2002-11-031-83/+49
| | | | | | | | getdiskinfo(). For the fixed-disk case, bpb->hid probably isn't handled correctly, but I'm not sure if this is a serious problem since the primary use of this program is to format floppy disks. Reviewed by: phk
* o Remove the fallback implementations of uuid_create(),marcel2002-11-026-68/+5
| | | | | uuid_from_string(), uuid_is_nil() and uuid_to_string(). o Include <uuid.h> where appropriate.
* o Replace 'struct uuid' with 'uuid_t',marcel2002-11-011-19/+20
| | | | | o Replace memcmp with uuid_equal(3), o Use uuid_to_string(3) to convert to UUIds to string.
* Give a meaningfull diagnostic when we cannot determine the filesystem type.phk2002-10-311-1/+3
|
* Initialize the new salt field in the lock sector.phk2002-10-301-2/+3
| | | | Sponsored by: DARPA & NAI Labs
* Misc fixes from Chris Pepper, plus additional explainations onluigi2002-10-281-186/+183
| | | | | | dummynet operation. MFC after: 3 days
* Remove a line that reflected behavior that does not actually exist.chris2002-10-281-1/+0
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* 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.
OpenPOWER on IntegriCloud