[CentOS] Missing File

Fri Jun 16 03:27:37 UTC 2006
dennis <dennis at bulacan.gov.ph>

hi sir lary thank you for your quick responce, yesterday one file missing
when is reboot my box i checked /tmp the file is missing ,so i checked
/etc/rc.d/rc.sysinit for a while for what's happening,thank you again sir
lary


----- Original Message -----
From: "Larry Vaden" <vaden at texoma.net>
To: "CentOS mailing list" <centos at centos.org>
Sent: Friday, June 16, 2006 11:06 AM
Subject: Re: [CentOS] Missing File


> On 6/15/06, dennis <dennis at bulacan.gov.ph> 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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>