From owner-freebsd-chat Mon Jun 5 2:10:54 2000 Delivered-To: freebsd-chat@freebsd.org Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (Postfix) with ESMTP id EBBD837BBAB for ; Mon, 5 Jun 2000 02:10:50 -0700 (PDT) (envelope-from narvi@haldjas.folklore.ee) Received: from localhost (narvi@localhost) by haldjas.folklore.ee (8.9.3/8.9.3) with SMTP id LAA02627; Mon, 5 Jun 2000 11:10:15 +0200 (EET) (envelope-from narvi@haldjas.folklore.ee) Date: Mon, 5 Jun 2000 11:10:13 +0200 (EET) From: Narvi To: Giorgos Keramidas Cc: "Thomas M. Sommers" , freebsd-chat@FreeBSD.ORG Subject: Re: Undelete in Unix (Was: Re: Why encourage stupid people to use *BSD) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 4 Jun 2000, Giorgos Keramidas wrote: > Thomas M. Sommers wrote: > > > >Brett Glass wrote: > >> > >> "Unix" (whatever it means in this context) may not have > >> come up with an undelete command, but Norton Computing > >> (now part of Symantec) did. The Norton Utilities for Unix > >> never sold very well, but had this feature. > > > > I hadn't heard of that. How did it work? > > You can not rely on the underlying OS to have a journaling > filesystem. Then, unless you use some form of "trash bin", > you can not safely undelete anything. > > This is admittedly tricky, because even if you move the files > in special directories under /tmp or /home/$USER, you can't > safely implement a trash bin that works nicely across filesystem > boundaries. > > So, I'm also very interested to know how they had implemented > such a feature. Anybody with more knowledge on the topic? > I don't know how they implemented it - but I would start with a daemon running as root to which both the "delete" and "undelete" commands speak to. -- > Giorgos Keramidas - mailto:charon@sabotage.gr > "In the name of the Father, the Son, and the BSD spirit" > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-chat" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message