cancel
Showing results for 
Search instead for 
Did you mean: 
Trevor
Starfighter Starfighter
Starfighter
  • 135 Views

Display of Filesystems

In the latest Interview Question series, there are four more wonderful, beautiful, questions being posed.  

One of the questions involves "tmpfs" and "ramfs".  I wanted to ask my own
question regarding these two items.

For starters, "tmpfs" and "ramfs" refer to filesystems.  Below, I'll show you a
very simple example of how to create each of these:

tmpfs creation:

# mkdir -p /tmp/tmp_filesystem
# mount  -t tmpfs  -o  size=10g  tmpfs  /tmp/tmp_filesystem

ramfs creation:

# mkdir -p /tmp/ram_filesystem
# mount  -t ramfs  -o  size=10g  ramfs  /tmp/ram_filesystem


When I execute my old friend

                        # df  -h

to see the filesystems that I have mounted, I see the tmpfs filesystem, but
not the ramfs filesystem.  

My question:  Why don't I see the ramfs filesystem in the output of this
command????

Note:  The intended audience is RHCE and below!

 

 

 

 

Trevor "Red Hat Evangelist" Chandler
Labels (3)
0 Replies
Join the discussion
You must log in to join this conversation.