]> git.hungrycats.org Git - linux/commit
[PATCH] /proc/paritions: omit removable media
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:44:47 +0000 (18:44 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:44:47 +0000 (18:44 -0800)
commit323907801e58b87e4ef0fd69b6e3f8fc85e99ae6
tree98843be633f66293a875a425c876fd7a36d5711d
parent62c10f9eb2213c1850f26ea51b4efa6396696d68
[PATCH] /proc/paritions: omit removable media

From: Neil Brown <neilb@cse.unsw.edu.au>

If programs like mount use /proc/partitions to find filesystems based on
labels, then surely we want md devices in there as they often contain
filesystems.

If the problem is that mount-by-label takes forever with removable media
then surely the "right" approch is the following patch, and then actually
set this flag on the "floppy.c" device.  (It is already set for ide-floppy
and sd devices).
drivers/block/floppy.c
drivers/block/genhd.c
drivers/ide/ide-cd.c