Date: Sun, 2 Jan 2000 09:27:59 +0100 (CET) From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: Files after editing quotas in /tmp Message-ID: <200001020827.JAA29418@dorifer.heim3.tu-clausthal.de> In-Reply-To: <84mvse$1ufv$1@atlantis.rz.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexey N. Dokuchaev wrote in list.freebsd-questions:
> -rw------- 1 root wheel 125 23 ÎÏÑ 12:11 EdP.aAi392~
> -rw------- 1 root wheel 21 20 ÎÏÑ 20:42 EdP.aOk329
> -rw------- 1 root wheel 129 23 ÎÏÑ 12:10 EdP.aOs384~
> -rw------- 1 root wheel 121 23 ÎÏÑ 12:06 EdP.agV344~
> -rw------- 1 root wheel 129 24 ÎÏÑ 20:08 EdP.avS630~
>
> It seems that EdP* files are those after edquota. Under linux, they seem
> to be deleted after it finishes, but under fBSD I have to do it manually.
> Well, it's not much bother since they are 0600, but still, why having them
> around? So, maybe there is a way of not getting them?
The tilde »~« after the name indicates that it is a backup file
(for example, the ``joe'' editor creates such files by default).
Of course, edquota can't remove such backup files, because it
doesn't know about them. Therefore you have to remove them
manually, or disable the backup feature of your editor.
If you use ``joe'': You can configure it to put backup files
into a fixed directory. For example, you can let it put all
backup files into ~/tmp/joebackups, and then let a cronjob
remove all files in there that are older than 7 days, or
something like that. I've found this to be very useful.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
(Terry Pratchett)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001020827.JAA29418>
