From: Paul Battley Date: 2006-07-05T01:54:01+09:00 Subject: Re: Get file by inode number? On 04/07/06, Tim Bray wrote: > In principle, this is may be a bad idea. To start with, in *n*x > filesystems, a file can have lots of different pathnames, via hard > and soft links. -Tim Perhaps that's a good solution to the problem ('to keep track of them even when they're moved or renamed'): make a hard link. % echo Hello > foo % ln foo bar % cat bar Hello % mv foo baz cat: foo: No such file or directory % cat bar Hello % rm baz % cat bar Hello Paul.