GNU bug report logs - #53212
feature request: mount option to specify the device number

Previous Next

Package: coreutils;

Reported by: Joachim Wagner <jo2l <at> mqzmail.eu>

Date: Wed, 12 Jan 2022 17:01:02 UTC

Severity: wishlist

Tags: notabug

Done: Bernhard Voelker <mail <at> bernhard-voelker.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Joachim Wagner <jo2l <at> mqzmail.eu>
To: 53212 <at> debbugs.gnu.org
Cc: Bernhard Voelker <mail <at> bernhard-voelker.de>
Subject: bug#53212: feature request: mount option to specify the device number
Date: Thu, 13 Jan 2022 10:39:52 +0000
> mount is a command from the util-linux package, hence you'd be better off
> asking on their mailing list <util-linux <at> 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








This bug report was last modified 3 years and 189 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.