pr_728-90.gif

« ufsdumpで一本のメディアに入りきらない場合について | メイン | パッチをインストールする方法 »

2001年03月01日

/var/preserve以下のファイルの役割について

/var/preserve ディレクトリの下に大きなファイルが存在しているがこのディレクトリの下のファイルはどんな役割があるのか?
また削除してもかまわないのか?

--------------------------------------------
回答:

次の資料を参照。
必要なければ消去してもかまいませんし、システムが影響を受けることもありません。

INFODOC ID: 21696
SYNOPSIS: Purpose of the directory: /var/preserve
DETAIL DESCRIPTION:

This directory contains the temporary files which are created when the "vi dumps" or if it gets a hangup signal, much less likely after a system crash. "vi -r" or "ex -r" lists all the files that were being editted when vi was killed.

As long as any user doesn't need this data, they can delete these files.
This is also a part of cleaning the system disk space. You can also put an entry in crontab to clean out these files on a regular basis:

15 4 * * * find /var/preserve/ -mtime +7 -a -exec rm -f {} ¥;

投稿者 AJ : 2001年03月01日 10:21

トラックバック

このエントリーのトラックバックURL:
http://www.factory-aj.com/cgi/mt/mt-tb.cgi/148

 
Powered by Movable Type 3.37 | RSS1.0 | RSS2.0 | ATOM