Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 22:58:46 +0000
From:      Mark Murray <mark@grondar.org>
To:        JacobRhoden <jrhoden@unimelb.edu.au>
Cc:        freebsd-chat@FreeBSD.ORG
Subject:   Re: recover overwritten file 
Message-ID:  <200301232258.h0NMwlaX006708@grimreaper.grondar.org>
In-Reply-To: Your message of "Fri, 24 Jan 2003 09:43:31 %2B1100." <200301240943.31823.jrhoden@unimelb.edu.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> What would need to be in the filesystem to allow it? Surely there is a simple
> solution like a directory which could hold pointers to all 'un' linked files?
> (however i have never hacked a file system so I dont know these things).

There is. ;-)

It is called a shell script, and you haven't written it yet.

Replace rm(1) with 'mv $* ${BACKUPDIR}' and you have it. You will need
to play with options to make it command-line compatible.

The UFS does not have this facility. Un*x encourages foot-shooting.

M
--
Mark Murray
iumop ap!sdn w,I idlaH

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301232258.h0NMwlaX006708>