From: Michael Clark <michael@metaparadigm.com>
To: "Jinu M." <jinum@esntechnologies.co.in>
Cc: Stefan Smietanowski <stesmi@stesmi.com>, linux-kernel@vger.kernel.org
Subject: Re: disable partitioning!
Date: Tue, 09 Mar 2004 21:58:09 +0800 [thread overview]
Message-ID: <404DCD71.706@metaparadigm.com> (raw)
In-Reply-To: <1118873EE1755348B4812EA29C55A97217632E@esnmail.esntechnologies.co.in>
On 03/09/04 20:13, Jinu M. wrote:
>
> Hello Stefan.
>
>
>>We are writing a block device driver for 2.4.x kernel.
>>I want to know how to indicate to the filesystem that our block driver does not support partitions.
>>I mean fdisk should not be allowed on disks supported by our block driver.
>
>
> You can run fdisk on a file if you want to, it doesn't care what type of
> block device it is. What you're really asking for is a way to make the
> kernel not read the partition table if it exists on the device and
> that's something else.
>
> So then how do I stop kernel from reading the partition table?
I believe you can do this by passing 1 as the number of minors
in your call to alloc_disk(int num_minors).
~mc
next prev parent reply other threads:[~2004-03-09 13:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-09 12:13 disable partitioning! Jinu M.
2004-03-09 13:58 ` Michael Clark [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-09 4:52 Jinu M.
2004-03-09 10:52 ` Stefan Smietanowski
2004-03-09 14:02 ` Matthias Urlichs
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=404DCD71.706@metaparadigm.com \
--to=michael@metaparadigm.com \
--cc=jinum@esntechnologies.co.in \
--cc=linux-kernel@vger.kernel.org \
--cc=stesmi@stesmi.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