From: Hans Reiser <reiser@namesys.com>
To: "S. Alexander Jacobson" <alex@shop.com>
Cc: Robert Brockway <robert@timetraveller.org>, reiserfs-list@namesys.com
Subject: Re: duplicate files and recent changes
Date: Thu, 06 Jun 2002 11:50:38 +0400 [thread overview]
Message-ID: <3CFF144E.1010403@namesys.com> (raw)
In-Reply-To: Pine.WNT.4.43.0206060333540.1296-100000@fanatic
S. Alexander Jacobson wrote:
>On Thu, 6 Jun 2002, Robert Brockway wrote:
>
>
>>>On Thu, Jun 06, 2002 at 01:30:46AM -0400, S. Alexander Jacobson wrote:
>>>
>>>
>>>>I just joined this list. Two question:
>>>>1. Can reiserfs detect that I have two copies of
>>>>the same file on disk and store tham as one file
>>>>
>>>>
>>>Hm, you mean, each time you create a file, reiserfs should scan all
>>>other files and see if there is exactly a file like you just wrote?
>>>Hm, even something more complicated as you are writing to a file in
>>>4k chunks.
>>>Definitely no.
>>>
>>>
>>And besides, how could it even know whether you even want them to be the
>>same or not.
>>
windows uses a signature.
>> I keen plenty of identical files around (online backups,
>>etc) and I'd be mighty upset if the filesystem started hard linking them
>>together :)
>>
>>
>
>That is why I said lazy copy on write.
>
This is not patented, it is an old thread, everyone agrees that it
should be done, no sponsor at the moment though.
> One
>implementation would be for the file system to
>keep a ref count of how many different files the
>user intended. When an applicatiion writes to a
>file, the file system checks the ref count. If
>the ref count is greater than 1, the file system
>copies the file, decrements the ref-count, and
>gives the writing application a pointer to the new
>copy.
>
>I'm sure there are smarter implementations, but
>the point is that the file system can certainly
>differentiate in theory between user hard links
>and actual hard links.
>
>-Alex-
>
>___________________________________________________________________
>S. Alexander Jacobson i2x Media
>1-212-787-1914 voice 1-603-288-1280 fax
>
>
>
>
>
>
next prev parent reply other threads:[~2002-06-06 7:50 UTC|newest]
Thread overview: 99+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-06 5:30 duplicate files and recent changes S. Alexander Jacobson
2002-06-06 5:45 ` Oleg Drokin
2002-06-06 7:20 ` Robert Brockway
2002-06-06 7:40 ` S. Alexander Jacobson
2002-06-06 7:50 ` Hans Reiser [this message]
2002-06-06 7:33 ` S. Alexander Jacobson
2002-06-06 9:25 ` Oleg Drokin
2002-06-06 13:58 ` Valdis.Kletnieks
2002-06-06 17:51 ` Hubert Chan
2002-06-07 8:11 ` The Amazing Dragon
2002-06-07 15:55 ` Hubert Chan
2002-06-06 7:47 ` Hans Reiser
2002-06-06 13:54 ` Valdis.Kletnieks
2002-06-07 8:53 ` Heinz-Josef Claes
2002-06-08 12:50 ` Debian User
2002-06-08 12:47 ` Hans Reiser
2002-06-08 13:04 ` Joe Cooper
2002-06-09 12:17 ` Heinz-Josef Claes
2002-06-09 14:30 ` Heinz-Josef Claes
-- strict thread matches above, loose matches on Subject: below --
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:54 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 18:28 ` Richard Thornton
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 18:14 ` S. Alexander Jacobson
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 13:58 Valdis.Kletnieks
2002-06-06 17:51 Hubert Chan
2002-06-06 17:51 Hubert Chan
2002-06-06 17:51 Hubert Chan
2002-06-06 17:51 Hubert Chan
2002-06-06 17:51 Hubert Chan
2002-06-06 17:51 Hubert Chan
2002-06-06 17:51 Hubert Chan
2002-06-06 17:51 Hubert Chan
2002-06-06 17:51 Hubert Chan
2002-06-06 18:14 S. Alexander Jacobson
2002-06-06 18:14 S. Alexander Jacobson
2002-06-06 18:14 S. Alexander Jacobson
2002-06-06 18:14 S. Alexander Jacobson
2002-06-06 18:14 S. Alexander Jacobson
2002-06-06 18:14 S. Alexander Jacobson
2002-06-06 18:14 S. Alexander Jacobson
2002-06-06 18:14 S. Alexander Jacobson
2002-06-06 18:28 Richard Thornton
2002-06-06 18:28 Richard Thornton
2002-06-07 4:57 ` Oleg Drokin
2002-06-06 18:28 Richard Thornton
2002-06-06 18:28 Richard Thornton
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=3CFF144E.1010403@namesys.com \
--to=reiser@namesys.com \
--cc=alex@shop.com \
--cc=reiserfs-list@namesys.com \
--cc=robert@timetraveller.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.