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
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.
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
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
Summary: In Solaris 10 when a filesystem is imported into a zone, i want to prevent information leaking from one zone to another. i need a script that can report back to me whenever a filesystem is imported re...
Summary: Well, solarislinux filesystem compatibility GENERALLY doesn't work. ext2 cannot be mounted on solaris until you have the device driver written (from scratch) and load onto solaris at the boot time... ...
Summary: to backup more than 1 filesystem onto 1 tape I've used: ufsdump 0uf /dev/rmt/0n /u ufsdump 0uf /dev/rmt/0 /u1 to backup several directories from the same file system I've bundled them into a var and b...