Hey guys, welcome back to the channel and in this video, we are going to talk about special-purpose filesystems and swap memory, but before that don't forget to press that subscribe button and the like button too.
So in the last video when we ran mount command to list all our mount, you these mounts like
/sys
/proc
well, these are the special purpose filesystems.
Technically not all filesystem represent storage devices, some serve as system interface i.e rather than just being a point of storing data, they can provide system information like information about a process or kernel
First, let look at /proc
inside proc we can find some really system information like
information about cpu - which really in detail
you can also get information about individual processes with there process id's
the second special-purpose filesystem is /sys , we have already talked about this one so we are going to skip, please watch my video on sysfs
the third special filesystem is tmfs and it's mounted on different locations like for eg /run
tmpfs lets you use memory and swap as, this makes file access really fast , yeah that is all to know about tmfs
lets see how to create a tmpfs filesystem
mount -t tmpfs -o size=10M tmpfs /tmpfs
Now let's talk about Swap, so the swap is basically augmentation of RAM on disk, so just in case you run out of real memory, Linux virtual filesystem can move your program pieces to and fro from disk
technically you can even a file as swap / awshandson https://amzn.to/2A9DVv1
https://amzn.to/3cEGVNf
Смотрите видео Swap and Special FileSystem in Linux онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Infinite Linux 16 Май 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,567 раз и оно понравилось 6 людям.