Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Detecting whether two pathes refer to the same fileby afoken (Chancellor) |
on Sep 10, 2010 at 11:10 UTC ( [id://859627]=note: print w/replies, xml ) | Need Help?? |
On FAT I don't think you have any options like this. Right. While it is possible to create a hardlink within a FAT filesystem using a disk editor, most -- if not all -- FAT filesystem checkers consider this a filesystem error. FAT is defined in a way that each file must have exactly one directory entry, and so the fully qualified file name (relative to the filesystem) uniquely identifies a file. With VFAT (i.e. FAT + long names), things become a little bit different, because each path element may have a "long" and a "short" name. Normalizing the paths of two files to use only "short" or "long" elements gives compareable, unique identifiers. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|