[Ilugc] uniquely identify a file

  • From: knutties@xxxxxxxxx (Natarajan K)
  • Date: Sat Feb 17 22:34:39 2007

On 2/17/07, Prashanth Mohan <prashmohan@xxxxxxxxx> wrote:


That is not what I wanted. I wanted an identifier which could pinpoint
that particular file.. something like a checksum, but less resource
intensive.

Any problems with using the file's inode number?  That is probably the
least resource intensive.

Do the files that you refer to, reside on different filesystems in
which case the inode numbers could possibly collide?  You could create
symlinks to these files on a single filesystem so that the inode
numbers are always unique.

Natarajan
-- 
http://knutties.livejournal.com/

Other related posts: