-
__sbrk
evening, morning, or afternoon, depending on your physicality
-
rwp
It's always UGT on the net. Good morning. Your nick makes me want to malloc(); :-)
-
__sbrk
Q: arm/BeagleBoneBlack purports that 13.3-R boots on the BBB, but no pre-built images are in the ftp area for it. The release notes say it is no longer supported. Does anyone have a pointer to cross-compile instructions when the host is another fbsd box?
-
__sbrk
(I love my BBGreens and FreeBSD. Sad to see that the OMAP 32-bit stuff is going unsupported in the next major version(s))
-
__sbrk
rwp: exactly. I'm old school.
-
__sbrk
I'm a bit new to cross-compiling the entire world from the desktop box to an embedded target of a different arch, but I do this for userland stuff during my day job. I expect that there is a nice webpage (or readme) somewhere that I haven't yet found
-
rwp
Me too! Unfortunately I have no information for you on the BBB image. Hopefully someone else will know something. If no one knows anything
wiki.freebsd.org/IRC/Channels says there is an #freebsd-embedded channel so maybe there?
-
__sbrk
quite possibly, thanks!
-
Rue
question. so i tried mounting a ext4 linux drive with mount -t ext2fs with uid=1001 and that complained about the uid. without the uid option it mounted fine but the ownership remained 1000, so i then tried to use fusefs-lkl with lklfuse -o type=ext4,rw,uid=1000 and now the process is just frozen :\
-
Rue
oops typo, it's with the uid=1001 option
-
Rue
but ya process is just frozen, can't even umount it
-
nerozero
Hi there
-
nerozero
I'm trying to make an image and partition it here is my steps: truncate -s 100M img && mdconfig -a -t vnode -f img -u 100
-
nerozero
then when I'm trying to partition it, ghart shows and error: gpart destroy -F /dev/md100 -> gpart: arg0 'md100': Invalid argumen
-
nerozero
any other command on the md100 cause the same error
-
nimaje
you have to give gpart a geom, not a path, so just md100 not /dev/md100
-
jmnbtslsQE
nerozero: maybe it's just because you have not yet called gpart create on it yet? you have tried something like gpart create -s gpt md100?
-
jmnbtslsQE
hmm, when i try it, before running gpart create i have invalid argument for destroy only, not for other commands.
-
jmnbtslsQE
does the file already have a table on it?
-
jmnbtslsQE
ah no i see you have just created the file. then "invalid argument" is expected if you try to destroy it, but "gpart create" should work...
-
nerozero
jmnbtslsQE, weird
-
martinrame
Hi!, after upgrading to 14.1 I no longer can open graphical apps from /compat/linux. This is the error I'm getting: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
-
martinrame
BTW, I'm on XFCE4 on the host
-
CrtxReavr
What are the /usr/share/games/fortune/*.dat files? Like a binary index of each fortune file?
-
CrtxReavr
Hmmmm. . . found a non-answer in src/usr.bin/fortune/Notes
-
nmz
what's the answer?
-
CrtxReavr
Well, the non-answer is:
bpa.st/PLWA
-
CrtxReavr
OIC, the .dat files are created by strfile(8).
-
CrtxReavr
So I guess they are an index of sorts.
-
nmz
I just hexdumped freebsd-tips.dat and it seems to have the same amount of aphorisms in freebsd-tips
-
nmz
grep '^%$' fortune-file | wc -l # amount of fortunes in file
-
CrtxReavr
nmz, grep -c '^%$' fortune-file
-
CrtxReavr
Save the keystrokes!
-
nmz
bah
-
nmz
I'm pro pipes
-
nmz
but thanks, good to know
-
CrtxReavr
I'm pro-pipes too, when necessary.
-
CrtxReavr
Save the forking!
-
CrtxReavr
That better?
-
nmz
I mean, if I want to save the forking, I'd just switch to something else
-
nmz
I tend to prototype in shell
-
nmz
the less I know, especially of flags, the better
-
CrtxReavr
If I have a task where I can recycle my *nix CLI saavy in 100 lines or less, I'll write a shell script. . . if it takes more than that, I whip out Python.
-
CrtxReavr
heh
-
CrtxReavr
I say that, but sometime, in the moment, I start something I think will be a quick & easy couple of piped commands, and end-up with a stupidly epic one-liner.
-
nmz
it all depends really
-
nmz
not even python can beat grep
-
nmz
or rg
-
nmz
so if the entire pipe can take care of everything great, its when you constantly fork that it all goes to hell
-
nmz
-
Demosthenex
nmz: i'd have added cat before your grep ;]
-
Demosthenex
i don't respect forks
-
Demosthenex
i build code left to right.
-
Demosthenex
cat file | over <file any day
-
tuaris
It shouldn't be this complicated to get the primary IP of a system. Does such a tool exist in the base system for this common task? ... IP_ADDRESS=$(ifconfig $(netstat -4rn | grep ^default | sed "s/.* //") inet | awk '$1 == "inet" {print $2}')
-
tuaris
and that will probably only work for the most simplest setups :)
-
greybeard
That says freebsd-rustdate is a reimplementation, not a fork.
-
rtprio
tuaris: the problem is that 'primary' is not well defined
-
mccd
Has anyone figured out a way to get change the boot colors on v14.1 to a OpenBSD style blue background with white text for kernel messages? It seems the TERMINAL_KERN_ATTR option mentioned in vt(4) no longer works :/
-
greybeard
-
greybeard
> This will give us all a good chance to show other people whether we’re hip and trendy, or old and grumpy.
-
kevans
mccd: try teken.{fg,bg}_color in loader.conf, maybe
-
kevans
the problem sounds familiar
-
polarian
kevans: fourth times the charm, turns out I managed to mess up the config 4 times, even though I did it first time on my phone... don't question how... but I think its something to do with tons of ambigious base64 strings which causes you to mix them up
-
nmz
Demosthenex: that would be redundant KILL WITH FIRE
-
nmz
greybeard: the fork problem is in freebsd-update doing lotsa forks on a while loop that makes it take 20 minutes
-
nmz
s/problem/point/
-
polarian
is there a way to adjust route priorities?
-
polarian
reconnect
-
polarian
oops
-
nmz
tuaris: I mean, why have more command when less do?
-
polyex
so we can't have multiple sysctl config files? we can have /etc/rc.conf and /etc/rc.conf.d/*, but we only got /etc/sysctl.conf and .local, no /etc/sysctl.conf.d/*?
-
CrtxReavr
Hate to have to ask a vi question, but how do you get to the end of a line besides shift-A?
-
CrtxReavr
Oh duh. . .
-
CrtxReavr
nevermind.
-
CrtxReavr
^ and $ aren't just for regex.
-
the_oz
-
the_oz
polyex, For kernel modules loaded via rc.subr(8) system, additional module-spe-
-
the_oz
cific settings can be applied by adding a file in the same format named
-
the_oz
/etc/sysctl.kld.d/<modulename>.conf.
-
the_oz
ugh.
-
the_oz
there's also .local.