Why so many mounted file systems in MX  [Solved]

Message
Author
User avatar
LinuxSpring1
Posts: 274
Joined: Sun May 05, 2024 8:57 am

Why so many mounted file systems in MX

#1 Post by LinuxSpring1 »

I was just going through the mount points and found that there are about 17 mount points in a typical MX Linux. Please see the details given below. Why does MX need to have so many mount points in a running system? Can these be reduced? For example the portal, systemd, pstore, devpts, and a few tempfs should not even exist.

I am running MX Linux 23.3 with KDE plasma 5 and Kernel 6.1.0-23-amd64

Code: Select all

$ mount -v --types tmpfs,cgroup,pstore,efivarfs,securityfs,devtmpfs,proc,sysfs,fuse.portal,rpc_pipefs,devpts  | wc -l
17
$
$ mount -v --types tmpfs,cgroup,pstore,efivarfs,securityfs,devtmpfs,proc,sysfs,fuse.portal,rpc_pipefs,devpts 
sysfs 		on /sys					type sysfs 	(rw,nosuid,nodev,noexec,relatime)
proc 		on /proc				type proc 	(rw,nosuid,nodev,noexec,relatime)
udev 		on /dev					type devtmpfs  (rw,nosuid,relatime,size=8030812k,nr_inodes=2007703,mode=755,inode64)
devpts 		on /dev/pts 				type devpts 	(rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000)
tmpfs 		on /run					type tmpfs 	(rw,nosuid,nodev,noexec,relatime,size=1615012k,mode=755,inode64)
tmpfs 		on /run/lock				type tmpfs 	(rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
securityfs 	on /sys/kernel/security 		type securityfs (rw,relatime)
efivarfs 	on /sys/firmware/efi/efivars 		type efivarfs 	(rw,relatime)
pstore 		on /sys/fs/pstore 			type pstore 	(rw,relatime)
tmpfs 		on /dev/shm 				type tmpfs 	(rw,nosuid,nodev,noexec,relatime,size=8472900k,inode64)
rpc_pipefs 	on /run/rpc_pipefs			type rpc_pipefs (rw,relatime)
cgroup 		on /sys/fs/cgroup 			type tmpfs 	(rw,relatime,size=12k,mode=755,inode64)
systemd 	on /sys/fs/cgroup/systemd 		type cgroup 	(rw,nosuid,nodev,noexec,relatime,release_agent=/run/cgmanager/agents/cgm-release-agent.systemd,name=systemd)
tmpfs 		on /run/user/112 			type tmpfs 	(rw,nosuid,nodev,relatime,size=1615012k,mode=700,uid=112,gid=121,inode64)
tmpfs 		on /run/user/NNNN			type tmpfs 	(rw,nosuid,nodev,relatime,size=1615012k,mode=700,uid=1001,gid=1001,inode64)
tmpfs 		on /run/user/MMMM			type tmpfs 	(rw,nosuid,nodev,relatime,size=1615012k,mode=700,uid=1000,gid=1000,inode64)
portal 		on /run/user/MMMM/doc			type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

User avatar
DukeComposed
Posts: 1294
Joined: Thu Mar 16, 2023 1:57 pm

Re: Why so many mounted file systems in MX

#2 Post by DukeComposed »

LinuxSpring1 wrote: Tue Aug 27, 2024 6:39 am Can these be reduced?
It depends. If you want your system to be unusable, go ahead and start disabling things.
LinuxSpring1 wrote: Tue Aug 27, 2024 6:39 am For example the portal, systemd, pstore, devpts, and a few tempfs should not even exist.
Where, exactly, have you been told these mountpoints shouldn't exist? Post exact links if possible.

User avatar
Adrian
Developer
Posts: 8873
Joined: Wed Jul 12, 2006 1:42 am

Re: Why so many mounted file systems in MX

#3 Post by Adrian »

What's the proper amount of mount points? Also, I take it you never used Ubuntu or a system with snaps...

User avatar
Eadwine Rose
Administrator
Posts: 14449
Joined: Wed Jul 12, 2006 2:10 am

Re: Why so many mounted file systems in MX

#4 Post by Eadwine Rose »

The first thing that came to my mind when I read the title was "Why do we have so many fingers on our hands, two will do".


;)
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

ThemetresAtrometos
Posts: 26
Joined: Fri Jun 14, 2024 4:08 pm

Re: Why so many mounted file systems in MX

#5 Post by ThemetresAtrometos »

Do you have any performance or other problems and after research you concluded that the mount points is the reason?

User avatar
dolphin_oracle
Developer
Posts: 22035
Joined: Sun Dec 16, 2007 12:17 pm

Re: Why so many mounted file systems in MX

#6 Post by dolphin_oracle »

Why does MX need to have so many mount points in a running system? Can these be reduced? For example the portal, systemd, pstore, devpts, and a few tempfs should not even exist.
I think the actual answer is

no, you cannot remove them and they are correct as is.

possibly you could remove the portal one, but apps using various forms of sandboxing will likely stop working. removal of xdg-desktop-portal will probably remove it, of course along with anything that depends on xdg-desktop-portal.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
siamhie
Global Moderator
Posts: 3219
Joined: Fri Aug 20, 2021 5:45 pm

Re: Why so many mounted file systems in MX

#7 Post by siamhie »

LinuxSpring1 wrote: Tue Aug 27, 2024 6:39 am I was just going through the mount points and found that there are about 17 mount points in a typical MX Linux.

MX-23.3 fluxbox (booted systemd). They all serve their purpose.

Code: Select all

mount | wc -l
32
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
Stevo
Developer
Posts: 14432
Joined: Fri Dec 15, 2006 7:07 pm

Re: Why so many mounted file systems in MX

#8 Post by Stevo »

And Mozart's music had so many notes...


Image
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
LinuxSpring1
Posts: 274
Joined: Sun May 05, 2024 8:57 am

Re: Why so many mounted file systems in MX

#9 Post by LinuxSpring1 »

Adrian wrote: Tue Aug 27, 2024 7:55 am What's the proper amount of mount points? Also, I take it you never used Ubuntu or a system with snaps...
No I have not used Ubuntu nor have I used snaps.
siamhie wrote: Tue Aug 27, 2024 12:25 pm
LinuxSpring1 wrote: Tue Aug 27, 2024 6:39 am I was just going through the mount points and found that there are about 17 mount points in a typical MX Linux.

MX-23.3 fluxbox (booted systemd). They all serve their purpose.

Code: Select all

mount | wc -l
32
What purposes are served by these mount points? IS there some documentation that I can refer to?

User avatar
Eadwine Rose
Administrator
Posts: 14449
Joined: Wed Jul 12, 2006 2:10 am

Re: Why so many mounted file systems in MX

#10 Post by Eadwine Rose »

I suggest starting with googling on mount points, and reading up a little on things, instead of asking us to be your google. Plenty to be found.
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

Post Reply

Return to “General”