cleanfs script from lfs-bootscripts-1.9

Florian Bachmann f_bachmann at
Sat May 18 08:29:06 PDT 2002


The line

rm -rf /var/run/* /var/lock/*

removes the /var/run/console sub directory, which is required by the PAM module. Maybe this should be replaced with something 
like this

for F in /var/run/*; do
        [ "$F" = "console" ] && continue
        rm -rf $F

Kind regards,

Florian Bachmann <f_bachmann at>
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list