mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent.Vivier@bull.net>
To: 7eggert@gmx.de
Cc: Nick Piggin <nickpiggin@yahoo.com.au>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Modify loop device to be able to manage partitions of the disk image
Date: Fri, 07 Mar 2008 13:13:56 +0100	[thread overview]
Message-ID: <1204892036.4315.29.camel@frecb07144> (raw)
In-Reply-To: <E1JXbBo-0000ix-57@be1.7eggert.dyndns.org>


Le vendredi 07 mars 2008 à 12:56 +0100, Bodo Eggert a écrit :
> Nick Piggin <nickpiggin@yahoo.com.au> wrote:
> > On Thursday 06 March 2008 21:16, Laurent Vivier wrote:
> >> Le jeudi 06 mars 2008 à 20:57 +1100, Nick Piggin a écrit :
> 
> >> > Do you think we do something similar for drivers/block/brd.c too? I'd
> >> > like to try to maintain parity between them where possible...
> >>
> >> I think it is possible  (I've the same patch for NBD too), but I think
> >> it is completely useless.
> > 
> > It's useful for testing, and for minimising the divergence in the
> > code.
> 
> Maybe there should be a common mechanism to use partitions on any block
> device. Maybe there is - I have dark memories about the device mapper

The mechanism exists: the driver must call alloc_disk() with a value !=
1. This is what is modifying this patch.

> being able to parse partition tables, and plans on moving partition
> support to userspace.

This is kpartx.

Laurent
-- 
----------------- Laurent.Vivier@bull.net  ------------------
"Programmers who subconsciously view themselves as artists
 will enjoy what they do and will do it better." D. Knuth


  parent reply	other threads:[~2008-03-07 12:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a4kTW-44U-25@gated-at.bofh.it>
     [not found] ` <a4l3D-4hn-11@gated-at.bofh.it>
     [not found]   ` <a4lmN-4Xt-7@gated-at.bofh.it>
     [not found]     ` <a4m9d-6iD-7@gated-at.bofh.it>
2008-03-07 11:56       ` Bodo Eggert
2008-03-07 12:08         ` Bart Van Assche
2008-03-07 12:13         ` Laurent Vivier [this message]
2008-03-06  9:43 Laurent Vivier
2008-03-06  9:57 ` Nick Piggin
2008-03-06 10:16   ` Laurent Vivier
2008-03-06 10:56     ` Nick Piggin
2008-03-06 11:29       ` Laurent Vivier
2008-03-06 11:34 ` Pádraig Brady
2008-03-06 11:45   ` Laurent Vivier
2008-03-06 12:21     ` Pádraig Brady
2008-03-06 12:44       ` Laurent Vivier
2008-03-06 12:35 ` Christoph Hellwig
2008-03-06 12:55   ` Laurent Vivier

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=1204892036.4315.29.camel@frecb07144 \
    --to=laurent.vivier@bull.net \
    --cc=7eggert@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nickpiggin@yahoo.com.au \
    /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

all inboxes | Powered by JetHome®