r/linuxmint • LMDE7 Cinnamon • 1d ago

Why did Mint add a /proc entry in fstab?

# <file system>                            <mount point>            <type>  <options>               <dump>  <pass>
proc                                       /proc                     proc    defaults                0       0

So there is a folder /proc in Linux, "everything in Unix is a file", within /proc these virtual files are not on disk but instead actually processes running in the kernel.

https://docs.kernel.org/filesystems/proc.html

From what I can find the system should automatically mount /proc without the need of an fstab entry for it.

When LMDE7 released last year we got a /proc entry in its default fstab, no such entry was in LMDE6, or Mint22, nor does its base parent Debian13 have a proc entry in fstab, but regardless Debian13 still has a /proc directory when booted.

This evening I made a test install of Mint27, and it too now has a proc entry in fstab.

Does anybody have any idea why Mint has started adding this? Does Ubuntu 26.04 have such an entry?

I have just left it alone in LMDE7, when it is time to blow up the beta install maybe I will pull it and see what happens.

3 Upvotes

11 comments sorted by

3

u/Due-Result7928 1d ago

/proc and /sys were in fstab before and there is no reason now with modern kernel

3

u/_Lost-In-The-Weeds_ LMDE7 Cinnamon 1d ago

Agreed, so why is Mint adding this?

2

u/skozombie Linux Mint 22.3 Zena | Cinnamon 1d ago

Compatibility with some random tool? Safety net? Force of habit from an older dev?

Things have changed so much from 2.x days. Some obscure old app might need it. Remove it if it bothers you.

2

u/jr735 Linux Mint 22.1 Xia | IceWM 1d ago

Debian itself, even Debian testing, isn't doing this.

3

u/_Lost-In-The-Weeds_ LMDE7 Cinnamon 1d ago

Exactly, so why is Mint doing so in both of their distributions now? its a nothing line berried in a config file but my lack of understanding of why it is there bothers me. its a file I am in a lot.

2

u/jr735 Linux Mint 22.1 Xia | IceWM 1d ago

I really can't say. It's worth an ask on the Mint forums, perhaps. I'll have to take a look at my Mint install, and I could check my Trisquel one, too, see if it's an Ubuntu thing or what.

2

u/_Lost-In-The-Weeds_ LMDE7 Cinnamon 14h ago edited 13h ago

It appears there may be a fix inbound. 

Apparently the source of this entry is the LMDE installer, which makes sense in hindsight, fstab is a locally generated file during installation. I should have thought of that. 

The LMDE installer is now the Mint installer on Mint27

https://forums.linuxmint.com/viewtopic.php?p=2845952

2

u/jr735 Linux Mint 22.1 Xia | IceWM 13h ago

I guess that answers it all.

2

u/AJMM10 1d ago

Has pensado en preguntarlo en el foro?, o con los programadores

1

u/_Lost-In-The-Weeds_ LMDE7 Cinnamon 13h ago

Have you thought about asking on the forum, or checking with the programmers?

Yes to both, kinda, I did not bug the devs on this but did look through git hub and a change is apparently already inbound, link in this thread.