« ufsdumpで一本のメディアに入りきらない場合について | メイン | パッチをインストールする方法 »
2001年3月 1日
/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年3月 1日 10:21
トラックバック
このエントリーのトラックバックURL:
http://www.factory-aj.com/cgi/mtctrl/mt-tb.cgi/148