Mounting proc in FreeBSD 14.3

I've been trying to mount proc for the MATE desktop environment in the latest release of FreeBSD. I've edited the /etc/fstab using vim (vi /etc/fstab) and mounted proc like it says in the guide but after doing so when starting lightdm, a warning message is displayed and the screen almost instantly goes blank. Does the proc line have to mounted in a specific way? I've mounted at the bottom of /dev/ada0p3?
mount.png
 
Your /etc/fstab isn't showing anything regarding /proc.

Code:
root@fbsd-test:~ # cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/gpt/efiboot0       /boot/efi       msdosfs rw,noauto       2       2
/dev/vtbd0p3            none            swap    sw              0       0
tmpfs                   /tmp            tmpfs   rw,mode=1777    0       0
proc                    /proc           procfs  rw              0       0
 
Your /etc/fstab isn't showing anything regarding /proc.

Code:
root@fbsd-test:~ # cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/gpt/efiboot0       /boot/efi       msdosfs rw,noauto       2       2
/dev/vtbd0p3            none            swap    sw              0       0
tmpfs                   /tmp            tmpfs   rw,mode=1777    0       0
proc                    /proc           procfs  rw              0       0
... can you explain me why you need those /proc and tmp lines to be added in fstab, and why are needed for to be mounted?

as i'm aware of there's no mention about that in handbook, and when these lines are mentioned, reasons for their role are fierily vague... 🤔

thanks! :)
 
can you explain me why you need those /proc
Java likes it, as do some applications. FreeBSD itself doesn't need or require it.
tmp lines to be added in fstab
I like putting /tmp on a memory filesystem, so everything's gone after a reboot. Memory filesystem is also way faster than actually putting it on disk, so it's also a bit of a performance boost in certain cases.
 
so i pull out my keyboard, and i pull out my glock
i dismount your girl and i mount /proc
---monzy, kill dash nine
 
... so, looks like wine need /proc specifically to be mounted?

i'm really unsure, i'm not familiar with any BSD, also, i came from Slackware linux... because i never really used any BSD OS, and a good friend of mine is trying to switch me to BSD for years! :))

there's a generic fstab, with some directories mounted for some various reasons, next to the (physical) drives... but looks like there's no "generic fstab file useful for things and stuff"...

i'm currently trying to setup wine, and linuxulator, because i want to play some games, and, well, FreeBSD is mainly a network OS, not a desktop OS, so, not really sure what i need to add or not...

right now, i had searched about that, and i stumbled on that page... not really sure if any BSD OS really need those entries...

side note, last time i used Slackware extensively, it was version 8, a lot of things doesn't yet existed at this time, after that, a lot of time i was away from linux, to return to Slackware two years ago, 15.0, next --current, next and update broke my system, so, i formatted and installed FreeBSD... ofc, my data drives wasn't! :))

so, i'm reading a lot of things, and try to solve various problems... in a way i'm not really familiar with!...

the only thing in your fstab i know what it means is
Code:
/dev/gpt/efiboot0       /boot/efi       msdosfs rw,noauto       2       2
looks like you mounted a loader of some sort, grub or anything... same for swap file... it's really curious, bsdinstaller created a swap for me, but no swap line in my fstab... why?... 🤔
 
... so, looks like wine need /proc specifically to be mounted?

i'm really unsure, i'm not familiar with any BSD, also, i came from Slackware linux... because i never really used any BSD OS, and a good friend of mine is trying to switch me to BSD for years! :))

/proc is actually much more important in linux than in FreeBSD.

. it's really curious, bsdinstaller created a swap for me, but no swap line in my fstab... why?... 🤔
That sounds unlikely, what does swapinfo say?
 
/proc is actually much more important in linux than in FreeBSD.


That sounds unlikely, what does swapinfo say?

actually i'm wrong, there IS a swap line in my fstab, sorry! :)))

looks like this... and there are a lot of backups from the initial fstab... let's say i have some old habits! :)

my current fstab looks like this:

Code:
# Device    Mountpoint    FStype    Options    Dump    Pass#
/dev/ada3p2    /        ufs    rw    1    1
/dev/ada3p1    /boot/efi        msdosfs    rw    2    2
/dev/ada3p3    none        swap    sw    0    0
/dev/ada2p1    /238gb        ufs    rw    1    1
/dev/ada1p1    /447gb1        ufs    rw    1    1
/dev/ada0p1    /447gb2        ufs    rw    1    1
/dev/nda0p1    /nvme        ufs    rw    1    1
# ====== linux fs pentru linuxulator =========
devfs           /compat/debian/dev      devfs           rw,late                      0       0
tmpfs           /compat/debian/dev/shm  tmpfs           rw,late,size=1g,mode=1777    0       0
fdescfs         /compat/debian/dev/fd   fdescfs         rw,late,linrdlnk             0       0
linprocfs       /compat/debian/proc     linprocfs       rw,late                      0       0
linsysfs        /compat/debian/sys      linsysfs        rw,late                      0       0
# ====== e nevoie de ele pentru copieri comode =========
/tmp            /compat/debian/tmp      nullfs          rw,late                      0       0
/home           /compat/debian/home     nullfs          rw,late                      0       0

yes, i decided to use debian stable, trixie,, not ubuntu... if it's really needed, i'd use linux mint, because i use a linux mint image as my rescue disk for years! :)))))))))

oh, and there's efi folder too... i forget about that!... :rolleyes:
 
Back
Top