summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2010-05-03Switch newfs to opendev(3) - this simplies the code and will allow it toJoel Sing
benefit from planned changes to opendev(3). ok krw@ marco@
2010-04-28Add a new 'i' command to the disklabel interactive editor, allowing theJoel Sing
disklabel UID to be changed. ok krw@ marco@
2010-04-28Move the UID printing/parsing code into separate functions and avoid usingJoel Sing
sscanf(). ok marco@
2010-04-28When restoring a disklabel do not restore the uid. Let the kernel allocateJoel Sing
a new uid instead. ok krw@ marco@
2010-04-28Teach disklabel how to print and parse UIDs.Joel Sing
ok deraadt@ krw@
2010-04-23Recycle unused disklabel fields in order to create a disklabel uniqueJoel Sing
identifier, allowing the disk to be identified without relying on the device name. ok deraadt@ krw@ beck@ marco@ todd@
2010-04-21scale angle by 1000000 to permit min.sec accuracyTheo de Raadt
2010-04-21zap trailing whitespace;Jason McIntyre
2010-04-21Add the "angle" sensor, measured in degrees; from Luis PintoTheo de Raadt
2010-04-21Remove interactive help for individual disklabel editor commands.lum
These were in effect a duplication of the man page contents. The man page has been updated to include any small ommissions that were in the interactive help. Man page tweaks/suggestions from jmc@ and deraadt@. ok jmc@ deraadt@ krw@ otto@
2010-04-20Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handledTheo de Raadt
by returning ENXIO instead of ENOENT, to essentially indicate hotplug sensor that has gone away. Accessing beyond the end of the sensordev list still returns ENOENT, so that you can see there are no further devices. ok kettenis oga
2010-04-20Add "frequency" type for sensors. (and teach userland how to print thatOwain Ainsworth
type). Measured in Hz. ok deraadt@
2010-04-17Print startup errors to both the console and the log, rather thanKenneth R Westerback
just the console. ok deraadt@ beck@
2010-04-15there is in fact no default salt file nameTed Unangst
2010-04-15Log when isakmpd starts - patch from Toni Muellerlum
ok ho@ mpf@ krw@ sthen@ kjell@
2010-04-15add SENSOR_HUMIDITY to sensor framework to handle humidity valuesYojiro Uo
ok kettenis@ xsa@ sobrado@ krw@ deraadt@
2010-04-14Specifying an invalid number of nfsd's is an error. So error outKenneth R Westerback
rather than try to guess what was intended. ok halex@ tedu@ deraadt@
2010-04-14neccessary -> necessary;Jason McIntyre
2010-04-14Remove reference to a limitation of 8GB that does not exist anymore.lum
ok krw@ otto@
2010-04-13Some more help text cleanup, from suggestions by krw@lum
ok krw@ jmc@ otto@
2010-04-13Clean up and make consistent the first sentence of each help entry inlum
interactive disklabel. Plus realign all lines because of textual changes. ok krw@ jmc@ otto@
2010-04-12remove pkcs5 implementation here and use the one from bioctl. no libcryptoTed Unangst
dependency. and some other tweaks. from mikeb. ok djm
2010-04-12a little more tidying and excess word reduction. ok jmcTed Unangst
2010-04-11use .Pp to split up this huge text chunk;Jason McIntyre
2010-04-11fix a hack that only worked with old groff;Jason McIntyre
2010-04-11make the options blurb consistent;Jason McIntyre
2010-04-11reduce redundant text in several sections. ok jmcTed Unangst
2010-04-06Simple implementation of RFC4941, "Privacy Extensions for StatelessStefan Sperling
Address Autoconfiguration in IPv6". For those among us who are paranoid about broadcasting their MAC address to the IPv6 internet. Man page help from jmc, testing by weerd, arc4random API hints from djm. ok deraadt, claudio
2010-04-06fix some more dodgy "-indent"; aucat.1 has some too, but i'll leave that forJason McIntyre
ratchov, to avoid messing up his current diff...
2010-04-06list offset should be "indent", not "-indent";Jason McIntyre
2010-04-05-indet is not a valid .Bl option, it should be -indent. But what mandoc(1)Theo de Raadt
did was spit that out on the next line of output, without warning, which is a bug in mandoc(1)...
2010-04-04Add some ipv6 hooks the isc code expects for dhcpv6.Jonathan Gray
ok krw@ ramdisks checked by deraadt@
2010-04-04In editor_add(), determine block & frag size base on the the actual fsOtto Moerbeek
size chosen by the user, and not the suggested size; move to bigger blocksize in two steps; ok krw@
2010-04-03scsi_all.h is needed before scsi_disk.h now. ok marcoNicholas Marriott
2010-04-03On the random MAC address also turn off the 'local administered' bit,Theo de Raadt
since it is our intent to deceive. Prompted by weerd. ok ckuethe
2010-04-02randomized mac addresses, avaliable via 'ifconfig $if lladdr random'.Theo de Raadt
Note that not all device drivers do the work of the SIOCSIFLLADDR ioctl correctly, but this is just more reason to get them fixed. ok beck kettenis
2010-04-02Use a dedicated variable to prevent attempting to open multipleStuart Henderson
ALTQ transactions when anchors are loaded. Fixes pfctl when using 'load anchor ... from' as seen by beck@ and Toni Mueller, which stopped working after r1.295 removed loadopt (which was overloaded to do this job as well as indicate command- line flags). ok henning@
2010-04-01WARNINGS -> CAVEATS, and a little neccessary cleanup;Jason McIntyre
2010-03-29Improve the way we handle spoofed paritions for Resize. Now any autoOtto Moerbeek
allocated can be treated. We still check if no non-native partition overlaps the openbsd area, to avoid surprised. ok krw@ lum@
2010-03-27remainer->remainder; from miodJason McIntyre
2010-03-27various improvements from Anders Langworthy, with some tweaksJason McIntyre
from krw and myself; ok deraadt krw
2010-03-27`b' and `c' arguments to mknod are not optional; from LEVAI DanielJason McIntyre
c_sh.c part from sobrado; ok millert guenther
2010-03-26dispense with some wacky escape sequences;Jason McIntyre
2010-03-25be more strict in check_option().Kevin Steves
ISC dhclient had a buffer overflow: http://www.kb.cert.org/vuls/id/410676 and while our dhclient is not vulnerable to that, it got us looking at how the subnet mask option is handled. this limits specific ip address options to length 4 in conformance with RFC 2132. discussion started by william@ and with input from krw@ ok krw@
2010-03-25s/parititon/partition/ in error messageStuart Henderson
2010-03-23tweak previous; ok ottoJason McIntyre
2010-03-23oops - i obviously missed -r1.142;Jason McIntyre
2010-03-23Add missing break, found while syncing with netstat/show.cClaudio Jeker
2010-03-23Print MPLS information in route -n get and do some cleanup in the show code.Claudio Jeker
OK michele@
2010-03-23avoid use of uninited var in max_partition_size(); ok krw@Otto Moerbeek