From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,695bf4a9b47f12af,start X-Google-Attributes: gidfee84,public From: hubcap@hubcap.clemson.edu (System Janitor) Subject: Re: vi deletes file being edited if disk quota exceeded Date: 1996/02/14 Message-ID: #1/1 X-Deja-AN: 139648552 references: <14FEB96.07164323@tifrvax.tifr.res.in> organization: Clemson University newsgroups: comp.unix.osf.osf1 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