summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2007-05-15Make usage declaration match prototype; Make it __dead also.Thordur I. Bjornsson
ok otto@
2007-05-13g/c unused varsTodd C. Miller
2007-05-13Sync editit() with sendbug.Ray Lai
OK krw@.
2007-05-12remove references to mount_vnd.8 and fsck_vnd.8 as these are not hookedFelix Kronlage
into the build yet. ok jmc@
2007-05-11pass the right size arg to memset, otherwise we end up with aOtto Moerbeek
partially initialized summary info struct. ok millert@ pedro@
2007-05-11it's silly for reboot to poweroff. adapted from diff by diana eichertTed Unangst
2007-05-10Do not crash when lists include the "any" keyword. Reported byHans-Joerg Hoexer
<ralf.horstmann at gmx.net>, thanks! Slightly different fix. Also add a regression test. ok mpf@
2007-05-08Introduce the mouse.rawmode and mouse.scale fields forRobert Nagy
touchscreen calibration via ioctls. ok miod@
2007-05-07Bump crypto buffer logging (before crypto/after crypto) to level 70 fromChad Loder
level 30. This was a huge cause of log spam at level 30 and below, and is really not that useful.
2007-05-07It was possible for phase 1 negotiation to fail due to lifetime durationChad Loder
mismatch without any log message stating so. This diff makes sure that all phase 1 negotiation failures due to proposal attribute mismatch are logged. Also change these messages from LOG_NEGOTIATION debug level 70 to always be logged (not just with debug). General idea OK hshoexer, tested here in production.
2007-05-07Document "M active|passive" ui command.Joel Knight
ok jmc@ mpf@
2007-05-05Do not rely on fs_cpg; this is especially important for ffs2 whichTodd C. Miller
does not use fs_cpg at all. From FreeBSD. OK otto@
2007-05-05Add support for ffs2 and a new flag, -m, which will output aTodd C. Miller
newfs command that can be used to make a filesystem with the same settings. OK otto@
2007-05-05Kill a log message which looks like an error message but is actuallyChad Loder
both meaningless and harmless. ("nat_t_check_vendor_payload: bad size") ok todd
2007-05-03Update CGSIZE macro so that it is no longer based on fs_cpg.Todd C. Miller
This was part of the ffs2 changes but was not committed earlier in order to make the userland and kernel changes independent. NOTE: the change to newfs require an updated fs.h; building an updated newfs with the old fs.h may result in a broken filesystem. OK otto@
2007-05-02convert to standard usage(); ok millert ottoJason McIntyre
2007-05-02clarify error message; ok grunk@David Krause
2007-05-02use strtonum(3) and usage nit; ok millert@Otto Moerbeek
2007-05-02remove #ifdef TUNEFS_SOFTDEP code, requested by millert@Otto Moerbeek
2007-05-02better wording and cleanup from jmc@Otto Moerbeek
2007-05-02FFS2 savvy tunefs from NetBSD. Some cleanup will be done after this.Otto Moerbeek
ok millert@ and jmc@ for the man page.
2007-05-01for the restore -r example:Jason McIntyre
- use /dev/sd rather than /dev/rp, since rp no longer exists - use rst0 instead of rst8, since rst8 does not exist (by default) from Matthias Scheler ok otto
2007-04-29fix rounding in the modify case; ok millert@ miod@Otto Moerbeek
2007-04-28Copy sendbug's editit().Ray Lai
OK deraadt@.
2007-04-27Remove unneeded #include's, as already done for disklabel. CPU_BIOSKenneth R Westerback
fallout.
2007-04-26lint says: fdisk.c:160: warning: operator '==' found where '=' was expectedTheo de Raadt
yet gcc happily ate it... see, lint is useful
2007-04-26includes that are not needed anymoreTheo de Raadt
2007-04-26Eliminate CPU_BIOS from userland and wd(4) by always using the BIOSKenneth R Westerback
geometry in the disklabel when there is a BIOS geometry to provide. This removes the option to set a disklabel to 'BIOS' geometry via the 'g b' command in the editor. Makes reported geometry more consistant and moves MD code to MD land where it should be. Doc help from jmc@, Feedback from millert@, marco@, weingart@, kettenis@. ok deraadt@
2007-04-26Copy sendbug's editit() to disklabel.Ray Lai
OK krw@.
2007-04-23remove -D stuff which is just silly, imagine if ls had a debug mode; ok marcoTheo de Raadt
2007-04-23Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bitPedro Martelletto
architectures, CGSIZE() was returning something sligthly over one block. The 'new' fsck would round this value up to a fragment boundary, and end up trying to access memory beyond allocated space. From mickey@, okay pedro@, millert@ and otto@.
2007-04-22Free allocated node in conf_set_now() before failing,Moritz Jodeit
so we do not leak memory. ok hshoexer@
2007-04-22Use conf_free_list() after calling conf_get_list().Moritz Jodeit
Otherwise we leak memory. ok ho@
2007-04-21use the correct size arg to memcmp when checking fs_cstotal.Otto Moerbeek
now jmc does not use 8TB in /tmp anymore. ok pedro@
2007-04-21"o" in optiopt_list is superfluous now tooHenning Brauer
2007-04-21fix -o handling. syntax is now -o none|basic|profile. -o without argumentHenning Brauer
is invalid now, it doesn't serve any purpose any more anyway since that is the default. ok mcbride
2007-04-20no whitespace allowed between -o and its argument, so update doc/usage()Jason McIntyre
to reflect this; whilst there i had to wrap -t in Xo/Xc to stop line split, and i zapped some extra whitespace in usage(); fixes user/5441 from sthen
2007-04-19teach dumpfs about the 'updated' flag; ok pedro@Otto Moerbeek
2007-04-18When trying to read the primary superblock, do not accidentially readOtto Moerbeek
a ffs1 alternate sb at the primary ffs2 sb location. Use the same test as the kernel does. ok millert@ pedro@
2007-04-18Remove the ``new i/o'' code. It has never worked well, noone has stepped upMiod Vallat
to fix it, and it goes in the way of good changes pedro is brewing. No functional change, tested todd@ millert@
2007-04-18don't let fpg and spc get out of sync. solves a few cases where newfsOtto Moerbeek
produces a bad cg when -c is used. ok pedro@ millert@
2007-04-18Do not exit when the TIOCSDTR ioctl() fails, but output a warning.Marc Balmer
This makes claudio's ublox aek-4t happy.
2007-04-17remove mention of -g and assocatiated options that aren't working nowTed Unangst
reminded by jmc
2007-04-17Fix merge error; fs_inodefmt was not being set for the ffs2 caseTodd C. Miller
2007-04-16There's no point in checking ptr for NULL before doing free(ptr)Moritz Jodeit
since free(NULL) is just fine. ok hshoexer@
2007-04-15Fix interop-issue with vpn peers that start reyking on port 4500 whenHans-Joerg Hoexer
NAT-T is used. Solves problems with cisco and openswan. Tested by todd@ (cisco interop), ok ho@ Original fix with Stefan Roth (stefan dot roth at siemens dot com), thanks!
2007-04-14documentation of -o option was missing both in man page and usage()Alexander von Gernler
ok jmc@
2007-04-14oops, sort options;Jason McIntyre
2007-04-14+.Xr fsck_vnd 8 ,Jason McIntyre
2007-04-14introduce {fsck,mount}_vnd tools to be able to describe vnd imagesAlexander von Gernler
in /etc/fstab instead of using some weird homegrown scripts. No support for boot time mounting yet, so "noauto" is still needed. original idea from david@ help and discussion todd@ bluhm@ beck@, manpage help jmc@ ok simon@ tedu@ bluhm@ todd@, "looks good" thib@