On 6/15/06, dennis <dennis@xxxxxxxxxxxxxx> wrote:
im running CentOS 4.3 Final, one thing experience in my box i have /tmp (partition/directory) inside that i have a directory installer and i file one week after the file and directory (installer) inside the /tmp is missing, can i retrieve that directory and file? it is normal some file in the /tmp is missing?,im not deleting that file and directory. hope you can help me ,thank you in advcance,im newbie in CentOS Linux.
Did you reboot in that time period? If so, the following code in /etc/rc.d/rc.sysinit may explain what happened; if it doesn't, someone else may know of additional ways to lose the contents of the /tmp (read: temporary) directory. # Clean up various /tmp bits rm -f /tmp/.X*-lock /tmp/.lock.* /tmp/.gdm_socket /tmp/.s.PGSQL.* rm -rf /tmp/.X*-unix /tmp/.ICE-unix /tmp/.font-unix /tmp/hsperfdata_* \ /tmp/kde-* /tmp/ksocket-* /tmp/mc-* /tmp/mcop-* /tmp/orbit-* \ /tmp/scrollkeeper-* /tmp/ssh-* # Make ICE directory mkdir -m 1777 -p /tmp/.ICE-unix >/dev/null 2>&1 chown root:root /tmp/.ICE-unix rgds/ldv _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos