9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: nemo@gsyc.escet.urjc.es
To: 9fans@cse.psu.edu
Subject: Re: [9fans] home, end ^h^j^k^l
Date: Tue, 22 May 2001 09:17:39 +0200	[thread overview]
Message-ID: <20010522071019.038B3199C1@mail.cse.psu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

:  Then what do you do when the same file is created again?
:  Associate all the old info with the new file?
:  Rename the old file?  How do you handle collisions?

Just keep the last entry for a given name (deleted or not).  If the
file is created again, you could forget about the last deleted
directory entry w/ the same name. After all, you couldn't tell if the
file was just `modified' and the change was to rewrite it all. (Ok, you
can tell, but for the application it would be the same).



[-- Attachment #2: Type: message/rfc822, Size: 2657 bytes --]

From: Scott Merrilees <Sm@itntl.bhp.com.au>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] home, end ^h^j^k^l
Date: Tue, 22 May 2001 16:35:33 +1000
Message-ID: <200105220635.f4M6ZXZ02330@samarium.itntl.bhp.com.au>

>nemo@gsyc.escet.urjc.es:
>The directory entry could be kept allocated like a zombie. disk space
>is cheap.  Of course this only handles the top of a deleted hierarchy,
>but for the purposes of knowing who deleted what it may suffice.

Then what do you do when the same file is created again?
Associate all the old info with the new file?
Rename the old file?  How do you handle collisions?

If you really want to know who deleted a file, wouldn't it be easier to
just maintain a log somewhere?

Sm

             reply	other threads:[~2001-05-22  7:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-22  7:17 nemo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-22 14:42 nemo
2001-05-22 12:36 rob pike
2001-05-22  6:25 nemo
2001-05-22  6:35 ` Scott Merrilees
2001-05-22  8:31 ` Boyd Roberts
2001-05-19 15:39 Re[4]: " rob pike
2001-05-21 16:24 ` Douglas A. Gwyn
2001-05-19  7:54 Re[2]: " Matt H
2001-05-19 17:07 ` Quinn Dunkan
2001-05-19 20:46   ` Re[4]: " Boyd Roberts
2001-05-21 16:24     ` Douglas A. Gwyn
2001-05-21 16:23   ` Douglas A. Gwyn
2001-05-18 20:23 rog
2001-05-18 15:17 Russ Cox
2001-05-21  8:38 ` Douglas A. Gwyn
2001-05-18 10:18 Matt H
2001-05-18 19:26 ` Chris Locke
2001-05-18 19:34   ` Scott Schwartz
2001-05-18 22:28 ` Boyd Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010522071019.038B3199C1@mail.cse.psu.edu \
    --to=nemo@gsyc.escet.urjc.es \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).