Is it possible to edit the fstab to mount /data, /cache etc. from a different partition on the a.internal memory? b.external sdcard?
Details: The default partition for /data and /cache are too small for my needs and I can manage to format the (internal) /sdcard in ext4.
Edit: My question may superficially seem to be like other questions asking for a way to increase size of /data, but it's not. Here's why:
(1) I need to do it specifically by editing fstab, which is the usual way of doing the same thing on a GNU/Linux desktop. (2) The other questions don't ask about /cache and other partitions.
fstab
(if it exists on your device) might require modifying the boot image. While based on Linux, some aspects on Android work differently. Quoting from What's the Android equivalent of /etc/fstab?: Android has no/etc/fstab
. Also check these questions/answers. // Moreover, this is an XY problem: Better try solving your issue, not stick to your "assumed solution" ;)