[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE:Re: Partman on the MTD flash



>Great.  You should also get in touch with Per Andersson [1] who was also

>interest to improve the support of Debian on NAS.

>[1] He recently introduced himself, see:

>   http://lists.debian.org/debian-boot/2008/03/msg01178.html
     Thanks for your information . I will get in touch with Per.


   >> Because the MTD flash does not have traditional partition like disks,

    >> so we do not do the partitioning, just detect the MTD, mount it to

    >> /target, and then do installation.

>That would work, but we'll loose a lot of partman's flexibility.  I can

>imagine quite a few use cases that would not be supported that way:

>* encrypted filesystem on MTD,

    It is really a problem .

> * root on MTD and /home on disk (you might want such setup for the

>   Kurobox Pro which has only 256 Mb of flash),

> * /boot on MTD, the rest on hard drive.

    We can add some  option that the user could select where to install .


>I think that even if there is no need to "partition" an MTD device,

>proper integration into the debian-installer would be to allow the

>static partitions to be configured, reformated, transferred like any

>others.

   It is a good idea.  Originally i just think about the full installation 
in MTD,  now it seems like adding some option is more suitable .
   During the installation , the kernel only recognize the whole  storage 
of MTD flash. But if the user  install the Debian more than once,
there must be some useful files in the MTD which he do not want to be erased.
So there should be some options that the user can configure the size of MTD 
to be installed, select where to be installed (like above /root in MTD, 
other remain disk) and make a filesystem in the MTD like jffs2. But i do not 
know whether the partman-parittioning support making a filesystem in the
 MTD, or should we add some tools to do this work. 


Regards
Wenjie

Reply to: