lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.01.0907280851360.3186@localhost.localdomain>
Date:	Tue, 28 Jul 2009 09:00:49 -0700 (PDT)
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
cc:	Zachary Amsden <zamsden@...hat.com>, Tejun Heo <tj@...nel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	linux-kernel@...r.kernel.org, axboe@...nel.dk, hch@...radead.org,
	akpm@...ux-foundation.org, Paul.Clements@...eleye.com,
	tytso@....edu, miklos <miklos@...redi.hu>
Subject: Re: [PATCH] Allow userspace block device implementation



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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ