mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Zachary Amsden <zamsden@redhat.com>, Tejun Heo <tj@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	linux-kernel@vger.kernel.org, axboe@kernel.dk, hch@infradead.org,
	akpm@linux-foundation.org, Paul.Clements@steeleye.com,
	tytso@mit.edu, miklos <miklos@szeredi.hu>
Subject: Re: [PATCH] Allow userspace block device implementation
Date: Tue, 28 Jul 2009 09:00:49 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.2.01.0907280851360.3186@localhost.localdomain> (raw)
In-Reply-To: <20090728112734.5a75752d@lxorguk.ukuu.org.uk>



On Tue, 28 Jul 2009, Alan Cox wrote:
>
> Use device mapper. Really we should shoot all the partition code in the
> kernel but the back compatibility is a bit tricky. We don't actually need
> the partition code any more.

Really, we should _not_ "shoot all the partition code in the kernel". 
Quite the reverse.

You need the kernel to read the disk anyway, you're _much_ better off 
having the kernel know about the partitioning etc. There are absolutely 
zero upsides to making the bootup be dependent on yet another user land 
tool, and then effectively forcing people to use initrd whether they want 
it or not - just in order to find the real root.

The fact that some distributions already go too far, and use DM whether it 
makes sense or not is only inconveniencing real users. It makes things 
like data portability much harder. I have had real-life cases where I 
wanted to move a disk from one machine to another, only to notice that the 
crazy default for the distro I had used was to make it impossible, because 
all the filesystems crossed disks.

I've since learnt to not use DM (and instead doing a very inconvenient 
"partition everything by hand because the install tool doesn't allow for 
any simple automated way to make a sane install"), and to just put /home 
on one disk and / on the other, and then I can way more easily just move 
my /home disk around, for example.

Yes, I realize that MD is convenient for a certain class of users, but a 
_lot_ of distro people seem to totally miss all the inconveniences. 
Possibly because they care more about "enterprise" customers than about 
people who tinker.

				Linus

  reply	other threads:[~2009-07-28 16:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-27  9:57 Zachary Amsden
2009-07-27 12:56 ` Peter Zijlstra
2009-07-27 13:25   ` Alan Cox
2009-07-27 19:46     ` Zachary Amsden
2009-07-27 20:24       ` Peter Zijlstra
2009-07-27 21:02       ` Alan Cox
2009-07-28  1:21     ` Tejun Heo
2009-07-28  3:53       ` Zachary Amsden
2009-07-28 10:27         ` Alan Cox
2009-07-28 16:00           ` Linus Torvalds [this message]
2009-07-28 18:36             ` Kyle Moffett
2009-07-28 18:51               ` Linus Torvalds
2009-07-28 19:07               ` Alan Cox
2009-07-28 19:49               ` Andi Kleen
2009-07-28 20:50                 ` Linus Torvalds
2009-07-28 21:09                   ` Andi Kleen
2009-07-28 22:56                   ` Theodore Tso
2009-08-07 18:08 ` Pavel Machek
2009-08-10 22:47   ` Zachary Amsden
2009-07-28 20:37 devzero

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=alpine.LFD.2.01.0907280851360.3186@localhost.localdomain \
    --to=torvalds@linux-foundation.org \
    --cc=Paul.Clements@steeleye.com \
    --cc=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=axboe@kernel.dk \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=peterz@infradead.org \
    --cc=tj@kernel.org \
    --cc=tytso@mit.edu \
    --cc=zamsden@redhat.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

Powered by JetHome