Operating System - HP-UX
1834619 Members
3246 Online
110069 Solutions
New Discussion

Re: HPux 10.20 how are the files in /var/preserve configured

 
SOLVED
Go to solution
Frank de Vries
Respected Contributor

HPux 10.20 how are the files in /var/preserve configured

We have some files in /var/preserve
They seem to have been generated by the kernel,
but inside they have data.

How can we re-configure this ?
It is filling up our var, and we do not see
the point of receiving this files.

rw------- 1 root sys 49152 Jun 2 2005 Exaaa25281
-rw------- 1 autoprep users 49152 Oct 22 2004 Exaaa25412
-rw------- 1 infas apps 90112 May 28 2004 Exaaa27576
-rw------- 1 rvs root 6981988 Dec 19 2004 Exaab00354
-rw------- 1 rvs root 49152 Oct 8 2005 Exaab00363
-rw------- 1 rvs root 10504248 Aug 7 2006 Exaab00394
-rw------- 1 rvs root 6645292 Dec 19 2004 Exaac00354
[root@oradb1:]/var/preserve<>>>

[root@oradb1:]/var/preserve<>>> bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 380928 236044 136391 63% /var
[root@oradb1:]/var/preserve<>>> uname -a
HP-UX oradb1 B.10.20 A 9000/800 1179868382 two-user license
[root@oradb1:]/var/preserve<>>>

Can anyone shed some light on this issue.
Thanks
Look before you leap
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor
Solution

Re: HPux 10.20 how are the files in /var/preserve configured

Hi:

These are 'vi' recovery files. They can be deleted.

The names are generated as unique ones using the 'tmpnam()' or 'mktemp()' library function.

Regards!

...JRF...
Frank de Vries
Respected Contributor

Re: HPux 10.20 how are the files in /var/preserve configured

ta
Look before you leap
Dennis Handly
Acclaimed Contributor

Re: HPux 10.20 how are the files in /var/preserve configured

As JRF says, these are ex/vi recovery files. Typically if you reboot, the owner of the file should get a mail message saying you can recover these with "vi -r filename".

At that time if the content isn't wanted, you can use :q! to remove them.