From: hubcap@hubcap.clemson.edu (System Janitor)
Subject: Re: vi deletes file being edited if disk quota exceeded
Date: 1996/02/14 [thread overview]
Message-ID: <hubcap.824329884@hubcap> (raw)
In-Reply-To: 14FEB96.07164323@tifrvax.tifr.res.in
patnaik@tifrvax.tifr.res.in writes:
>vi deletes file being edited if disk quota exceeded. Is there a way to
>recover the contents ?
It's not just vi. If someone over quota attempts to read their
mail, and their email session involves re-writing their mbox,
they loose the contents of their mbox.
I have often (naively?) surmised that the quota checking part
of the code was hooked into the kernel someplace *after* the inode
for the to-be-updated file was unlinked and before the newly updated
version was moved from /tmp/AAAgobbldygook to /out/of/quota.
At any rate, this seems to happen at some lower level than vi.
-Mike
parent reply other threads:[~1996-02-14 5:00 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <14FEB96.07164323@tifrvax.tifr.res.in>]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox