Forum Discussion
Altera_Forum
Honored Contributor
20 years agoThe initramfs is a read/writable root fs. It is not like romfs, which is read-only.
eg, to mount jffs2 "mount -t jffs2 /dev/mtdblock0 /mnt" will mount a mtd block device (0) to dir /mnt, /mnt is the mount point, you can use other dir for it. (you can even remount root fs with switch-root, but probably you won't) eg, to mount nfs "mount -t nfs 192.168.1.2:/home /home" will mount the /home dir from nfs server 192.168.1.2 to dir /home . eg, to mount vfat on ide/cf "mount -t vfat /dev/hda1 /var/www" will mount ide part 1, which is formatted as vfat, to dir /var/www