summaryrefslogtreecommitdiffstats
path: root/sbin/fsck/fsck.8
Commit message (Collapse)AuthorAgeFilesLines
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-101-3/+3
|
* Fixed the misplaced $FreeBSD$.ru2005-02-091-1/+2
|
* Deal with double whitespace.ru2004-07-031-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+5
|
* Remove references to the '-l' option in synopsis. The rest of thesimon2003-07-261-2/+1
| | | | | | | | description of this option was removed in v. 1.22. PR: docs/54880 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Approved by: ceri (mentor)
* english(4) police.schweikh2002-12-271-2/+2
|
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-24/+24
|
* The .Nm utilitycharnier2002-07-061-1/+1
|
* more file system > filesystemtrhodes2002-05-161-4/+4
|
* mdoc(7) police: Fixed broken xrefs.ru2001-08-221-1/+1
|
* Remove whitespace at EOL.dd2001-07-151-5/+5
|
* mdoc(7) police: update document date, sort xrefs, fix markup.ru2001-04-271-5/+11
|
* Add support for running foreground (-F) and background (-B) checks.mckusick2001-04-251-3/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | Traditionally, fsck is invoked before the filesystems are mounted and all checks are done to completion at that time. If background checking is available, fsck is invoked twice. It is first invoked at the traditional time, before the filesystems are mounted, with the -F flag to do checking on all the filesystems that cannot do background checking. It is then invoked a second time, after the system has completed going multiuser, with the -B flag to do checking on all the filesystems that can do background checking. Unlike the foreground checking, the background checking is started asynchonously so that other system activity can proceed even on the filesystems that are being checked. At the moment, only the fast filesystem supports background checking. To be able to do background checking, a filesystem must have been running with soft updates, not have been marked as needing a foreground check, and be mounted and writable when the background check is to be done (i.e., not listed as `noauto' in /etc/fstab). These changes are the final piece needed to support background filesystem checking. They will not have any effect until you update your /etc/rc to invoke fsck in its new mode of operation. I am still playing around with exactly what those changes should be and should be committing them later this week.
* mdoc(7) police: use .Nm instead of hardcoded name.ru2001-04-041-1/+3
|
* This change sanitizes the way fsck deals with pass numbers.phk2001-03-301-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consider this /etc/fstab: # Device Mountpoint FStype Options Dump Pass# /dev/ad1s1b none swap sw 0 0 /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /home ufs rw 2 2 /dev/ad1s1e /tmp ufs rw 2 2 /dev/ad1s1f /usr ufs rw 2 2 /dev/ccd0c /syv ufs rw 2 11 proc /proc procfs rw 0 0 ccd0c is striped over /dev/ad0f and /dev/ad1g Without this pass, fsck in preen mode will check ad0s1a first, and then issue three processes in parallel: One process doing ad0s1e One process doing ad1s1e and ad1s1f One process doing ccd0c There is no way to tell it that ccd0c overlaps ad0 and ad1. With the patch, it will do it this way: pass 2: One process doing ad0s1e One process doing ad1s1e and ad1s1f and when they are complete: pass 11: One process doing ccd0c This is much faster and more sane. Valid pass numbers are anything from 1 to INTMAX-1. I retired the '-l' option which tried to allow people to do something like this, but which didn't work and which complicated the code an awful lot.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-2/+2
|
* When trying to deduce the diskname from the name so we can runphk2000-12-271-2/+2
| | | | | | | | | | | | | | | | | parallel fsck's one per drive, use the shortest prefix ending in a digit rather than the longest prefix ending in a digit. This makes "/dev/ad0s1a" and "/dev/ad0s2a" appear to both reside on the disk "/dev/ad0" and consequently they will be fsck'ed sequentially rather than in parallel as now. In general this heuristic is rather soft and errorprone. For instance ccd may often reside on two or more physical disks. A good solution would be to look for passes larger than 1 until no disks are found in a particular pass, that way people could put ccd stripes in pass 3... and have them fsck'ed sequentially. Reviewed by: mjacob
* Prepare for mdoc(7)NG.ru2000-12-181-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* mdoc(7) police: fix errors uncovered by the new feature of the Nm macro.ru2000-11-181-2/+2
|
* .. fsck wrappers aftercommit #1: I don't know how these files got lost,adrian2000-10-091-0/+123
| | | | but they did. Oops.
* Reviewed by: rwatson, bpadrian2000-10-091-321/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: rwatson Obtained from: NetBSD source tree Second part of the fsck wrappers commit. This commit enables the new fsck code (removing the fsck/* code and replacing it with the netbsd fsck wrapper code), and enabling some FFS-based utilities to compile. Details: * quotacheck, fsdb required modification to use the fsck_ffs/ code rather than fsck/ . This might change later since quotacheck requires preen.c which should exist in fsck/ rather than fsck_ffs/ * src/Makefile has fsck_ffs added to it so it it built as part of the tree now * share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck. I've tested this, and it shouldn't require any changes on your machine. The fsck wrapper reads /etc/fsck and is command-line-compatible enough to not require rc changes (well, most changes unless you want to do anything nifty by specifying the fs types explicityly, read the man page if you want further details on what it can do.) This now allows us to support multiple filesystem types during bootup.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Cosmetic and documentation changes brought from earlier FreeBSD versions.julian1998-12-031-18/+26
| | | | (e.g. RCS Id:)
* Reviewed by: Don Lewis <Don.Lewis@tsc.tdk.com>julian1998-12-031-54/+58
| | | | | | | | | | | | Submitted by: Kirk McKusick <mckusick@McKusick.COM> Obtained from: Mckusick, BSDI and a host of others This exactly matches Kirks sources imported under the Tag MCKUSICK2. These are as supplied by kirk with one small change needed to compile under freeBSD. Some FreeBSD patches will be added back, though many have been added to Kirk's sources already.
* Correct use of .Nm. Add rcsid. Remove unused #includes. Use err(3).charnier1998-06-151-16/+16
|
* Restored lost reference to fsdb(8).bde1997-03-121-1/+2
| | | | Fixed weird quoting of $Id$.
* Merge from Lite2. Note that Lite2 has it's own filesystem clean checkpeter1997-03-111-5/+14
| | | | | skipping code that overrides ours sooner. One should be eliminated, but for now it works.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-131-1/+2
|
* Fix the case where fsck would not see sparse directories and the kernel wouldguido1996-10-081-0/+2
| | | | | | | panic. If such a thing is fixed fsck needs a rerun (and bugs the user to do so). Reviewed by: Kirk McKusick
* Correct some man page cross references and some filempp1996-02-051-1/+0
| | | | locations.
* Remove reference to fsdb(8). We don't have it.phk1995-03-171-1/+0
|
* Added filesystem clean bit support. This only affects fsck during adg1994-08-201-0/+7
| | | | | | | preen (-p), and in that case the filesystem is skipped if it is clean. A new flag "-f" for 'force' has been added which basically gives back the old behavior of checking all the filesystems all the time. This very closely models the behavior of SunOS and Ultrix.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+291
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud