Question about ubimkvol vs. mkfs.ubifs

Hamish Moffatt hamish at cloud.net.au
Sun Apr 6 20:23:43 EDT 2008


On Sun, Apr 06, 2008 at 04:53:37PM -0700, Bruce_Leonard at selinc.com wrote:
> Once I do all that I can read/write/copy/delete/etc files just fine on the 
> NAND flash.  So, like I said it appears to be working just fine.  But 
> everything I see on the mailing list seems to be saying I should be using 
> mkfs.ubifs.  But if everything works and I'm mounting the device as a 
> UBIFS filesystem, what (if anything) is mkfs.ubifs going to do for me that 
> I don't already have done?

mkfs.ubifs is for creating a ubifs image pre-populated with files eg
your root file system, similar to mkfs.jffs2, genext2fs, etc. You don't
need it to create a blank file system - in that case, just mount a blank
volume as you are doing now.


cheers
Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>



More information about the linux-mtd mailing list