| Цитата(suxxor @ 5.8.2012, 13:32) | | xvr, а что за уникальное число, соответствующее этому файлу? |
Это зависит от драйвера файловой системы. Гарантируется лишь то, что в пределах логического вольюма (для FAT - это раздел диска) каждый файл получит уникальное число. Как написано в MSDN - для FAT это дисковое смещение до записи в директории для заданного файла.
| Цитата | File reference numbers, also called file IDs, are guaranteed to be unique only within a static file system. They are not guaranteed to be unique over time, because file systems are free to reuse them. Nor are they guaranteed to remain constant. For example, the FAT file system generates the file reference number for a file from the byte offset of the file's directory entry record (DIRENT) on the disk. Defragmentation can change this byte offset. Thus a FAT file reference number can change over time.
|
|