LINUX.ORG.RU

История изменений

Исправление iZEN, (текущая версия) :

fsck_y_enable
		 (bool)	If set to ``YES'', fsck(8) will	be run with the	-y
		 flag if the initial preen of the file systems fails.

     background_fsck
		 (bool)	If set to ``YES'', the system will attempt to run
		 fsck(8) in the	background where possible.

     background_fsck_delay
		 (int) The amount of time in seconds to	sleep before starting
		 a background fsck(8).	It defaults to sixty seconds to	allow
		 large applications such as the	X server to start before disk
		 I/O bandwidth is monopolized by fsck(8).  If set to a nega-
		 tive number, the background file system check will be delayed
		 indefinitely to allow the administrator to run	it at a	more
		 convenient time.  For example it may be run from cron(8) by
		 adding	a line like

		       0 4 * * * root /etc/rc.d/bgfsck forcestart

		 to /etc/crontab.

Как видишь, параметр fsck_y_enable отвечает лишь за безусловный ремонт повреждённой ФС, а не за автозапуск. За автозапуск fsck отвечают два других параметра.

По умолчанию у нас /etc/defaults/rc.conf:

fsck_y_enable="NO"	# Set to YES to do fsck -y if the initial preen fails.
fsck_y_flags=""		# Additional flags for fsck -y
background_fsck="YES"	# Attempt to run fsck in the background where possible.
background_fsck_delay="60" # Time to wait (seconds) before starting the fsck.

Исправление iZEN, :

fsck_y_enable
		 (bool)	If set to ``YES'', fsck(8) will	be run with the	-y
		 flag if the initial preen of the file systems fails.

     background_fsck
		 (bool)	If set to ``YES'', the system will attempt to run
		 fsck(8) in the	background where possible.

     background_fsck_delay
		 (int) The amount of time in seconds to	sleep before starting
		 a background fsck(8).	It defaults to sixty seconds to	allow
		 large applications such as the	X server to start before disk
		 I/O bandwidth is monopolized by fsck(8).  If set to a nega-
		 tive number, the background file system check will be delayed
		 indefinitely to allow the administrator to run	it at a	more
		 convenient time.  For example it may be run from cron(8) by
		 adding	a line like

		       0 4 * * * root /etc/rc.d/bgfsck forcestart

		 to /etc/crontab.

Как видишь, параметр fsck_y_enable отвечает лишь за безусловный ремонт повреждённой ФС, а не за автозапуск. За автозапуск fsck отвечают два других параметра.

Исходная версия iZEN, :

man rc.conf

fsck_y_enable
		 (bool)	If set to ``YES'', fsck(8) will	be run with the	-y
		 flag if the initial preen of the file systems fails.

     background_fsck
		 (bool)	If set to ``YES'', the system will attempt to run
		 fsck(8) in the	background where possible.

     background_fsck_delay
		 (int) The amount of time in seconds to	sleep before starting
		 a background fsck(8).	It defaults to sixty seconds to	allow
		 large applications such as the	X server to start before disk
		 I/O bandwidth is monopolized by fsck(8).  If set to a nega-
		 tive number, the background file system check will be delayed
		 indefinitely to allow the administrator to run	it at a	more
		 convenient time.  For example it may be run from cron(8) by
		 adding	a line like

		       0 4 * * * root /etc/rc.d/bgfsck forcestart

		 to /etc/crontab.