mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [RFD w/info-PATCH] device arguments from lookup, partion code in userspace
@ 2001-05-19 11:09 Andries.Brouwer
  2001-05-19 11:43 ` Andrew Morton
  0 siblings, 1 reply; 15+ messages in thread
From: Andries.Brouwer @ 2001-05-19 11:09 UTC (permalink / raw)
  To: bcrl, torvalds; +Cc: linux-fsdevel, linux-kernel, viro

    From: Ben LaHaise <bcrl@redhat.com>

    3. Userspace partition code proposal

        Given the above two bits, here's a brief explaination of a
        proposal to move management of the partitioning scheme into
        userspace, along with portions of raid startup, lvm, uuid and
        mount by label code needed for mounting the root filesystem.

        Consider that the device node currently known as /dev/hda5 can
        also be viewed as /dev/hda at offset 512000 with a limit of 10GB.
        With the extensions in fs/block_dev.c, you could replace /dev/hda5
        with /dev/hda/offset=512000,limit=10240000000.  Now, by putting
        the partition parsing code into a libpart and binding mount to a
        libpart, the root filesystem mounting code can be run out of an
        initrd image.  The use of mount gives us the ability to mount
        filesystems by UUID, by label or other exotic schemes without
        having to add any additional code to the kernel.

    I'm going to stop writing this now.  I need sleep...

Hmm. You know that I wrote this long ago?
And that it has been part of the kernel for a long time?
And that there are user space utilities that use it?

In util-linux, look at the partx subdirectory.
In the kernel, read drivers/block/blkpg.c.

Andries

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2001-05-21 20:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-19 11:09 [RFD w/info-PATCH] device arguments from lookup, partion code in userspace Andries.Brouwer
2001-05-19 11:43 ` Andrew Morton
2001-05-19 12:00   ` Alexander Viro
2001-05-19 12:06     ` [RFD w/info-PATCH] device arguments from lookup, partion codein userspace Andrew Morton
2001-05-19 15:56     ` [RFD w/info-PATCH] device arguments from lookup, partion code in userspace Ben LaHaise
2001-05-19 16:25       ` [RFD w/info-PATCH] device arguments from lookup, partion code Alan Cox
2001-05-19 16:36         ` Alexander Viro
2001-05-19 16:44         ` Matthew Wilcox
2001-05-19 18:01         ` Nicolas Pitre
2001-05-19 18:34         ` Linus Torvalds
2001-05-19 22:34           ` Ingo Oeser
2001-05-19 23:42             ` Alexander Viro
2001-05-20  0:11               ` Alan Cox
2001-05-20 17:10             ` Padraig Brady
2001-05-20 19:53         ` Pavel Machek

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®