3 ms·
> Linux has a lot of in memory file-systems that I do not know what they are all for :) Which ones for example? I wanna know if you know some I might still not
by NekkoDroid 2y ago
> Linux has a lot of in memory file-systems that I do not know what they are all for :)
Which ones for example? I wanna know if you know some I might still not know of.
- jmclnx 2y agoI left it as it defaults, but here is a comparison between OpenBSD and my Linux workstation. Linux mount is separated between the physical and the memory mounts. The only memory mount I added as for /tmp OpenBSD: ======== /dev/sd1a on / type ffs (local) /dev/sd1h on /home type ffs (local, nodev, nosuid) /dev/sd1d on /tmp type ffs (local, nodev, nosuid) /dev/sd1i on /u type ffs (local, nodev, nosuid) /dev/sd1f on /usr type ffs (local, nodev) /dev/sd1g on /usr/local type ffs (local, nodev, wxallowed) /dev/sd1e on /var type ffs (local, nodev, nosuid) Linux: ====== /dev/sda1 on /boot type ext4 (rw,noatime,stripe=4) /dev/mapper/cryptvg-home on /home type ext4 (rw,noatime) /dev/mapper/cryptvg-u on /u type ext4 (rw,noatime) /dev/mapper/lukssdb1 on /u1 type ext4 (rw,noatime) /dev/mapper/lukssdb2 on /u2 type ext4 (rw,noatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=4194304k,inode64) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=32768k,mode=755,inode64) devtmpfs on /dev type devtmpfs (rw,relatime,size=8192k,nr_inodes=1995831,mode=755,inode64) /dev/mapper/cryptvg-root on / type ext4 (rw,noatime) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,inode64) cgroup_root on /sys/fs/cgroup type tmpfs (rw,relatime,size=8192k,mode=755,inode64) cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset) cpu on /sys/fs/cgroup/cpu type cgroup (rw,relatime,cpu) cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,relatime,cpuacct) blkio on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio) memory on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory) devices on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices) freezer on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer) net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,relatime,net_cls) perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event) net_prio on /sys/fs/cgroup/net_prio type cgroup (rw,relatime,net_prio) pids on /sys/fs/cgroup/pids type cgroup (rw,relatime,pids) misc on /sys/fs/cgroup/misc type cgroup (rw,relatime,misc) cgroup on /sys/fs/cgroup/elogind type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib64/elogind/elogind-cgroups-agent,name=elogind) tmpfs on /run/user/1001 type tmpfs (rw,nosuid,nodev,relatime,size=1598624k,nr_inodes=399656,mode=700,uid=1001,gid=1001,inode64)
- NekkoDroid 2y agoHmm, I see it's not a systmed based distro. I see a lot of mounts within /sys/fs/cgroups that my system doesn't have (still has stuff populated in it). From what I see yours has cgroup_root mounted there while systemd mounts cgroups2 there. When you remove all subdirectories/mounts in that folder you have a total of 8 mounts, which is 1 more than OpenBSD. Do note that systemd mounts a lot of other stuff though that isn't mounted on your system (e.g. bpf, a few tmpfs for service credentials, autofs for keeping /boot and /efi unmounted by default [reason: VFAT is relativly brittle, so only mount when needed] and a lot more kernel fs'). This is on a relativly bare Arch image but I don't think there are a lot more mounts to add after the base system.
- jmclnx 2y agoYes, that system is Slackware. They usually keep defaults as is unless there is a security issue. It is up to the user to change.