I want to mount ramfs.Is it possible to mount ramfs.It is memory based?How to mount it?any command?procedure?
#mount -o loop initrd /mnt/mydir
# mount -t ramfs My_ramfs /mnt/somedir -o maxsize=10000 # mount ... My_ramfs on /mnt/somedir type ramfs (rw,maxsize=10000) #
I guess what you want is actually called "tmpfs". It a VM-based filesystem (RAM+swap) which contents simply vanish when you restart you PC ;-)
mount -t tmpfs /mydir
#mount -o loop initrd /mnt/my
#mount -o loop initrd /mnt/mydir
# mount -t ramfs My_ramfs /mn
# mount -t ramfs My_ramfs /mnt/somedir -o maxsize=10000
# mount
...
My_ramfs on /mnt/somedir type ramfs (rw,maxsize=10000)
#
I guess what you want is actu
I guess what you want is actually called "tmpfs". It a VM-based filesystem (RAM+swap) which contents simply vanish when you restart you PC ;-)
mount -t tmpfs /mydir