public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Using partitions on DOC2000 (nftl)
@ 2004-09-04 10:02 Jan Vestby
  2004-09-04 16:55 ` Dan Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Vestby @ 2004-09-04 10:02 UTC (permalink / raw)
  To: linux-mtd


The new diskonchip code can handle one additional partition beyond the
formatted part.
I have only been able to use this by invoking the dformat /SIZE option in
the 
4.2 version of the DOS utilities. Howvever, this option is rather brutal: 
bad block table entries beyond the new "size" is silently dropped.

Formatting the DOC with the /USE percentage option preserves the bbt data.
The resulting smaller size shows up in nftl media header entry
FormattedSize.

Is there any problems with using this parameter to perform the partioning, 
or have I overlooked something ?


Regards
jan vestby

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

* Re: Using partitions on DOC2000 (nftl)
  2004-09-04 10:02 Using partitions on DOC2000 (nftl) Jan Vestby
@ 2004-09-04 16:55 ` Dan Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Brown @ 2004-09-04 16:55 UTC (permalink / raw)
  To: jan, linux-mtd

----- Original Message ----- 
From: "Jan Vestby" <jan@tronrud.no>


> The new diskonchip code can handle one additional partition beyond the
> formatted part.

This is true of NFTL-based devices.  Newer INFTL-based devices can have four
partitions.

> I have only been able to use this by invoking the dformat /SIZE option in
> the
> 4.2 version of the DOS utilities. Howvever, this option is rather brutal:
> bad block table entries beyond the new "size" is silently dropped.

That's very interesting.  And odd.  When you say the BBT entries are
dropped, do you mean they aren't reported by dinfo, or that they really are
erased from the BBT table in the Media Header?  If it's the latter, Linux
will still be aware of them and everything should behave properly.

> Formatting the DOC with the /USE percentage option preserves the bbt data.
> The resulting smaller size shows up in nftl media header entry
> FormattedSize.
>
> Is there any problems with using this parameter to perform the partioning,
> or have I overlooked something ?

Assuming I'm correctly remembering what the /USE parameter does, this won't
help you.  The partition will still take up the same amount of space, but a
larger percentage of it will be in reserved (rather than usable) units.  The
reserved units are used to consolitate data when needed for garbage
collection, and having more of them may increase the efficiency of NFTL.

There is a utility in the mtd util/ directory called docfdisk.  This can be
used to alter INFTL-style partition tables.  Somebody should really add the
ability to alter NFTL partitions as well.  Any volunteers?

    -Dan Brown

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

end of thread, other threads:[~2004-09-04 16:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-04 10:02 Using partitions on DOC2000 (nftl) Jan Vestby
2004-09-04 16:55 ` Dan Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox