[Yaffs] "Formatting the flash"

Abhishek Bhattacharya abhishek.b@lgsoftindia.com
Mon, 10 Jan 2005 19:55:13 +0530


This is a multi-part message in MIME format.

------_=_NextPart_001_01C4F720.339730E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello All
I have a query . Suppose at any point of time , the user wants to erase =
the complete flash, and restart( or in other words format the flash).
=20
Now my idea is that ,this is not possible , at run time.
I presume we might have to use yaffs_unmount(), to deinitialise, =
YAFFS.But will it work to deinitialise all current directories and other =
objects??
Any suggestions as to how to go about a DiskFormat function if =
required??=20
Abhishek
=20

------_=_NextPart_001_01C4F720.339730E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1479" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D983191914-10012005><FONT face=3DArial size=3D2>Hello=20
All</FONT></SPAN></DIV>
<DIV><SPAN class=3D983191914-10012005><FONT face=3DArial size=3D2>I have =
a query .=20
Suppose at any point of time , the user wants to erase the complete =
flash, and=20
restart( or in other words format the flash).</FONT></SPAN></DIV>
<DIV><SPAN class=3D983191914-10012005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D983191914-10012005><FONT face=3DArial size=3D2>Now my =
idea is that=20
,this is not possible , at run time.</FONT></SPAN></DIV>
<DIV><SPAN class=3D983191914-10012005><FONT face=3DArial size=3D2>I =
presume we might=20
have to use yaffs_unmount(), to deinitialise,&nbsp;YAFFS.But will it =
work to=20
deinitialise all current directories and other =
objects??</FONT></SPAN></DIV>
<DIV><SPAN class=3D983191914-10012005><FONT face=3DArial size=3D2>Any =
suggestions as=20
to how to go about a DiskFormat function if =
required??</FONT>&nbsp;</SPAN></DIV>
<DIV><SPAN class=3D983191914-10012005><FONT face=3DArial=20
size=3D2>Abhishek</FONT></SPAN></DIV>
<DIV><SPAN class=3D983191914-10012005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C4F720.339730E0--