to use ramdisk

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

to use ramdisk

738件の閲覧回数
himalimunshi
Contributor I

how to use ramdisk as android system partition?

ラベル(3)
0 件の賞賛
4 返答(返信)

609件の閲覧回数
himalimunshi
Contributor I

I did not get answer for this question.

thanks,

himali

0 件の賞賛

609件の閲覧回数
gary_bisson
Senior Contributor III

Hi Himali,

Why would like the system partition to be a ramdisk? As its name suggest, the ramdisk will be located in RAM, the system partition takes about 300MB which is the amount you'll lose. Plus be aware of the ramdisk size limitation: https://www.kernel.org/doc/Documentation/blockdev/ramdisk.txt

If you really want to do so, I'd say to have one ramdisk which would be rootfs + system partition. Then you'd need to modify fstab not to mount /system as already present. But once again I'm very curious about the reason that makes you think this is a good idea.

Regards,

Gary

0 件の賞賛

609件の閲覧回数
himalimunshi
Contributor I

thanks gray bisson

can you share your image and modification detail? i want to fix ext4 file system error

regards,

himali

0 件の賞賛

609件の閲覧回数
gary_bisson
Senior Contributor III

Hi Himali,

No I haven't done it, I was just providing hints at a possible implementation. But what do you mean "fix ext4 file system error"? The /system partition should be mounted as read-only at all time which should not get errors at all (no write operation).

Regards,

Gary

0 件の賞賛