From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Chow Subject: Re: partitions Date: Thu, 25 Jul 2002 20:09:53 +0800 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <3D3FEA91.1070507@shaolinmicro.com> References: <20020724184739.GA13171@win.tue.nl> <20020724192914.GA13180@win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Viro , linux-fsdevel@vger.kernel.org Return-path: To: Andries Brouwer List-Id: linux-fsdevel.vger.kernel.org Andries Brouwer wrote: > On Wed, Jul 24, 2002 at 03:02:50PM -0400, Alexander Viro wrote: > > >>Basically, gendisks are crap. Why on the earth they were created as >>per-major objects instead of per-disk ones is a mistery, but whatever >>reason it had, it had acted as serious source of mess. For many years. >>Right now I'm cleaning that mess up in 2.5 and I have nothing nice to >>say about the bright guys responsible for its creation. Sorry. > > > [amused] Good to see that you now understand that permanent > disk data is not stored in a struct block_device and that > the way to removal of the arrays is nearly independent of > struct block_device and instead dependent on a replacement > of struct gendisk. > > [berating] However, your annoyed words are not fair to Drew Eckhardt. > Ten years ago, when he created struct gendisk, most of the problems > you mention did not exist yet. Thanks for advice, it seems there are no standard solutions right? It depends on what sort of device we are looking for... I think I rather concentrate on finding local partitioncs, ide or scsi. But the case of ide-floppy is in a gray area. I certainly don't want to make use of such slow disk. regards, David