inode numbers differ when accessing the same folder with a differently-cased path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm using a library that detects if two paths are the same file by comparing the dev and ino numbers of the files. When using the library on a mounted samba share (with cifs), the inode numbers differ when the path's case is different. I'd like to know if there's a way to get around this issue and detect that they are in fact the same file.

For instance, "GoodFellas (1990)" gives me {dev: 46, ino: 10248}
and "Goodfellas (1990)" gives me {dev: 46, ino: 11984}

Upstream bug: https://github.com/BurntSushi/same-file/issues/41



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux