summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
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@
2007-04-13tweak the description of -O2; ok millertJason McIntyre
2007-04-13Missing bit in last commit, remove -z for getopt string.Todd C. Miller
2007-04-13cut the verbosity from usage() and instead print a synopsis,Jason McIntyre
as matched by the man page; ok millert
2007-04-13new sentence, new line;Jason McIntyre
-O takes an argument;
2007-04-13Add support for creating ffs2 filesystems. Note that the conceptTodd C. Miller
of a constant-sized track is obsolete in today's world of variable blocks per track disks so the cylinder group packing algorithm has been updated. Based on the ufs2 changes in FreeBSD by Kirk McKusick. From pedro@ with changes by me as well as a few from NetBSD. OK pedro@ beck@ thib@ and tested by more...
2007-04-10Add support for ffs2 filesystems. From pedro@ based on the ufs2Todd C. Miller
changes in FreeBSD by Kirk McKusick.
2007-04-10Add support for checking ffs2 filesystems. From pedro@ based onTodd C. Miller
the ufs2 changes in FreeBSD by Kirk Mckusick.
2007-04-10Rewrite ITITERATE macro to prevent out-of-bounds memory access.Moritz Jodeit
This makes dump -u work with malloc debugging enabled. ok millert@
2007-04-09Correctly handle option '-m', okay mickey@ grunk@Pedro Martelletto
2007-04-08Fix lint comments. s/Fall through/FALLTHROUGH/.Moritz Jodeit
ok hshoexer@