-
linext
does freebsd support usb ethernet adapters?
-
RhodiumToad
yes
-
mason
meena: There was an interesting article on AI models today on SlashDot:
slashdot.org/story/23/06/13/2057209…s-ai-trains-on-ai-generated-content
-
VimDiesel
Title: Researchers Warn of 'Model Collapse' As AI Trains On AI-Generated Content - Slashdot
-
last1
ai must be the most (incorrectly) abused of 2023
-
last1
abused *word
-
mason
acronym
-
mason
but yeah
-
whoami
hello - i'm trying to find some magic numbers. specifically, FIODGNAME on arm64 freebsd...
-
whoami
-
VimDiesel
Title: taptun/taptun_freebsd_386.go at master · pkg/taptun · GitHub
-
whoami
but i'm not sure where they came from
-
whoami
-
VimDiesel
Title: taptun/taptun_freebsd.go at master · pkg/taptun · GitHub
-
RhodiumToad
it seems to be defined in /usr/include/sys/filio,h
-
RhodiumToad
/usr/include/sys/filio.h
-
RhodiumToad
I'm not sure why that code isn't using fdevname(), but whatever
-
grahamperrin
To anyone who subscribes to the freebsd-current list: did you receive my email with the following title?
-
grahamperrin
> Directory 1002/ missing from /var/run/user/
-
angry_vincent
Yes.
-
grahamperrin
Oops that was an old draft message, just resent …
-
angry_vincent
i have Directory 1002/ missing from /var/run/user/ without >
-
angry_vincent
is this fine?
-
grahamperrin
angry_vincent: did you receive (via the list) two emails with the same subject line? I can see replies to the second. The first one had a screenshot
-
angry_vincent
i received only 1 email
-
grahamperrin
-
VimDiesel
Title: freebsd-current⊙Fo
-
grahamperrin
-
VimDiesel
Title: 268719 – Inform the sender when an email to a FreeBSD list is rejected
-
whoami
RhodiumToad: i don't think go has an fdevname in stdlib, so it'd probably require a bit of cgo?
-
whoami
i'm unclear on how to interpret this - #define FIODGNAME_32 _IOC_NEWTYPE(FIODGNAME, struct fiodgname_arg32)
-
whoami
hmm, looks to be the same on arm64 as amd64. i compiled a test program to print it out
-
grahamperrin
-
VimDiesel
Title: gist:1fca3daeb7dc625b94d373a21ff51da5 · GitHub
-
RhodiumToad
see sys/ioccom.h for how the macros work
-
RhodiumToad
whoami: ^^
-
RhodiumToad
whoami: specifically, FIODGNAME is defined as _IOW('f', 120, struct fiodgname_arg) which means command 120 of group 'f', passing sizeof(struct fiodgname_arg) bytes into the kernel
-
parv
Does anyone know if there is some Perl|Python module with a better access via C|C++ API than me executing "sysctl" to read|set various MIBs?
-
meena
-
VimDiesel
Title: GitHub - gronke/py-freebsd_sysctl: Native FreeBSD Sysctl bindings for Python 3
-
parv
meena, Thanks much. What do you mean by "still don't bugs tho"?
-
meena
that's just for get, not set :(
-
meena
-
VimDiesel
Title: Issues · gronke/py-freebsd_sysctl · GitHub
-
parv
That is still improvement over what I had
-
» yuripv fails to parse "still don't bugs tho"
-
meena
gronke/py-freebsd_sysctl #20 actually, this is the only bug
-
VimDiesel
Title: Sysctl.value is truncated for some structures · Issue #20 · gronke/py-freebsd_sysctl · GitHub
-
VimDiesel
-
meena
yuripv: but, if you add setting of values, I'll prod groenke to merge it
-
meena
(we're in contact via signal)
-
parv
No wonder I could not find "py-freebsd-sysctl" via "pkg search -x [-c] mib". Oh, look at that! "pkg search -x sysctl" brought also a Perl module too (p5-BSD-Sysctl)!
-
parv
Sorry too many toos
-
parv
meena, What is blocking work|progress on "set" functionality?
-
parv
(mind I am curious; cannot develop that for lack of both knowledge, interest in non-Python side of Python)
-
meena
parv: it wasn't needed so far, so nobody has implemented it
-
parv
meena, Ah, ok. Thanks much
-
danel1
Hey there :) OpenSSL 1.1.1 - which is the default for the latest RELENG-Releases - is soon going to be end of life. The RELENG-Releases are longer supported then OSSL 1.1.1. What are the plans for these releases and FreeBSD 13 in general? Will OSSL 3.0 get backported?
-
debdrup
OpenSSL 3 almost certainly won't get backported, since it'd break POLA.
-
debdrup
As for what'll become 14-STABLE, there's at least one mailing list thread on it, that should answer most of your questions.
-
debdrup
-
VimDiesel
Title: Version of OpenSSL included in upcoming 14.0-RELEASE
-
debdrup
-
VimDiesel
Title: OpenSSL 3.0 for 14.0-RELEASE: issues with 1.x/3.x symbol clashing, ports linking against base OpenSSL, ports that don't compile/link against OpenSSL 3, etc
-
debdrup
s/abd/and/
-
debdrup
-
VimDiesel
Title: Delay in 14.0-RELEASE cycle and blocking items
-
danel1_
Thanks debdrup for the links. I'll take a look at them!
-
debdrup
No worries.
-
alian5687
hello all! Can I use the "discard" option in fstab for the root filesystem and the swap partition like I do on linux? Thanks in advance!
-
alian5687
I found nothing in fstab man page
-
alian5687
...
-
CmdLnKid
then its not available
-
alian5687
CmdLnKid: heck nothing in man mount either...
-
CmdLnKid
thats an ext4 only option if i understand it correctly. not sure why you could think its neccesary here
-
alian5687
CmdLnKid: nothing equivalent? does fsck_ffs -E / trim the partition when mounted, my tests haven't been conclusive so I can't really confirm...
-
CmdLnKid
im'a ufs as root(/) zfs for every other writable area kinda guy with spinning disks for / and a variety of disks for everything else so i may not be best to answer that
-
alian5687
CmdLnKid: spinning disks here too. One needs to trim virtual machines disks from the OS running in the vm in order to save space. FreeBSD running in a VM using ufs and backed by a zfs dataset used as raw disk on the proxmox host
-
CmdLnKid
ah i see what your getting at there
-
alian5687
CmdLnKid: well, writing zeros to free space would work too, at least if you have zfs compression on :)
-
CmdLnKid
lol
-
tmtt
Hi! I'm my C library using bmake's bsd.lib.mk
-
tmtt
oops
-
tmtt
2s
-
tmtt
So, I'm making a C library and building it using bmake's <bsd.lib.mk> include and I noticed that - when using the install target - it copies all .a files to /usr/local/lib. Is there a way to install only the shared object (like `libtest.so.1.3') to /usr/local/lib, without installing the rest? Thanks a lot in advance :)
-
tmtt
(I've read through the bsd.*.mk docs and tried to find something interesting in bsd.lib.mk particularly, with no luck)
-
temp64
gm
-
temp64
is there a way to speed up key repeat rate in the tty?
-
Demosthenex
temp64: in x?
-
yuripv
tmtt: try specifying SHLIB instead of LIB?
-
temp64
Demosthenex, no, I mean the non-X terminal
-
temp64
the one that meets me when I don't have any display managers running on boot :P
-
Demosthenex
are you on a serial console?
-
Demosthenex
temp64: kbdcontrol
-
temp64
that's what I was looking for, thanks
-
Demosthenex
so i need to check a running process, what's the alternative to linux's perf?
-
RhodiumToad
check it for what?
-
llua
what does perf do?
-
cpet
vmstat
-
cpet
-
VimDiesel
Title: FreeBSD perf stat equivalent | The FreeBSD Forums
-
Demosthenex
cpet: yeah, that was a deadend
-
Demosthenex
-
VimDiesel
Title: Linux perf Examples
-
Demosthenex
trying to find what C functions a running process is spending time in
-
Demosthenex
so runtime profiling
-
cpet
Dtrace then
-
Demosthenex
dtraceis show syscalls
-
cpet
I'm sure you can Google something then
-
Demosthenex
yeah, trying to get symbols from emacs.
-
Demosthenex
so how can i tell a port not to strip debug data?
-
cpet
Edit the makefile and rebuild
-
CrtxReavr
Does our /bin/sh only supports a login config file, not an execution config file, akin to .bashrc, correct?
-
cpet
You can exe shit in the config
-
xtile
CrtxReavr: look for the mentions of the "ENV file" in the man page
-
xtile
you can have something like .bashrc with any name you want
-
xtile
the man page uses .shrc as an example, but it's just an example
-
RhodiumToad
Demosthenex: there's a WITH_DEBUG flag in the framework (I think that's the right name)
-
Demosthenex
RhodiumToad: nice
-
RhodiumToad
Demosthenex: WITH_DEBUG=yes will enable debug symbols for all ports, WITH_DEBUG_PORTS="foo/bar ..." will enable it for specific ports
-
RhodiumToad
of course this assumes that the port makefile is written according to project standards
-
Demosthenex
well, its emacs ;]
-
tmtt
yuripv: I'll try that
-
cpet
Used to run erc in emacs that was fun
-
foxiepaws
weechat.el was my favourite way to pretend to work back in the day >_>
-
debdrup
-
VimDiesel
Title: DebuggingPorts - FreeBSD Wiki
-
Demosthenex
debdrup: ty!
-
tercaL
-
markmcb
yep, i get a 526 error
-
grahamperrin
It's been like it for a couple of weeks or so, I think
-
markmcb
i'm on day ~25 of freebsd now. really liking it (headless server). is there any sort of user-contributed documentation aside from the forums? i feel like the excellent man pages and handbook would be complimented nicely with a few use case oriented docs. trivial example, i found sesutil quite by chance in a forum, but i could see that being a key callout for a "headless NAS" guide, which i imagine
-
markmcb
might flow quite different than a "gnome laptop" guide (which would have no need to mention such a utility)
-
meena
markmcb: there's a quite disorganised mess in the wiki, and then there's just plain old blogs
-
meena
but, if there's anything we can do to make man pages better discoverable that would be great
-
markmcb
yeah, the wiki seems like it doesn't know what it wants to be
-
markmcb
exactly, i think a practical guide(s) that directly connects to man pages would be super useful
-
markmcb
especially for someone new
-
markmcb
i'd be up for hacking on docs like this, but doesn't seem like there's a home for it