1832283 Members
2466 Online
110041 Solutions
New Discussion

/var/preserve

 
Scott Martin_7
Occasional Contributor

/var/preserve

I can I remove all the files from this directory since they are out dated. Would this casue any issues with the system?
6 REPLIES 6
DCE
Honored Contributor

Re: /var/preserve


Scott,

These usually are interupted edit sessions. you should be able to delete them with no issue.

For more info, see the following thread...
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=438708

Dave
Tim Nelson
Honored Contributor

Re: /var/preserve

/var/preserve is the temp directory for all vi sessions in the event of a crash during edit.

remove files at will.
A. Clay Stephenson
Acclaimed Contributor

Re: /var/preserve

No, this directory contains copies of files that were in use when vi crashed. As long as you know none of the will be needed, feel free to remove them.
If it ain't broke, I can fix that.
Hoang Chi Cong_1
Honored Contributor

Re: /var/preserve

Hi Scott Martin

/var/preserve contains files that were opened with vi (and the like) that were open during a crash of your terminal session.
By issuing vi -r on the file being edited, the file in /var/preserve is used to do the changes that were not saved yet.
Thus, you can delete them without any trouble :)) to cleanup /var filesystem.

Also don't forget to assign point to everyone :)
Thanks and goodluck!
Hoang Chi Cong
Looking for a special chance.......
Sivakumar TS
Honored Contributor

Re: /var/preserve

Dear Scott,

/var/preserve is the temporary home of files that have been preserved after an accidental death of a text editor like vi.

As long as you are sure about no files are required you can delete for sure.

With Regards,

Siva.
Nothing is Impossible !
Muthukumar_5
Honored Contributor

Re: /var/preserve

Files in /var/preserve are old crashed editor files, usually from vi. Check the
date. If it is older than a week, remove them.

Note: If you want to recover that files then you have to be the owner of the file. see man vi for -r option.

--
Muthu

Easy to suggest when don't know about the problem!