First page Back Continue Last page Overview Graphics
Mounted Filesystems
As we've seen, even a simple machine has many separate filesystems mounted under root.
To mount a filesystem, you need a directory (preferably empty!) and a target.
me@locutus:~$ sudo mkdir /tmp/ramdisk
me@locutus:~$ sudo mount -t tmpfs -o size=10M tmpfs /tmp/ramdisk
me@locutus:~$ mount | grep ramdisk
tmpfs on /mnt/ramdisk type tmpfs (rw,size=10M)