-
markmcb
This week marks 6 months on FreeBSD for me. It's been such a positive experience. My gratitude to everyone smarter than me who brings this OS to life. Congrats on 14! :)
-
» jb1277976 has been on freebsd for three days on 13.2 lol
-
» rwp has been on FreeBSD since January 2020 (had to look at the install log) and has also been a very positive experience
-
BillyJoeBob
Anyone here use RawTherepee?
-
» parv has not used RawTherapee since ~2017
-
jb1277976
anyone have issues with simple-scan ? installed it via pkg and it won't find any scanners. don't i need a backend or something ?
-
luna-
sane
-
jb1277976
sane-backends-1.2.1_2 API for accessing scanners, digital cameras, frame grabbers, etc
-
jb1277976
found this
-
uskerine
Hi, I would like to try the Jails for first time, I have read the handbook. It begins saying to enable the jail with sysrc jail_enable="YES".
-
uskerine
It is my understanding that such command is to enable jail at boot time, can I just run on demand?
-
tercaL
uskerine: service jail onestart will help you start jail service on demand even if you don't have "jail_enable" in your rc.conf
-
uskerine
tercaL thanks
-
nimaje
uskerine: most of the handbook seems to use the jail service to manage jails, but
docs.freebsd.org/en/books/handbook/jails/#creating-linux-jail shows a bit how to do it manually (jail command and jexec) but it is mixed with that linux stuff there, the man pages are probably a better place, if you want to manage jails manually, if you want to use the jail service follow the handbook
-
VimDiesel
Title: Chapter 17. Jails and Containers | FreeBSD Documentation Portal
-
uskerine
I have read the handbook and it seems to cover everything I need (but I might be missing something). So far I am just interested in splitting some programs I am developing into different jails to simulate that they are on different servers
-
nimaje
seems like your choice if you want to manually run the jail commands or use the jail service, I don't see a clearly better choice for that one-off usecase
-
uskerine
I want to launch and terminate them manually, as it is a development environment
-
nimaje
service jail {start,stop} <jail name> (or with one* if you don't want to enable the service) as the handbook tells you too
-
souji
or you can just use jail -c <id> and jail -r <id> to start and stop jails
-
uskerine
thanks nimake souji
-
uskerine
nimaje
-
gustik
hey folks, anyone an idea how is firewalld from linux tracking compared to pf firewall? because pf firewall can be adjusted if tracking is per source or per rule, but I do not see such adjustment on firewalld richlanguage
-
entikan
what is a nice minimalistic (as in writing) compiled programming language that doesn't require build systems?
-
entikan
I kind of like nim but it doesn't scale very well
-
babz
lol
-
entikan
just write C?
-
nimaje
what counts as a build system for you? and what are your goals with it?
-
entikan
nimaje: I mostly program interactive 3d graphics. With a build system I mean make/cmake/GENie/Meson/etc.
-
remiliascarlet
entikan: "what is a nice minimalistic (as in writing) compiled programming language that doesn't require build systems?" C.
-
entikan
C doesn't require a build system if you don't mind only doing clean builds and remembering a very long string of flags :P
-
entikan
but yes, C is top bill atm...
-
babz
Like every programming languages
-
remiliascarlet
If you want no build system, you could take a look at PHP, but that's not a compiled language.
-
entikan
I also don't really like the concept of header files
-
nimaje
well, most compilers can be run directly, so about no language requires a build system
-
remiliascarlet
C doesn't require a build system either, but it's good to use Makefiles if you don't want to type out long compile commands.
-
remiliascarlet
But to me, Cmake/Meson/Ninja/whatever is just too much bloat.
-
nimaje
and why focus on the build system part and not on what you want to archive with the language and use whatever tooling normally is used with the language when you decided on one?
-
remiliascarlet
Like how ThePrimagen once said "you wanna learn the magical language of C++? How about we learn CMAKE!!" "ha? What is Cmake?" "CMAKE MAKES MAKE...FILES!!" "ha? What is a Makefile?" "MAKEFILES MAKE THE PROJEEEEEEECT!!" "WHAT THE FUCK!? HOW DID WE GET THERE!?"
-
remiliascarlet
From the video where he reacts to a video about whether or not you should learn C++ in 2023.
-
babz
what's wrong with cmake ?
-
nimaje
the problem with cmake is mostly badly written cmake files, but …
-
thedaemon
lol
-
scoobybejesus
i have a system running zfs mirror since 12.1-RELEASE, and i finally dug around and confirmed that there have been no scrubs since i didn't have daily_scrub_zfs_enable="YES" in rc.conf. fortunately, scrub repaired 0B with 0 errors. phew
-
CueXXIII
daily scrubs seem a bit overeager…
-
scoobybejesus
yeah, and i think that's why i didn't enable it before. but it seems to be a misnomer. it should be periodic_scrub_zfs_enable. the default is set to every 35 days, and i left it at that
-
nimaje
iirc, it stands for a periodic-daily script and you can configure the interval somewhere else and it has to be a daily script so that it allows something that isn't a muliple of a week (the next possible value for periodic or something)
-
scoobybejesus
the settings to enable and the days (threshold) are both in /etc/defaults/periodic.conf, and i guess the overrides for both would go into /etc/rc.conf
-
scoobybejesus
i should probably give the handbook another skim
-
tercaL
There is: daily_scrub_zfs_default_threshold="15" (I set it once in 15 days)
-
tercaL
in /etc/periodic.conf
-
babz
the manpage says
-
babz
"systemctl enable zfs-scrub-weekly⊙rt --now"
-
nimaje
"systemctl"? which man page are you reading?
-
babz
FreeBSD 14.0-RELEASE
-
babz
:D
-
babz
zpool-scrub(8)
-
remiliascarlet
babz: "what's wrong with cmake ?" Imagine having a language and a compiler, and that's literally all you need, and yet you need a tool that generates a script that for a tool that generates a script to compile a program written in the very language that doesn't need it.
-
remiliascarlet
Just take any average well known C program, look at how many tools it goes through until you finally get a binary, and how long it takes to even get there, compared to a Suckless program written in C that only uses Makefiles, and how quickly these get compiled.
-
tercaL
systemctl??
-
tercaL
-
VimDiesel
Title: systemctl
-
nimaje
writing a good makefile is hard and gets harder when your program gets more complex
-
remiliascarlet
nimaje: ""systemctl"? which man page are you reading?" ChatGPT I think. "How do you restart relayd on OpenBSD?" "Just execute systemctl restart relayd." "Seriously..."
-
remiliascarlet
nimaje: Avoid making it too complex then. Keep it simple, stupid!
-
nimaje
tercaL: that section starts with "On machines using systemd,"
-
babz
-
VimDiesel
Title: src - FreeBSD source tree
-
tercaL
zpool-scrub(8) probably was taken from Solaris
-
tercaL
the manpage text - I mean/guess
-
sphex
hmm. I just did an install with FreeBSD-14.0-RC4-amd64-zfs.qcow2, and the partitions appear to not be aligned in the image.
dpaste.org/WkGRx
-
VimDiesel
Title: dpaste/WkGRx (Plain Code)
-
nimaje
hm, I guess that commit comes from openzfs
-
rtprio
does anyone run openbsd on bhyve?
-
rtprio
and does it work?
-
ppbitb
I just freebsd-update fetch then install then rebooted and system is now on 13.2-RELEASE-p5 but my installed and running kernel is still p4, what's going on?
bsd.to/8B9R
-
VimDiesel
Title: dpaste/8B9R (Plain Text)
-
nimaje
ppbitb: did the update change the kernel? what does freebsd-version -u say? (kernel and userland versions don't have to match, if the kernel doesn't change the version doesn't change as well)
-
ppbitb
hanks nimaje. freebsd-version -u returns 13.2-RELEASE-p5.
-
ppbitb
*thanks
-
ppbitb
I don't think the kernel was listed in the files that would be impacted by the update
-
ppbitb
I am not 100% clear on why I wouldn't have the p5 kernel
-
nimaje
there probably is no p5 kernel, those last few SAs and ENs seem to be just userland stuff
-
souji
yeah I think the update was mainly because of some libc issue
-
ppbitb
Ok thank you for the explanation. Out of curiosity I was looking for a list of packages changed in p5 to confirm the kernel was not part of it but I am not finding, but that's fine
-
bravosavo
Hi! Noob here! Anyone have a resource for how to set up a UEFI Dualboot of Windows 10/11 with an encrypted Root-on-ZFS Freebsd partition?
-
bravosavo
-
VimDiesel
Title: [UEFI/GPT] [Dual-Boot] How to install FreeBSD (with ZFS) alongside another OS (sharing the same disk) | The FreeBSD Forums
-
bravosavo
but it doesn't at all talk about enabling encryption
-
nimaje
I think you just need to create a geli partition and then create the zpool into that, but not completely sure
-
nimaje
-
VimDiesel
Title: MasonLoringBliss/ZFSandGELIbyHAND - FreeBSD Wiki
-
bravosavo
That looks helpful
-
bravosavo
Thank you nimaje
-
bravosavo
Do you happen to know how I could integrate these instructions with the tutorial from the FreeBSD forums I posted?
-
nimaje
look what it does with geli for encryption and read the man pages and other docs
-
bravosavo
I apologize for my ignorance, but I think such a tutorial in general could be very helpful. If I am able to figure it out, I may try and write something up.
-
bravosavo
Fair enough. I will try that. If someone else has more concrete experience, I'd greatly appreciate them sharing it in the meantime :)
-
babz
create the geli partition, then use partX.eli instead of partX for you zfs dataset