summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/setup.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed printf format errors.bde1998-06-281-2/+3
|
* Correct use of .Nm. Add rcsid. Remove unused #includes. Use err(3).charnier1998-06-151-2/+4
|
* Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)julian1998-03-081-1/+7
| | | | | Submitted by: Kirk McKusick (mcKusick@mckusick.com) Obtained from: WHistle development tree
* If numdirs is zero, print a helpful message instead of divding by zero later.phk1998-03-041-0/+4
|
* Guard against a block size of 0 in the label. When the firstbde1998-01-191-0/+5
| | | | | | | | | | | | | | | | | superblock is invalid, fsck looks at the label to help guess where the next superblock should be. If the partition type is 4.2BSD, fsck assumed that the block size was valid and divided by it, so it dumped core if the size was 0. Initialization of the label was broken almost 3 years ago in rev.1.9 of newfs/newfs.c. Newfs does not change the label at all, so there is no problem (except the breakage of the automatic search for backup superblocks) unless something else sets the partition type to 4.2BSD. However, it is too easy to set partition types to 4.2.BSD by copying an old label or by using a disktab entry to create the label. PR: 2537
* Kill the Lite2 early "filesystem clean abort" check and go back topeter1997-03-131-4/+6
| | | | | | | | something closer to how we used to do it. The Lite2 way is to check the "fsclean" flag in the superblock and stop there if so (during preen). We now do the various superblock sanity checks that we used to do before since it's cheap. We now get the filesystem state summary again instead of "FILESYSTEM CLEAN; CHECKING SKIPPED" (or whatever).
* Finished (?) merging with Lite2: cleaned up #include mess.bde1997-03-121-2/+0
|
* Merge from Lite2. Note that Lite2 has it's own filesystem clean checkpeter1997-03-111-33/+60
| | | | | skipping code that overrides ours sooner. One should be eliminated, but for now it works.
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Submitted by: phk, added to by bdebde1995-04-021-4/+14
| | | | Fix all the warnings from `gcc -Wall'.
* 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).
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+466
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud