[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Noise from fsck



On Jun 30, 2007, at 10:48 AM, Marco Amadori wrote:
>> fsck should not be run on the live system at all. we'll need to
>> completely disable this in the initscripts, somehow.
>
> We could just have the initramfs touching a "/fastboot" file and  
> the checkfs
> init script will remove it
>
> This because: $ grep fastboot /etc/init.d/ -R
>
> /etc/init.d/checkroot.sh:       if [ -f /fastboot ]
> /etc/init.d/checkfs.sh: if [ ! -f /fastboot ] && [ ! "$BAT" ] &&
> [ "$FSCKTYPES" != "none" ]
> /etc/init.d/checkfs.sh: rm -f /fastboot /forcefsck
>
> So the checks will not be done if that file is present.
>
> But maybe we should offer also a boot parameter option to have this  
> default
> behaviour disabled if we someone for a strange use-case do not want  
> that.
>
> Would you like me to add this stuff to live-initramfs daniel?

   That looks reasonable.  If this is the goal we think is a good  
idea, then I think (for me, using etch and casper) I'll just make a  
hook.  I can make that file, or remove the link to checkfs.sh in /etc/ 
rcS.d.  Unless someone else proposes some other fix so I won't have  
to do it manually, but as I'm working in stable, I'm not guessing  
so.  :-)

               - Chris





Reply to: