/.autofsck continually updated every reboot

Sam Sharpe lists.redhat at samsharpe.net
Sun Jul 3 21:32:30 UTC 2011


On 3 July 2011 22:29, jackson byers <byersjab at gmail.com> wrote:
> Any advice re /.autofsck?
> Does its continual reappearance indicate a problem?

http://www.redhat.com/archives/rhl-list/2004-November/msg02920.html

###########################################################

The /.autofsck file is created by the system automatically at boot time
by the /etc/rc.sysinit script by simply touching the file. It has no
content. The logic behind it is, that if the host went down not properly
(i.e. power loss) the /etc/rc.sysinit script will find this .autofsck
file at next boot time and the system can act with a default scenario or
like configured within the file /etc/sysconfig/autofsck. If the hosts
shuts down or reboots properly, then the .autofsck file will be erased
by the /etc/init.d/halt script and no automatic filesystem check will
happen next boot. I think this answers the 3 questions by Ralf. The file
is generated by /etc/rc.sysinit, used by the system to know about no
proper shutdowns and you should leave the file as it is. There is not
any need to delete it. Btw. the /.autofsck file mechanism is used in all
Fedora releases since FC1.

############################################################


-- 
Sam


More information about the users mailing list