summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2007-07-11ffs2 support from FreeBSD. Tested by jmc@ and kili@Todd C. Miller
2007-07-11put -q in the right place;Jason McIntyre
2007-07-10implement -q to query a scsi disk for its inquiry data (vendor, model,Henning Brauer
revision, serial #) and print that. when the default bio ioctl fails with ENOTTY because the given disk is not on a bio-supported raid controller, fall back to -q. use strnvis to sanitize inquiry data so it is safe to use in scripts. ok deraadt
2007-07-09correct a typo in an error message.Thordur I. Bjornsson
use realpath(3) to sanitize the path we're going to work with, prevents silly errors when passing ncheck_ffs paths from the shell with a trailing '/' since that doesnt match the entry in fstab. ok deraadt@,krw@
2007-07-09disable specific gcc optimization that triggers the gcc bugTodd C. Miller
2007-07-09Use -O1 for m68k to work around a gcc optimizer bugTodd C. Miller
2007-07-09remove -WallTodd C. Miller
2007-07-07Pull in ffs2 support and other updates from FreeBSD. OK deraadt@Todd C. Miller
2007-07-07Initialize the first 2 block's worth of inodes for ffs1 as well as ffs2.Todd C. Miller
This was not happening since acg.cg_initediblk gets cleared for the ffs1 case. OK otto@
2007-07-04workaround for [daddr64_t] issue; worked on mostly by otto, wee bit by meTheo de Raadt
2007-07-04another mbr partition type; fgschTheo de Raadt
2007-07-03Correct the '-i' parameters in the examples. The '64' in the -c stringsKenneth R Westerback
is a hex value, so '-i 64' does not allocate enough space. Use '-i 0x64' instead. Found by henning on boxes using ahd/ahc.
2007-07-03allow proto esp/ah in flow specification (especially useful for bypass flows)Markus Friedl
ok hshoexer, mpf
2007-07-01states here too not stateHenning Brauer
2007-06-30allow states instead of just state for -s and -F for consistency's sake.Henning Brauer
since only the first letter matters in the end and state still matches states since we do strncmp this does not change xisting behaviour and just allows plural states to be used as well. pt out by Tom Van Looy <tom@ctors.net>
2007-06-29more daddr64_t changes; checked by ottoTheo de Raadt
2007-06-26Enable creation of larger than 1TB FFS2 filesystems. Note that thisOtto Moerbeek
won't work yet. There remains sys/ufs work. ok deraadt@
2007-06-25some trivial delintingTheo de Raadt
2007-06-25Teach fsdb about 64-bit block addresses. ok moritz@ pedro@Otto Moerbeek
2007-06-25Teach fsck_ffs about 64-bit block addresses. ok (and help) moritz@ pedro@Otto Moerbeek
2007-06-23expand size/offset to 16 characters, and drop the Cyl comments whichTheo de Raadt
noone cares to see anymore (for those architectures where this is important, disklabel(8) continues to enfoce the cyl-locked policy) ok otto
2007-06-23sync description of "-m" option to reality. mcbride@ okJun-ichiro itojun Hagino
2007-06-22daddr_t -> daddr64_t; ok pedro@ thib@Otto Moerbeek
2007-06-21always initialize logif, from max laier, ok ryanHenning Brauer
2007-06-20if a 4.2BSD partition falls partly within the area defined by theOtto Moerbeek
'b' command, subtract the overlapping space from the free space. fixes weird free space calculation on hppa, where converted lif labels start at sector 1, but the 'b' area skips the first cylinder. ok millert@
2007-06-20Allow "log" for nat rules without "pass".Marco Pfatschbacher
OK henning@, ``passt scho'' markus@
2007-06-19Allow IPv6 addresses to use the CIDR notation too, no need for separatePierre-Yves Ritschard
prefixlen specification when using this form. man page bits by jmc. ok henning@, ``looks sane'' djm@.
2007-06-18If disklabel(8) is run against unreadable media (e.g. a blank cd)Kenneth R Westerback
don't say "can't read master boot record". Just display an empty disklabel. Really yucky code that needs a lot of tough love, but marginally less confusing until then. ok deraadt@
2007-06-18-r will die. Until then, make sure any labels it dredges up areKenneth R Westerback
converted to v1 format before being used. ok deraadt@ otto@
2007-06-18typoTheo de Raadt
2007-06-17On Sun machines, disklabels coming from the kernel will now have a d_flagsTheo de Raadt
bit D_VENDOR if they face the Sun cylinder / start-at-zero semantics. Other disklabels found on these architectures do not have these issues, and do not need to be constrained. checked by otto
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