Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
as the title says, i would like to know which
partition type my swap partition is, since if
it is not ext3 nor reiserfs, i can disable ext3
kernel support and trim it a bit further.
swap file or partition does not contain a filesystem ,but the word is that you could turn swap into a filesystem made for swap called swapfs.Swap is where 'pages' of memory is stored ,if it fills up the memory.Memory management falls under a special branch of the OS and is one of the most important part.Swap space can be a dedicated swap partition , a swap file, or a combination of swap partitions and swap files.
AFAIK, swap has its own "filesystem" called swap, hence the reason you must use the command mkswap when you are creating a swap partition, when you are creating it by hand with fdisk. Usually your distro's installer does this for you. You can disable ext3 support with no worries concerning swap.
Well very much ,I think that you are confusing the term swap space with filesystem.mkswap creates a swap space not a filesystem.Anyway ,according to my OS book,Swapping is usually done direct to a raw partition (directory hierarchy is irrelevant). In Solaris swapping is done to a combination of raw partitions and files (most local machines have 1 swap partition).But as I said swapfs is the new thing,it is mostly used for a temporary storage in windows machines but using the raw linux swap partition.The partitions are differenciated by the partition id,and so swap also have a partition id,in this way the linux os differenciates another partition with swap space.
Originally posted by rch In Solaris swapping is done to a combination of raw partitions and files (most local machines have 1 swap partition).But as I said swapfs is the new thing,it is mostly used for a temporary storage in windows machines but using the raw linux swap partition.
Solaris has been using the swapfs concept for quite some time now. By default Solaris puts /tmp in swap unless you create a separate slice for it.
stickman thanks for the info,you see I don't use solaris,never even touched a machine with that os running, and I have no idea whatsoever about solaris(except what I have read ,and that's peanuts),I don't even know whether the kernel is microkernel or monolithic(like linux).
(and MasterC you're welcome ,I am pretty sure that this must be a unique day when I am telling a mod(and someone with 8600 posts) something that they do not know)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.