summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ifs
Commit message (Collapse)AuthorAgeFilesLines
* From: Terry Lambert <terry@lambert.org>nate1996-05-091-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Subject: Fix for annoying fsck bug Date: Wed, 24 Jan 1996 13:33:29 -0700 (MST) The following small diff fixes the annoying fsck bug that causes it to need to be run twice to end up with correct reference counts for inodes for directories that had subdirectories relocated into the lost+found directory. I found the need to rerun *extremely* annoying. This fix causes the count to be correctly adjusted later in pass 4 by correctly stating the parent reference count. Note that the parent reference count is incremented when the directory entry is made (for ".."), but is not really there in the case of a directory that does not make an entry in its parent dir. This can be tested by waiting for the inode sync after cd'ing from a shell into a test fs. Then you "mkdir xxx yyy zzz", wait a second, and hit the machine reset button. Reviewed by: nate (Tested lots of crashes :) Submitted by: Terry Lambert <terry@lambert.org>
* Correct some man page cross references and some filempp1996-02-051-1/+0
| | | | locations.
* Remove unneeded ctype.hache1995-10-232-2/+0
|
* Remove trailing whitespace.rgrimes1995-05-309-16/+16
|
* Update declaration to match the change made to dir.c a few hours ago.bde1995-04-021-1/+1
|
* Submitted by: Philippe Charnier <charnier@lirmm.fr>, distilled by bdebde1995-04-022-2/+3
| | | | Fix a couple more bogus types that aren't reported by `gcc -Wall'.
* Submitted by: phk, added to by bdebde1995-04-0213-71/+257
| | | | Fix all the warnings from `gcc -Wall'.
* Remove reference to fsdb(8). We don't have it.phk1995-03-171-1/+0
|
* Slight change of wording on clean flag not set message to appease somedg1995-02-151-1/+1
| | | | complaints.
* >The fix for the missing ".." in the root directory is enclosed below.dg1995-02-151-2/+5
| | | | Submitted by: Kirk McKusick
* Don't allow the alternate superblock block number for one file systembde1995-02-091-0/+2
| | | | to apply to others (except when it is given on the command line).
* Woops, last patch was by Wolfgang Solfrank.dg1994-09-091-1/+1
|
* Two fixes from the NetBSD group (Charles Hannum):dg1994-09-092-7/+15
| | | | | | | 1) dir.c: get byte order right in mkentry() 2) pass1.c: When doing -c2 conversion, do secsize reads for a symlink - not doing so was causing the conversion to fail because the device driver can't deal with short reads.
* Better support for clean bit: prompt the user to fix it if it's wrongdg1994-08-212-2/+10
| | | | when not preening, and indicate if it was fixed when preening.
* Added filesystem clean bit support. This only affects fsck during adg1994-08-203-2/+28
| | | | | | | 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.
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* Fixed so that it can grok old style "fastlinks".dg1994-08-022-2/+2
|
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-2615-0/+4809
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud