login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
January
»
3
Re: Finding hardlinks
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Mikulas Patocka
Subject:
Re: Finding hardlinks
Date: Wednesday, January 3, 2007 - 12:04 pm
On Wed, 3 Jan 2007, Miklos Szeredi wrote:
quoted text
>>> High probability is all you have. Cosmic radiation hitting your >>> computer will more likly cause problems, than colliding 64bit inode >>> numbers ;) >> >> Some of us have machines designed to cope with cosmic rays, and would be >> unimpressed with a decrease in reliability. > > With the suggested samefile() interface you'd get a failure with just > about 100% reliability for any application which needs to compare a > more than a few files. The fact is open files are _very_ expensive, > no wonder they are limited in various ways. > > What should 'tar' do when it runs out of open files, while searching > for hardlinks? Should it just give up? Then the samefile() interface > would be _less_ reliable than the st_ino one by a significant margin.
You could do samefile() for paths --- as for races --- it doesn't matter in this scenario, it is no more racy than stat or lstat. Mikulas
quoted text
> Miklos >
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: Finding hardlinks
, Pavel Machek
, (Tue Jan 2, 12:15 pm)
Re: Finding hardlinks
, Miklos Szeredi
, (Tue Jan 2, 1:41 pm)
Re: Finding hardlinks
, Mikulas Patocka
, (Tue Jan 2, 1:50 pm)
Re: Finding hardlinks
, Miklos Szeredi
, (Tue Jan 2, 2:10 pm)
Re: Finding hardlinks
, Mikulas Patocka
, (Tue Jan 2, 2:37 pm)
Re: Finding hardlinks
, Pavel Machek
, (Wed Jan 3, 4:56 am)
Re: Finding hardlinks
, Miklos Szeredi
, (Wed Jan 3, 5:33 am)
Re: Finding hardlinks
, Pavel Machek
, (Wed Jan 3, 5:42 am)
Re: Finding hardlinks
, Martin Mares
, (Wed Jan 3, 5:45 am)
Re: Finding hardlinks
, Matthew Wilcox
, (Wed Jan 3, 6:54 am)
Re: Finding hardlinks
, Miklos Szeredi
, (Wed Jan 3, 8:51 am)
Re: Finding hardlinks
, Mikulas Patocka
, (Wed Jan 3, 12:04 pm)
Re: Finding hardlinks
, Pavel Machek
, (Thu Jan 4, 3:59 pm)
Re: Finding hardlinks
, Miklos Szeredi
, (Fri Jan 5, 1:43 am)
Re: Finding hardlinks
, Pavel Machek
, (Fri Jan 5, 6:12 am)
Re: Finding hardlinks
, Miklos Szeredi
, (Fri Jan 5, 6:55 am)
Re: Finding hardlinks
, Mikulas Patocka
, (Fri Jan 5, 7:08 am)
Re: Finding hardlinks
, Miklos Szeredi
, (Fri Jan 5, 8:09 am)
Re: Finding hardlinks
, Miklos Szeredi
, (Fri Jan 5, 8:15 am)
Re: Finding hardlinks
, Frank van Maarseveen
, (Fri Jan 5, 10:30 am)
Re: Finding hardlinks
, Mikulas Patocka
, (Sun Jan 7, 10:57 pm)
Re: Finding hardlinks
, Miklos Szeredi
, (Mon Jan 8, 1:49 am)
Re: Finding hardlinks
, Pavel Machek
, (Mon Jan 8, 4:27 am)
Re: Finding hardlinks
, Pavel Machek
, (Mon Jan 8, 4:29 am)
Re: Finding hardlinks
, Miklos Szeredi
, (Mon Jan 8, 5:00 am)
Re: Finding hardlinks
, Martin Mares
, (Mon Jan 8, 6:26 am)
Re: Finding hardlinks
, Miklos Szeredi
, (Mon Jan 8, 6:39 am)
Re: Finding hardlinks
, Steven Rostedt
, (Tue Jan 9, 9:26 am)
Re: Finding hardlinks
, Frank van Maarseveen
, (Tue Jan 9, 12:53 pm)
Re: Finding hardlinks
, Steven Rostedt
, (Tue Jan 9, 1:11 pm)
Re: Finding hardlinks
, Pádraig Brady
, (Thu Jan 11, 3:07 am)
Re: Finding hardlinks
, Denis Vlasenko
, (Thu Jan 11, 4:43 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jesse Barnes
Re: [stable] [BUG][PATCH] cpqphp: fix kernel NULL pointer dereference
Greg KH
[003/136] p54usb: add Zcomax XG-705A usbid
Magnus Damm
[PATCH 03/07] ARM: Use shared GIC entry macros on Realview
Oliver Neukum
Re: [Bug #13682] The webcam stopped working when upgrading from 2.6.29 to 2.6.30
Martin Schwidefsky
Re: [PATCH] optimized ktime_get[_ts] for GENERIC_TIME=y
git
:
Junio C Hamano
Re: Some advanced index playing
Jeff King
Re: confusion over the new branch and merge config
Robin Rosenberg
Re: cvs2svn conversion directly to git ready for experimentation
Linus Torvalds
git binary size...
Ævar Arnfjörð Bjarmason
Re: Challenge with Git-Bash
git-commits-head
:
Linux Kernel Mailing