Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to make auto filesystem check
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Sun Sep 15, 2002 5:35 pm    Post subject: how to make auto filesystem check Reply with quote

is there a way to make autofilesystem check in case of suden shutdown
an how ?
i hope it's the right forum for that question.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Sun Sep 15, 2002 6:23 pm    Post subject: Reply with quote

well if I'm not mistaken, the filesystem goes through a rough fsck when it comes up, and if it finds corrupt data, then it'll run a full fsck on it...
It's been forever since I've ran fsck though.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Sep 15, 2002 6:41 pm    Post subject: Reply with quote

ext3/reiserfs/xfs are journaling file systems. They typically do not need an fsck after an unclean shutdown. ext2 is not journaled and needs a check on boot.

Whether fsck is done or not depends on the last (6th) field for the filesystem in your /etc/fstab file. For journaled filesystems this field is set to 0 (no check). For non-journaled root, it is set to 1 and for non-journaled /usr, etc, it is set to 2.

man fstab for more details.
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Sun Sep 15, 2002 8:59 pm    Post subject: Reply with quote

ok i got it thx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum