From owner-freebsd-questions Sun Jan 2 0:28: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 2DF4914CA9 for ; Sun, 2 Jan 2000 00:28:00 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id JAA29418; Sun, 2 Jan 2000 09:27:59 +0100 (CET) (envelope-from olli) Date: Sun, 2 Jan 2000 09:27:59 +0100 (CET) Message-Id: <200001020827.JAA29418@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Subject: Re: Files after editing quotas in /tmp X-Newsgroups: list.freebsd-questions In-Reply-To: <84mvse$1ufv$1@atlantis.rz.tu-clausthal.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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