https://bugs.kde.org/show_bug.cgi?id=402154

--- Comment #33 from tagwer...@innerjoin.org ---
(In reply to Joachim Wagner from comment #32)
> ... a given internal filesystem ID ...
Maybe that's where I'm getting muddled...

statvfs and "stat -f" give a 64 bit "Filesystem ID" and I was imagining you
were talking about that. If I've followed the breadcrumbs right this comes from
the UUID (for BTRFS). Ref:
    http://lkml.iu.edu/hypermail/linux/kernel/0809.0/0593.html

It looks straightforward to get the filesystem ID for a file. However, it needs
more space than a device number and thus a lookup table.

> ... One doesn't want
> to write code for each possible filesystem and update it each time somebody
> publishes a new filesystem ...
Perhaps the f_fsid field is sufficient

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to