From: Olaf Hering <olh@suse.de>
To: Jens Axboe <axboe@suse.de>, Stephen Rothwell <sfr@au1.ibm.com>
Cc: Andrew Morton <akpm@osdl.org>,
Christoph Hellwig <hch@infradead.org>,
linux-kernel@vger.kernel.org
Subject: Re: 2.6.5-rc2-mm4
Date: Sun, 28 Mar 2004 20:54:41 +0200 [thread overview]
Message-ID: <20040328185441.GA30602@suse.de> (raw)
In-Reply-To: <20040327175412.GB3175@suse.de>
On Sat, Mar 27, Jens Axboe wrote:
> On Fri, Mar 26 2004, Andrew Morton wrote:
> > > >
> > > > Suppress cdroms in /proc/partitions
> > >
> > > What's this patch trying to archive? IDE cdroms are partitionable in
> > > 2.5..
>
> I'm not trying to kill partioning (which doesn't exist, btw), it's just
> an artifact of flagging the gendisk removable that they don't show up in
> /proc/partitions
you need this one as well:
--- ./drivers/cdrom/viocd.c~ 2004-03-28 18:36:16.000000000 +0000
+++ ./drivers/cdrom/viocd.c 2004-03-28 18:44:19.000000000 +0000
@@ -615,7 +615,7 @@ static int __init viocd_init(void)
VIOCD_DEVICE_DEVFS "%d", deviceno);
gendisk->queue = viocd_queue;
gendisk->fops = &viocd_fops;
- gendisk->flags = GENHD_FL_CD;
+ gendisk->flags = GENHD_FL_CD|GENHD_FL_REMOVABLE;
set_capacity(gendisk, 0);
gendisk->private_data = d;
d->viocd_disk = gendisk;
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
next prev parent reply other threads:[~2004-03-28 18:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-26 21:18 2.6.5-rc2-mm4 Andrew Morton
2004-03-26 21:22 ` 2.6.5-rc2-mm4 Andrew Morton
2004-03-26 21:40 ` 2.6.5-rc2-mm4 Christoph Hellwig
2004-03-26 22:00 ` 2.6.5-rc2-mm4 Andrew Morton
2004-03-27 17:54 ` 2.6.5-rc2-mm4 Jens Axboe
2004-03-28 18:54 ` Olaf Hering [this message]
2004-03-27 1:10 ` [PATCH] 2.6.5-rc2-mm4 Ramón Rey Vicente
2004-03-27 1:21 ` Andrew Morton
2004-03-27 1:30 ` Ramón Rey Vicente
2004-03-28 11:31 ` 2.6.5-rc2-mm4 Paul Mackerras
2004-03-29 15:23 ` 2.6.5-rc2-mm4 Tom Rini
[not found] <4062E015.2000608@blueyonder.co.uk>
2004-03-25 19:26 ` 2.6.5-rc2-mm3 Sid Boyce
2004-03-26 23:11 ` 2.6.5-rc2-mm4 Sid Boyce
2004-03-26 23:49 ` 2.6.5-rc2-mm4 Andrew Morton
-- strict thread matches above, loose matches on Subject: below --
2004-03-26 23:28 2.6.5-rc2-mm4 Sid Boyce
2004-03-28 2:28 2.6.5-rc2-mm4 Sid Boyce
[not found] <1E741-Sh-5@gated-at.bofh.it>
2004-03-28 23:59 ` 2.6.5-rc2-mm4 Dan Hopper
2004-03-29 0:46 ` 2.6.5-rc2-mm4 Andrew Morton
2004-03-29 14:17 ` 2.6.5-rc2-mm4 Dan Hopper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040328185441.GA30602@suse.de \
--to=olh@suse.de \
--cc=akpm@osdl.org \
--cc=axboe@suse.de \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sfr@au1.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox