Re: API break, sysfs "capability" file

From: Christoph Hellwig
Date: Wed Apr 17 2024 - 12:23:14 EST


On Wed, Apr 17, 2024 at 06:10:21PM +0200, Lennart Poettering wrote:
> Well, there are plenty of other block devices with part scanning off,
> such as DM, including dm-crypt, dm-integrity and so on. And that's
> certainly stuff we want to cover for this.

But there is no good reason to prohibit scanning for them. We can't
scan by default as that would probably break a few expectations in
userspace, but we can trivially allow manual scanning.