The patch titled brd: don't show ramdisks in /proc/partitions has been added to the -mm tree. Its filename is brd-dont-show-ramdisks-in-proc-partitions.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: brd: don't show ramdisks in /proc/partitions From: Marcin Krol <hawk@xxxxxxxxxxxxx> In 2.6.25, ramdisk devices show up in /proc/partitions, which is a behaviour change from the old rd.c. Add GENHD_FL_SUPPRESS_PARTITION_INFO, which was present in rd.c. Signed-off-by: Marcin Krol <hawk@xxxxxxxxxxxxx> Signed-off-by: Nick Piggin <npiggin@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/brd.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/block/brd.c~brd-dont-show-ramdisks-in-proc-partitions drivers/block/brd.c --- a/drivers/block/brd.c~brd-dont-show-ramdisks-in-proc-partitions +++ a/drivers/block/brd.c @@ -447,6 +447,7 @@ static struct brd_device *brd_alloc(int disk->fops = &brd_fops; disk->private_data = brd; disk->queue = brd->brd_queue; + disk->flags |= GENHD_FL_SUPPRESS_PARTITION_INFO; sprintf(disk->disk_name, "ram%d", i); set_capacity(disk, rd_size * 2); _ Patches currently in -mm which might be from hawk@xxxxxxxxxxxxx are brd-dont-show-ramdisks-in-proc-partitions.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html