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

--- Comment #13 from Robert Riemann <rob...@riemann.cc> ---
In https://bugs.kde.org/show_bug.cgi?id=419302, Martin commented that:

> Neil Brown clearly said that no userspace component can rely on device 
> numbers since kernel 2.4. Luckily he recommended an alternative:
>
> "That is really hard to provide in general.  Possibly the best approach
> is to use the statfs() systemcall to get the "f_fsid" field.  This is
> 64bits.  It is not supported uniformly well by all filesystems, but I
> think it is at least not worse than using the device number.  For a lot
> of older filesystems it is just an encoding of the device number.
> 
> For btrfs, xfs, ext4 it is much much better."
>
> https://lore.kernel.org/linux-block/1769070.0rzTUBzp5V@ananda/T/#m28b8c889c9289ad1ec76cbf040938ea883e3f375

So if this would help, is there already work ongoing on a change from device id
to this f_fsid?

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

Reply via email to