fsck and format the filesystem at startup in case of error
From: herc (herc_6_at_hotmail.com)
Date: 06/17/04
- Next message: Anonymous: "Linux version of scandisk and defrag"
- Previous message: Eamonn Sullivan: "Newby question: Server side email sorting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Jun 2004 04:38:12 -0700
Hi,
I want to change the fsck at startup for a particular partition (eg
/dev/hdd3) in such a way that the fsck can't fix the error
automatically it will not stop but format this partion again using
mkfs.ext2 and send a messages to syslog.
Can somebody tell me which startup script I have to change and how I
can to this ? I using debian version 3.0. In the directory /etc/init.d
I found a script checkfs.sh, since /dev/hdd3 is the only partion that
will be mount as read-write ( the other partitions are mounted as ro)
I suppose I need to change this script.
Regards,
herc
- Next message: Anonymous: "Linux version of scandisk and defrag"
- Previous message: Eamonn Sullivan: "Newby question: Server side email sorting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|