Computing.Net > Forums > Solaris > Pseudo filesystem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Pseudo filesystem

Reply to Message Icon

Name: redstone
Date: May 20, 2004 at 11:23:10 Pacific
OS: solaris8
CPU/Ram: ultra10
Comment:


Does anybody know the different between tmpfs and swapfs? I'm preparing the Solaris 8 certification exam. This is confusing me.

Thanks,
Mike



Sponsored Link
Ads by Google

Response Number 1
Name: nrc
Date: May 21, 2004 at 00:36:46 Pacific
Reply:

swapfs: is used by the kernel to manage swap space on the disk
tmpfs: is used by the /tmp file system and utilizes local memory for file system operations. It is much faster than a disk-based file system. Also, all data is lost when the system is rebooted or shutdown.


0

Response Number 2
Name: redstone
Date: May 21, 2004 at 07:52:47 Pacific
Reply:

Thanks, one more question.
When install OS, it will ask for the size of swap. I guess that should be swapfs. does it has any relationship with /tmp?
After OS installation, if I do df -k, we can see something like this:

swap 890184 328 889856 1% /tmp

Is size of /tmp (890184k in this case) part of disk space?

From partation table of format command, I can see:
1 swap wu 0-1109 512.18MB (1110/0/0) 1048950

But why it is not displayed in df -k?



0

Response Number 3
Name: nrc
Date: May 23, 2004 at 00:45:18 Pacific
Reply:

Tmp file system allocates space from the system's swap resources. This means as you use up space in the tmp directory, you are also using up swap space. Thus the 1% following swap. If you use tmp heavily, you could run out of swap space.


0

Response Number 4
Name: redstone
Date: May 25, 2004 at 11:10:24 Pacific
Reply:

Many thanks for all your answers!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


ufsdump can't backup /exp... error in /var/messages



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Pseudo filesystem

Filesystem imports to zones www.computing.net/answers/solaris/filesystem-imports-to-zones/4354.html

linux/solaris filesystems www.computing.net/answers/solaris/linuxsolaris-filesystems/2817.html

ufsfump of 1+ filesystems www.computing.net/answers/solaris/ufsfump-of-1-filesystems/3046.html