Re: [PATCH] Only use MSDOS-Partitions by default on X86

Jörn Engel
2003-05-06T15:20:43Z

On Tue, 6 May 2003 15:03:18 +0100, Russell King wrote:
> On Tue, May 06, 2003 at 02:42:12PM +0200, Jörn Engel wrote:
> > On Tue, 6 May 2003 14:28:44 +0200, Marcus Meissner wrote:
> > >
> > > Every platform that supports USB will be able to read USB Storage
> > > Devices which almost everytime have FAT filesystems with MSDOS partitions.
> > >
> > > So short of S/390 you get like every platform.
> >
> > And short of most embedded systems.
>
> CF cards - these have MSDOS partition tables on. CF cards get used on
> embedded systems.
>
> Therefore, it follows that if you have an embedded system with a CF socket,
> you'll probably want the MSDOS partitioning enabled.

Maybe I was just thinking the wrong way. Given that my systems don't
use IDE, SCSI, a floppy or anything emulating one of them, like USB
storage or CF. I don't want MSDOS partitioning, but in fact, I don't
want any of the disk-centric code at all, fs/partitions is just a part
of that.

Then the real fix would be to have (no disk stuff) => (some magic) =>
(no MSDOS partitions,...).

My proposition for (some magic) would be to add an option for having
disks (or floppies, emulating stuff, yadda, yadda...) and have some
things like partitioning depend on that option. I better sharpen my
claymore to cut through all that code then.

Jörn

--
Fancy algorithms are buggier than simple ones, and they're much harder
to implement. Use simple algorithms as well as simple data structures.
-- Rob Pike