Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37314 - fstab fs_passno field defaulted to 0
Summary: fstab fs_passno field defaulted to 0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-05 10:23 UTC by Spooky Ghost
Modified: 2004-10-03 00:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Spooky Ghost 2004-01-05 10:23:11 UTC
The default Gentoo fstab has the pass field set to 0 for partitions other than /.  This means that after a crash or when shutdown -F is called only the root partition is fscked.  See this thread in the forums for details: http://forums.gentoo.org/viewtopic.php?p=753811

Would suggest that either a comment is added to fstab to set this to a non-zero value, or the examples for non root partitions are altered with this value set to 2.

Although everything is behaving as it should I'm not sure that it is the most desirable behaviour to have as default.

Reproducible: Always
Steps to Reproduce:
1. shutdown -F
2. only / is checked, other partitions are skipped
3.

Actual Results:  
only / was checked, other partitions were skipped
Comment 1 SpanKY gentoo-dev 2004-10-03 00:19:21 UTC
the only partitions the default fstab defines which should need to have fsck run on them are boot and root

the current fstab defines the boot's as 1 while root is handled specially
Comment 2 SpanKY gentoo-dev 2004-10-03 00:21:09 UTC
actually, according to the manpage, the field should be set as:
root filesystem should be specified with a fs_passno of  1
other filesystems  should  have a fs_passno of 2

so ive updated the default fstab to have these values