summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/dir.c
Commit message (Collapse)AuthorAgeFilesLines
* Cosmetic and documentation changes brought from earlier FreeBSD versions.julian1998-12-031-0/+11
| | | | (e.g. RCS Id:)
* Reviewed by: Don Lewis <Don.Lewis@tsc.tdk.com>julian1998-12-031-38/+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.
* - Back out softupdate change that already existed in FreeBSD from V1.6,nate1998-09-231-3/+1
| | | | | | | | | which caused the reference count of a directory to get doubly decremented. PR: bin/8030 Reviewed by: nate Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
* Fixed printf format errors.bde1998-06-281-2/+2
|
* Correct use of .Nm. Add rcsid. Remove unused #includes. Use err(3).charnier1998-06-151-1/+4
|
* Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)julian1998-03-081-3/+6
| | | | | Submitted by: Kirk McKusick (mcKusick@mckusick.com) Obtained from: WHistle development tree
* Finished (?) merging with Lite2: cleaned up #include mess.bde1997-03-121-3/+2
| | | | Fixed misformatting in a comment.
* Merge from Lite2. Note that Lite2 has it's own filesystem clean checkpeter1997-03-111-64/+79
| | | | | skipping code that overrides ours sooner. One should be eliminated, but for now it works.
* 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>
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Submitted by: Philippe Charnier <charnier@lirmm.fr>, distilled by bdebde1995-04-021-1/+1
| | | | Fix a couple more bogus types that aren't reported by `gcc -Wall'.
* Submitted by: phk, added to by bdebde1995-04-021-4/+26
| | | | Fix all the warnings from `gcc -Wall'.
* Two fixes from the NetBSD group (Charles Hannum):dg1994-09-091-5/+12
| | | | | | | 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.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+681
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud