# Create 10MB "partition" in /ramfs: max. 2000 inodes, set perms to 770
mount -t tmpfs -o size=10M,nr_inodes=2k,mode=770 tmpfs /ramfs

# The equivalent line in /etc/fstab would auto-create the above at boot time
# <fs>      <mt_point>     <type>    <options>                 	   	   <dump>  <pass>
tmpfs       /ramfs          tmpfs     auto, size=10M,nr_inodes=2k,mode=770      0  0
