|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mounting File System
Hi Team ,
Team Can any give me a good explanation of mount file system. example : Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 4021876 0 4021876 0% /dev/shm Kindly explain me what does Filesystem,Mounted on Means in the above example . Thanks, Anudeep |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Quote:
The second field shows how big the filesystem is: 4021876 * 1kB, so about 4GB. Be careful: this does NOT mean that the filesystem blocks are actually 1kB each. You told df to show dimension in 1k blocks, using the "-k" option. Third field shows the number of used (1k) blocks. 0 means that the fs is empty. Fourth field shows the number of available (1k) blocks. In your example, all blocks are empty and available. Fifth field shows the how much the filesystem is used, in percentage. Again, 0% means empty. Last field shows the mount point of this filesystem. This tmpfs filesystem is mounted on /dev/shm, which is a directory on your primary filesystem (that is on your root partition). Even if this directory is not empty on the disk (however any mountpoint should be empty), as long as another filesystem is mounted on it you can't see (nor access to) the content of this directory on the disk: you will see the content of the mounted filesystem instead. If you write, for instance, to /dev/shm/filetest, you're not writing to one of your disks, but to your virtual filesystem in RAM. Try: Code:
dd if=/dev/zero of=/dev/shm/filetest bs=16M count=50 Fast, isnt'it? ![]() [*] More info about tmpfs here: http://www.kernel.org/doc/Documentat...tems/tmpfs.txt |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
Do you mind telling us on what platform and OS? I have doubts about your
df -k output...
And next time use code tags and not fancy colors that doesnt help the search engines... |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Facts about mounting remote file system | swmk | UNIX for Dummies Questions & Answers | 2 | 10-20-2008 11:09 PM |
| mounting file system /etc/vfstab | panchpan | Solaris | 4 | 10-17-2007 02:39 AM |
| File system not mounting at bootup | m223464 | AIX | 2 | 07-31-2007 11:48 AM |
| mounting windows(vfat) file system | ajoy patel | Solaris | 1 | 03-04-2006 04:22 AM |
| Mounting an ISO As a file system in AIX | murdaugh | UNIX for Advanced & Expert Users | 1 | 01-11-2002 03:32 AM |
|
|