[97755] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Is there a 'trashcan' type of application for RH5.0?

daemon@ATHENA.MIT.EDU (Jose M. Sanchez)
Wed Nov 4 21:01:45 1998

From: "Jose M. Sanchez" <opjose@ex-pressnet.com>
To: <redhat-list@redhat.com>
Cc: <brtaylor@inreach.com>
Date: Wed, 4 Nov 1998 21:12:58 -0500
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

I know exactly what he wants, and that is Linux as a Samba or Mars server to
perform the same function as Netware... that is not to actually delete the
files.

In his message he immediately eliminated the script idea because his users
are going to be employing Winblows clients of some sort, so scripting is
OUT.

This is a good question, if anyone knows how this may be permitted I'ld sure
like to know...

This really needs to be done at the kernel level... with potentially another
process getting control of file deletions & allocations on the hard disk ala
Novell.

Novell does this actively, unlike NT. It purposely AVOIDS areas recently
marked free for x number of days so that the recover/salvage command may be
used..

-JMS

-----Original Message-----
From: Bob Taylor <brtaylor@inreach.com>
To: redhat-list@redhat.com <redhat-list@redhat.com>
Date: Wednesday, November 04, 1998 6:33 PM
Subject: Re: Is there a 'trashcan' type of application for RH5.0?


>In message <AE2FA63101332D00@c2gate.tcom.co.uk>, KThorpe writes:
>> We are considering, after many long years of faithful service, the
>> retirement of our Novell server. The one thing we would miss is the fact
>> that Novell servers hold on to deleted files until the disk space is
needed.
>>
>> Is there an application to perform this sort of function, saving files in
a
>> holding area until disk space runs out? Simply replacing rm with a shell
>> script isn't enough - we require this behaviour via mars_nwe or samba.
>
>What I think I would do is modify the rm sources to mv/cp the file(s) to
>a directory (trashcan). I would handle duplicate file names by prefixing
>the path to the name replacing the '/' with another character ('!'). I
>would then run a cron job deleting files in that directory according to
>age.
>
>Just a thought.
>
>Bob

>



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post