Operating System - HP-UX
1753587 Members
6540 Online
108796 Solutions
New Discussion юеВ

Re: rdsk character special files in /tmp

 
SOLVED
Go to solution
MTSU_SAN
Regular Advisor

rdsk character special files in /tmp

Has anyone else noticed character special files like
crw------- 1 root root 203 0x0b0000 Apr 20 05:05 /tmp/rdskCHFa01061

in /tmp before? Are files owned by root not deleted upon reboot? We just had our /tmp get filled up, otherwise never would have noticed these (they take up negligible space). I'm wondering if I can delete them safely...
3 REPLIES 3
Bill McNAMARA_1
Honored Contributor
Solution

Re: rdsk character special files in /tmp

deleting tmp on reboot is configurable. It's off by default.

see /etc/rc.config.d/ there should be a tmpdir config there.

Other than that, your problem is quite strange.
you might want to rmsf it? Looks like a reminant of a SAM device file generation?

Strange.
Bill
It works for me (tm)
James R. Ferguson
Acclaimed Contributor

Re: rdsk character special files in /tmp

Hi Jerry:

Special device files reside in /dev *not* in /tmp. It is safe to delete *all* of /tmp at bootup. You can arm this kind of cleanup by setting CLEAR_TMP=1 in /etc/rc.config.d/clean_tmps.

...JRF...
CHRIS ANORUO
Honored Contributor

Re: rdsk character special files in /tmp

You can set the /tmp clean up from /etc/rc.config.d/clean_tmps file.
Do a long lising (ls -l) in /tmp and remove the
older files.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.