[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1168359985.7817.4.camel@localhost.localdomain>
Date: Tue, 09 Jan 2007 11:26:25 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: pavel@....cz, mikulas@...ax.karlin.mff.cuni.cz, matthew@....cx,
bhalevy@...asas.com, arjan@...radead.org, jaharkes@...cmu.edu,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
nfsv4@...f.org
Subject: Re: Finding hardlinks
On Mon, 2007-01-08 at 13:00 +0100, Miklos Szeredi wrote:
> > 50% probability of false positive on 4G files seems like very ugly
> > design problem to me.
>
> 4 billion files, each with more than one link is pretty far fetched.
> And anyway, filesystems can take steps to prevent collisions, as they
> do currently for 32bit st_ino, without serious difficulties
> apparently.
Maybe not 4 billion files, but you can get a large number of >1 linked
files, when you copy full directories with "cp -rl". Which I do a lot
when developing. I've done that a few times with the Linux tree. Given
other utils that copy as hard links, can perhaps make a 4 billion number
of files with >1 link possible, and perhaps likely in the near future.
-- Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists