On Mon, 25 Aug 2008 16:39:12 -0400, "James Vega"
<[EMAIL PROTECTED]> wrote:

> On Mon, Aug 25, 2008 at 4:21 PM, Tony Mechelynck
> <[EMAIL PROTECTED]> wrote:
> >
> > The question is not to determine which other files, if any, are
> > hardlinked to a specific file (which might require scanning all
> > directories on the whole partition the way some disk integrity checking
> > programs do), it is just to determine whether two given pathfilenames
> > point to the same disk area (which ought to require only a comparison of
> > "where their directory entries point to").
> 
> Which is simply a subset of my general statement in my previous email.
> There is no way to determine this simply from pathnames.  In fact, the
> only way to determine this, at least under Linux, is to check whether
> they have the same inode.  I'm not sure how you would do so for other
> OSes.

The same device number and inode number, to be precise.

-- 
Matthew Winn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui