rootfs: Prepare directory rootfs/ to store files and directory

Also have some modificaiton for making rootfs from rootfs directory