View Single Post
Old November 16th, 2011, 09:32 PM   #40 (permalink)
mantera
Senior Member
 
Join Date: May 2011
Posts: 1,319
 
Device(s):
Carrier: Not Provided

Thanks: 59
Thanked 1,586 Times in 442 Posts
Default

Quote:
Originally Posted by b_randon14 View Post
Well that is on the stock based kernel. Yeah the init.RC is in the ramdisk and it mounts everything and sets everything up to boot. So if the partition is formatted as ext3 like it is from the factory, you can have the init.rc mount that ext3 partition as an ext2 because it is backwards compatible with ext2. On cm7 for some reason, the init.qcom.RC is what mounts the partitions. It mounts them as ext4. The ext3 partitions can be mounted as ext4 as well cause if you notice in tickerguys cm7 updater script he only formats system and maybe cache but it doesn't format data as ext4 but through the initram data gets mounted as ext4. But like on the intercept you could mount an rfs partition as ext2 or ext4 because they ain't compatible(rfs is based off fat) so you had to convert to one or the other. And an ext2 formatted partition can't be mounted as ext4 I believe. The updater script actually formats the partition, but with the initrc youcan choose what to mount so long as whatever the partition is formatted as can be mounted as that(I.e ext3 mounted as ext4).
Ahh ok. After a lot more looking through the files, I see the mount commands now. thanks.
mantera is offline  
Reply With Quote