summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add #include <sys/resource.h>phk2003-02-162-0/+2
|
* Remove #include <sys/dkstat.h>phk2003-02-161-1/+0
|
* Replace use of random() with arc4random() to provide less guessablemckusick2003-02-141-5/+5
| | | | | | | | values for the initial inode generation numbers in newfs and for newly allocated inode generation numbers in the kernel. Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org> Sponsored by: DARPA & NAI Labs.
* Correct lines incorrectly added to the copyright message. Add missing period.mckusick2003-02-145-20/+5
| | | | | Submitted by: Bruce Evans <bde@zeta.org.au> Sponsored by: DARPA & NAI Labs.
* The bugs section hasn't been true since before 5.0-Rimp2003-02-141-3/+0
|
* devd bugs section is now OBEimp2003-02-141-3/+0
|
* Improvements to md5.c so that it uses getrusage to timesilby2003-02-141-8/+12
| | | | benchmarks, and prints out results in float format.
* Show the paritition types that we recognize in human readable format. eg:peter2003-02-131-4/+28
| | | | | | | | | | | | | pluto2# gpt show da0 start end size contents 0 0 1 PMBR 1 1 1 Pri GPT header 2 33 32 Pri GPT table 34 401595 401562 GPT part - EFI System partition 401596 925883 524288 GPT part - FreeBSD ufs partition 925884 9314491 8388608 GPT part - FreeBSD swap partition ... It'll print a plain uuid string for unrecognized types.
* MFi386: Use DIOCGPC98 ioctl.nyan2003-02-111-16/+57
|
* Convert newfs to libufs (really). Solves one real issue with previousjmallett2003-02-115-116/+43
| | | | | | | version of such. Differences in filesystems generated were found to be from 1) sbwrite with the "all" parameter 2) removal of writecache. The sbwrite call was made to perform as the original version, and otherwise this was checked against a version of newfs with the write cache removed.
* Use srandomdev() for FreeBSDache2003-02-111-0/+4
|
* Rename bio_linkage to the more obvious bio_parent.phk2003-02-071-0/+1
| | | | Add bio_t0 timestamp, and include <sys/time.h> where needed
* Use a more standard error message. Add FBSDID.charnier2003-02-051-4/+5
| | | | Reviewed by: ru
* The .Xr utilitycharnier2003-02-051-2/+3
|
* Correct examples for stateful inspectionbrueffer2003-02-041-2/+2
| | | | | | PR: 47817 Submitted by: Simon L.Nielsen <simon@nitro.dk> Reviewed by: ceri, luigi
* Bring in support for volume labels to the filesystem utilities.gordon2003-02-017-10/+63
| | | | Reviewed by: mckusick
* Build sunlabel on sparc64.jake2003-01-311-0/+4
|
* Add sunlabel, a more or less drop in replacement for bsd^H^H^Hdisklabel(8)jake2003-01-312-0/+585
| | | | | which works on sun labels. Due to the lack of an interface other than write(2) to update labels, it cannot modify an open partition.
* Additional PC98 option is not needed.nyan2003-01-301-3/+0
|
* Back out conversion to libufs, for now. It seems to cause problems.jmallett2003-01-294-42/+111
| | | | Reported by: phk
* Call fill() after maxpayload has been initialized.mdodd2003-01-291-3/+6
| | | | Reviewed by: maxim
* Send ICMP_MASKREQ packets when the '-M' option is specified.mdodd2003-01-282-10/+31
|
* Fix problems with how libufs was used, with regard to mounted/active fs's,jmallett2003-01-281-32/+16
| | | | | in the new world order of libufs, where we also do statfs, and add a missing close.
* Update mount_nfs documentation to reference new sysctl for -c default.dillon2003-01-271-2/+6
|
* Don't use the kern.disks sysctl to find a list of md devices, use thephk2003-01-271-41/+7
| | | | | | MDIOCLIST ioctl instead. Spotted by: keramida
* Convert newfs to use libufs. I've tested this on md filesystems, as hasjmallett2003-01-274-111/+42
| | | | keramida, and all seems well.
* If we fail to open O_RDWR, try opening O_RDONLY, if we use ioctlsphk2003-01-262-0/+12
| | | | | | to fiddle the disk we can get away with it. Try to use DIOCBSDBB to write boot code.
* IA64 still needs to be able to run on MBR+BSD combination, so put disklabelphk2003-01-263-0/+3
| | | | | | back. Pointed out by: peter
* Drop the silly notion that i386 has two bootstrap files now that sys/bootphk2003-01-264-326/+70
| | | | | | | | creates a single file named just "boot". Apart from the fact that the option "-s" is now gone and that "-b" should be pointed at /boot/boot instead of /boot/boot1, this patch should be a no-op.
* Remove #if checks for NUMBOOT==0, it's not relevant for any architecturephk2003-01-262-60/+0
| | | | | and if we get such an architecture, we can just avoid using the relevant options.
* Offer better advice in #error.phk2003-01-262-10/+6
| | | | Remove yet a usage message about -N/-W
* Spell libufs correctly in DPADD.ru2003-01-262-2/+2
| | | | Reviewed by: juli
* Remove ia64 and powerpc #ifdefs: this is i386/pc98/alpha only code.phk2003-01-262-6/+6
|
* Make disklabel(8) MD for i386/pc98 and alpha only.phk2003-01-261-1/+5
|
* Remove #ifdef __sparc64__ code. GEOM uses native SUN labels on this arch,phk2003-01-262-118/+4
| | | | so no hacks are needed.
* Fix typo in last commit.phk2003-01-262-168/+174
| | | | Rearrange bits in writelabel() a bit for improved readability.
* Remember to remove -N and -W from usage.phk2003-01-262-4/+0
|
* Don't fiddle write-protect status of disklabel, it's a discontinued feature.phk2003-01-262-16/+0
|
* Retire the "-N" and "-W" options which implemented write-protectionphk2003-01-264-98/+6
| | | | | | | | | | | | | | | | | | | for the disklabel: This facility is OBE. First of all, we cannot sensibly implement this in a properly stacked environment. Second, if we did, it would confuse the heck out of users who wouldn't be able to "start from scratch" by dd(8)'ing /dev/zero onto /dev/da0. Third, the offered protection is not comprehensive: no other software would respect it. Fourth and finally, the disklabel is already protected against tampering if it controls open partitions. Uselessness of these options discussed with: peter
* Change the -x option so that it does an actual REAL test ofsilby2003-01-261-11/+35
| | | | | | the correctness of this program. Previously, it printed out the MD5 values of some test strings, but did not tell you if they were correct or not!
* Convert references to other manpages to .Xr and addkeramida2003-01-261-4/+7
| | | | entries to the SEE ALSO section.
* Readjust the cache initialization code to make it more obvious that thedillon2003-01-251-12/+7
| | | | cache is bypassed when disabled.
* Since route(8) itself is no longer setuid, we can get a meaningfulkbyanc2003-01-251-1/+1
| | | | | | | | answer for the euid. As a result, fix it such that setuid scripts or programs may call route(8) to do work on their behalf. Reviewed by: ru MFC after: 3 days
* Parse both old flags location and new one. Print out new flags includingnjl2003-01-241-14/+24
| | | | acls, multilabel, and location updated.
* Add missing #if USE_IF_MEDIA/#endif.mdodd2003-01-231-1/+4
|
* Better error handling for -s.maxim2003-01-232-11/+15
| | | | | | | | | | | | | | Submitted by: bde Do not constantify maximum payload size. It is 65467 with -R (record route), and 65507 without it. Reviewed by: silence on -net Proposed by: bde I am going to MFC rev.1.77 - 1.81 ping.c and rev.1.39 and 1.40 ping.8: MFC after: 6 months
* style(9) sweep.maxim2003-01-231-37/+30
| | | | Submitted by: bde
* Anti-magic: s/255/MAXTTL/maxim2003-01-231-2/+2
|
* Implement -D (do not fragment) and -z (TOS) options.maxim2003-01-232-8/+63
| | | | | | PR: bin/29164 Reviewed by: silence of -net Obtained from: OpenBSD
* Print strict source routing option.maxim2003-01-231-1/+3
| | | | | Reviewed by: silence on -net Proposed by: David Wang <dsw@juniper.net>
OpenPOWER on IntegriCloud