Thread (54 messages) 54 messages, 9 authors, 2017-11-02

Re: [PATCH 06/17] block: introduce GENHD_FL_HIDDEN

From: Christoph Hellwig <hch@lst.de>
Date: 2017-10-28 06:15:23
Also in: linux-nvme

On Tue, Oct 24, 2017 at 09:18:47AM +0200, Hannes Reinecke wrote:
Can we have some information in sysfs to figure out if a gendisk is
hidden? I'd hate having to do an inverse lookup in /proc/partitions;
it's always hard to prove that something is _not_ present.
And we already present various information (like disk_removable_show()),
so it's not without precedent.
And it would make integration with systemd/udev easier.
Sure, I'll add a hidden flag sysfs file.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help