Article View: gnu.misc.discuss
Article #62886Re: rm (was: Hurd questions)
From: Jared Rhine
Date: Thu, 06 Apr 1995 00:00
Date: Thu, 06 Apr 1995 00:00
27 lines
2061 bytes
2061 bytes
PFC == Preston F Crow <crow@coos.dartmouth.edu> Michael> I don't like all these rm changing suggestions. What I Michael> think would be a great idea is the adoption of a command Michael> `trash' with identical arguments to rm, but doing a mac like Michael> trashcan system, where it just moves the files. PFC> Ugh. There are a dozen simple ways of doing this. [...] The point PFC> is, though, that this has absolutely *nothing* to do with HURD, or PFC> any other operating system. The program used to delete files is just PFC> that, a program. It's a user application. Not entirely. This assumes that the only time one deletes a file is from the command-line using the standard 'rm'. This is simply not the case; I almost never use this command, as I do most file maintenance from within Emacs, which I assume is using unlink(2). There are a great many other programs that use unlink as well. In order to implement this new rm correctly, then, one needs to be able to modify the functionality of unlink, in all situations, so that no deletions seep through the cracks. This kind of modification is most definitely an OS issue, and I would be impressed by a system in which this was possible at a user level without recompiled libc. -- Jared_Rhine@hmc.edu | Harvey Mudd College | http://www.hmc.edu/~jared/home.html "Be not angry that you cannot make others as you wish them to be, since you cannot make yourself as you wish to be." - Thomas A. Kempis
Technical Details
Message-ID:
<JARED_RHINE.95Apr6094023@aslan.hmc.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<81696@sdcc12.ucsd.edu> <3lf7dh$fhq@usenet.INS.CWRU.Edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,ef34758fb4e8c162 X-Google-Attributes: gid1025b4,public From: Jared_Rhine@hmc.edu (Jared Rhine) Subject: Re: rm (was: Hurd questions) Date: 1995/04/06 Message-ID: <JARED_RHINE.95Apr6094023@aslan.hmc.edu> X-Deja-AN: 100963230 references: <81696@sdcc12.ucsd.edu> <3lf7dh$fhq@usenet.INS.CWRU.Edu> to: crow@coos.dartmouth.edu (Preston F. Crow) content-type: text/plain; charset=US-ASCII organization: Harvey Mudd College, wibstr mime-version: 1.0 newsgroups: gnu.misc.discuss