> mount is a command from the util-linux package, hence you'd be better off > asking on their mailing list <util-li...@vger.kernel.org>.
Thanks Berny pointing me in this direction. > FWIW: mount already knows quite a list of alternatives how to specify the > source device [...] Clarification: This feature is not about the source device but the "device number" reported by the filesystem in `stat()`. For xfs and probably many other filesystems, this happens to be (major<<8)+minor of the source device but btrfs, for example, allocates a new number for each subvolume. Joachim