[Pkg-sysvinit-devel] Bug#475876: Bug#475876: checkfs.sh: -C0 option set for the first HD only

gpe gpe92 at free.fr
Sun Apr 13 16:20:29 UTC 2008


Le Sun, 13 Apr 2008 18:04:58 +0200
Petter Reinholdtsen <pere at hungry.com> a écrit:

> > On my system I've two hd (sda and sdb), when checkfs.sh runs on the
> > first one there is the -C0 option which is applied but not on the
> > second one.
> 
> I did not understand this request.  Can you elaborate a bit more?
> 
> Given the script name, I assume this is related to the way fsck is
> called.  Why is this issue to be solved in checkfs.sh and not in fsck?
> 

I think that the master script of the action is /etc/init.d/checkfs.sh

In the log file /var/log/fsck/checkfs I've:

Log of fsck -C -V -R -A -a 
Sun Apr 13 16:19:33 2008

fsck 1.40.8 (13-Mar-2008)
Checking all file systems.
[/sbin/fsck.ext2 (1) -- /boot] fsck.ext2 -a -C0 /dev/sda1 
[/sbin/fsck.ext3 (2) -- /home] fsck.ext3 -a /dev/sdb1 
/dev/sda1: clean, 39/52208 files, 29802/104391 blocks
[/sbin/fsck.ext3 (2) -- /tmp] fsck.ext3 -a -C0 /dev/sda7 
/dev/sdb1 has been mounted 20 times without being checked, check forced.
/dev/sda7: clean, 35/1314144 files, 79828/2624611 blocks
[/sbin/fsck.ext3 (2) -- /usr] fsck.ext3 -a -C0 /dev/sda5 
/dev/sda5: clean, 408450/6455296 files, 2421483/12910227 blocks
[/sbin/fsck.ext3 (2) -- /var] fsck.ext3 -a -C0 /dev/sda6 
/dev/sda6 has been mounted 23 times without being checked, check forced.
/dev/sda6: 22602/393600 files (1.1% non-contiguous), 182413/787177 blocks
/dev/sdb1: 192778/17924096 files (3.2% non-contiguous), 27860474/35843015
blocks

Sun Apr 13 16:22:21 2008
----------------

As you can see there is -C0 option for all the sdax but not for sdb1.

But I don't know all the processus so perhaps the problem is in another
script ?
-- 
+-------+
| gpe92 |
+-------+





More information about the Pkg-sysvinit-devel mailing list