summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2007-06-16OK, landisk needs NUMBOOT=1Theo de Raadt
2007-06-16i386/amd64/zaurus/landisk are not NUMBOOT=1 or NUMBOOT=2 architectures.Theo de Raadt
the result was occasional disklabel trashing as a result of disklabel -r, and perhaps other requests to the command; ok krw
2007-06-15don't use static data in recursive functions; from FreeBSD; fixes PR 5509Otto Moerbeek
and other reports about dump accessing wrong blocks; ok beck@ deraadt@
2007-06-14Add a new "rtlabel" option to ifconfig. It allows to specify a route labelReyk Floeter
which will be used for new interface routes. For example, ifconfig em0 10.1.1.0 255.255.255.0 rtlabel RING_1 will set the new interface address and attach the route label RING_1 to the corresponding route. manpage bits from jmc@ ok claudio@ henning@
2007-06-13allow IPv4 addresses to be specified in CIDR notation, no need for seperateHenning Brauer
mask in that case. initially from rivo nurges <rix@estpak.ee>, but changed quite a bit. this has annoyed me so long that I wonder why I hadn't fixed that earlier... input & ok markus deraadt, manpage also jmc
2007-06-12just because sth is an abbreviation or acronym, does not mean it'sJason McIntyre
a tradename: zap erroneous .Tn
2007-06-12zap some dead AF_NS bits; ok henningJason McIntyre
2007-06-11When dumping ffs1, store old_atime and old_mtime too.Todd C. Miller
2007-06-10daddr_t -> daddr64_tOtto Moerbeek
2007-06-10remove last instances of daddr_t; ok thib@Otto Moerbeek
2007-06-10adjust the width of columns to match the geometry of current drivesIgor Sobrado
ok deraadt@
2007-06-08Simplify rounding to cylinders.Todd C. Miller
Also, on systems with sun labels, don't allow the user to create a partition with fewer than a cylinder's worth of sectors. OK otto@
2007-06-08second pass, some fields slipped through the first time aroundOtto Moerbeek
2007-06-08Make disklabel(8) aware of the new fields, allowing for larger thanOtto Moerbeek
2T disks, partitions and offsets. ok deraadt@
2007-06-08Fix setting total # sectors in the 'e' command.Todd C. Miller
2007-06-07Add missing parens, fixes a bug aded in rev 1.112 where maxval wouldTodd C. Miller
be set to 0 most of the time.
2007-06-07do not complain about c not being a multiple of lp->d_secpercyl; ok millertTheo de Raadt
2007-06-06fix the cylinder rounding calculation for "totally using the space" typeTheo de Raadt
calculations; ok otto millert
2007-06-06fix oups, mlist@scapa.dnsalias.netHenning Brauer
2007-06-06reverse logic of if_exists so that if_exists(interface) is true ifHenning Brauer
interface exists and !if_exists(interface) is when it doesn't
2007-06-05remove support for ipx. okay claudio@Kurt Miller
2007-06-04avoid rounding down to zero cylinders. ok marco@Otto Moerbeek
2007-06-04more ipx, jmcHenning Brauer
2007-06-04more ipx, spotted by jmcHenning Brauer
2007-06-04use warn() where warn() is intended, not err()Henning Brauer
exit nonzero if the inetrface does not exist From: tbert <bret.lambert@gmail.com>
2007-06-04no more ipxHenning Brauer
2007-06-04remove IPX, agreed by manyHenning Brauer
libc and kernel side awaiting a libc major bump to piggyback to
2007-06-04- remove an extraneous .BlJason McIntyre
- -C before -c
2007-06-04document -C option of bioctlTodd T. Fries
use a simpler form of options with variable number of args suggestions jmc@ ok marco@
2007-06-03Add ffs2 support to dump/restore. From FreeBSD with some NetBSD changes.Todd C. Miller
With help from otto@
2007-06-02do not shadow globals (in if_exists)Henning Brauer
2007-06-02on pcap error, check wether the interface went away and exit if it did.Henning Brauer
spinning and flooding syslog in that case was not so nice.
2007-06-02installboot not just for i386; ok krwJason McIntyre
2007-06-02safer snprintf construct with more paranoid length calculationPeter Valchev
ok millert
2007-06-01ufs1_daddr_t cleanup, okay otto@Pedro Martelletto
2007-06-01daddr64_t changes; not fssize is still an int; ok pedro@Otto Moerbeek
2007-06-01add RAID to the list of partition types for which we do not prompt for aTodd T. Fries
filesystem ok krw@
2007-06-01ufs_daddr_t is a dead type. growfs is the only program that uses it, yetTheo de Raadt
it is ffs1-aware only. therefore all the types are on disk, and thus, they are actually int32_t. ok pedro
2007-06-01Don't use cg.cg_niblk but fs.fs_ipg; the former has no meaning any more.Otto Moerbeek
Fixes PR 5494; with pedro@; ok pedro@ millert@
2007-06-01Let conf_trans_node() set all parts of the node, so that we don'tMoritz Jodeit
have to expose the node to the outside. Without this, conf_trans_node() created a node, linked it into the conf_trans queue and returned it to the caller. If something failed in one of the callers, the half-initialized node would still be linked in the queue and could get accessed later on. ok hshoexer@
2007-06-01really goneTheo de Raadt
2007-06-01convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thibTheo de Raadt
2007-06-01remove crufty adosfs. everytime we try to change a vfs layer interface,Theo de Raadt
adosfs has the issue and in an entirely different way. noone uses this code so this is hte best way to handle the problem diff from pedro who went to sleep but we need to move ahead; ok thib
2007-06-01since real boottime vnd support would have caused many problems,Alexander von Gernler
do a poor man's (but yet working) solution and provide the user with instructions to enhance fstab(5) and rc.local(8) with own boot time support. tweaks and ok jmc@
2007-06-01support for softraid level 'c'.Ted Unangst
2007-05-31fix a funny memory miscalculation bug in options parsingPeter Valchev
ok henning otto theo
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-31typo, ok tedu@Alexander von Gernler
2007-05-31Cope with new ioctl interface (use pfsync_state instead of pf_state)Ryan Thomas McBride
ok henning@ toby@ pyr@
2007-05-30some i missed...Jason McIntyre
- consistent text for STANDARDS - note which options are extensions to POSIX