00:11:26 rtprio: I figured it out, lsblk prints out one option and /dev/ufs/mylabel worked 00:11:45 I think glabel would produce /dev/label/mylabel instead 00:13:16 weirdly it didn't print diskid for this device though 00:14:01 i don't have any /dev/ufs/ 00:14:28 i also have /dev/diskid/disk-vgb12345r 04:13:59 ungoogled-chromium taking like 1000G virt memory normal? 04:15:27 sounds like a browser 05:16:57 hay anyone know if the wayland stuff works on alpha14? I'm stuck onthis part https://postimg.cc/yDkcnqTy 05:16:58 Title: capture05 1516 — Postimages 05:20:36 Too much is going in that image😵 05:21:07 But don't mind me as I cannot help wit Wayland issues 11:19:04 Hello guys, question about scripts 11:19:26 say I have a long running task, and infinite while loop 11:21:11 if I press ctrl+c to abort, it will hit the long running task and terminate it, but how to stop the general infinite loop ? 11:21:35 is there a way in CSH to catch previously pressed ctrl+c 11:41:33 In bourne-like shell, there is "trap"; perhaps csh has similar? 11:42:18 One would be catching the keyboard-interrupt signal 11:42:29 didn't found that in csh ( the thing that is run sh ) 11:42:52 parv, thanks for reply 11:43:21 just run process background and waiting for pid now 11:43:38 i guess its a kinda solution but ... 11:45:00 nerozero, What code do you have? 11:46:36 parv: csh is very limited wrt scripting. 11:47:48 meena, (I try my best to stay away) nerozero is the one in need of help. 11:48:04 nerozero: i love csh for interactive use, but it's no use for scripting 11:49:54 collecting ping statistics for certain amount of time and then stripping packet loss stats then building 11:50:28 parv, the csh is enough to do the most things I need, its fast and posix like 11:50:57 I care not for csh. Interactive or otherwise 11:51:25 going to fancy shamcy shells will prevent running things on the "stock" platforms 11:51:56 i'm kind of a posix oriented person :) 12:01:26 if you want posix, you want ksh, or sh. but definitely not csh. 12:02:22 meena, csh is a "stock" sh implementation in bsd, 12:02:43 no. csh is a stock csh implementation. 12:02:56 my idea is to make a script which will run on a fresh installed system or even on a life cd 12:03:19 and sh should be fine for that, especially if you need singal trapping. Or, like, functions. 12:04:47 run /bin/sh on a bsd 12:04:56 which shell it will be ? 12:05:09 echo $SHELL -> csh 12:05:29 @_@ 12:05:33 what's wrong with your system? 12:05:55 nerozero: That should never be the case. 12:06:23 on a live usb stick? from bsd? 12:06:35 Root's shell is csh, but that's not /bin/sh 12:06:38 could you please run now /bin/sh 12:06:40 to be fair, when i invoke it, it says $SHELL is /usr/local/bin/fish 12:06:47 so, I wouldn't trust $SHELL. 12:08:32 mason: since 14 (at least), root's shell is /bin/sh 12:09:35 maybe i'm wrong, but this is for ages bsd sh was a csh 12:09:47 now @13.2 12:10:23 what is your environment value of $SHELL when you run /bin/sh ? 12:11:32 anyway ... 12:11:53 this is ridiculous: env -i SHELL=/bin/sh sudo -H -iu meena /bin/sh 12:11:53 $ echo $SHELL 12:11:58 fish 12:12:13 LOL 12:12:34 anyway. ignore the SHELL variable. Focus on what's important. 12:12:44 sooo ... I guess this comes from user profile and set whule logging in 12:13:02 no idea where it's coming from, honestly 12:13:40 but it seems to work when i login as root, who has /bin/sh as shell. 12:13:53 sh really needs a -l option, for run a login shell 12:14:21 anyway I took to much time ... :) thank you for replies 12:19:16 nerozero: Yeah, confirmed, it's as we're saying. 12:19:34 thank you 12:20:35 nerozero: https://0x0.st/HLTq.jpg 12:21:00 * mason needs to clean his laptop. 12:21:50 mason, your word is pretty much enough 12:21:58 but thank you for testing that 12:22:14 y'all can also try to run something csh like in sh, or vice versa to see. The two shells have different syntax. 12:22:25 need to review my knowledge in this context 12:22:38 Oh, I didn't show $SHELL. 12:22:46 :) 12:22:52 csh is a shell *for* POSIX, not defined by POSIX. 12:23:11 anyway all my scripts had #!/bin/sh - so .... 12:23:27 The $SHELL variable doesn't change, but it's distinctly one or the other. Example with syntax emerging presently. 12:23:40 I had only a nameing issue in my mind, will modify that, :) 12:24:51 nerozero: Here, this is more definitive: https://0x0.st/HLTb.jpg 12:25:34 OH BLESS YOU !!!! ! 12:25:52 Now I know the issues of my errors with redirecting stderr ! 12:25:57 THANK YOU !!!!!!!!!!!!!!!1 12:26:22 That was an overkill ! 12:28:19 Nah, if it was useful I'm glad. 12:28:41 It was very useful! 12:28:47 Incidentally, that's the only reason why I don't use csh - I've got sh syntax embedded in my brain, and I have to stop and think how to do things in csh too actively. 12:30:14 I actually use bash as a user shell because it lets me mix vi-mode and emacs-mode interactions seamlessly, but I *never* use bashisms, just pure sh. 12:30:29 (Sometimes I use a variant of ksh, also.) 12:33:02 mason, re: c?sh, 🤝🏽 12:35:03 * meena uses fish because she can't type and fish tells her when she's wrong 12:36:40 I've thought about zsh, but it doesn't interweave vi and emacs mode stuff the way bash (or, readline) does. 12:39:15 meena, r u girl ? 12:39:41 nerozero: i'm 39 years old. I'm def not a girl. 12:39:50 :) 12:40:01 fish - she... ok 12:40:12 zsh is very slow and laggy 12:40:19 I prefer fish too 12:40:37 just for things like: cd /u/l/e/namedb ... 12:41:08 and awesome context support withoutdoing modification 12:44:41 now lets see if i can get back into hacking on virtio, or at least its documentation 13:14:24 me fighting with ISP... 14:28:01 hrm, i'm trying to get factorio headless server (for linux) running in a freebsd jail with linux compat enabled. i'm seeing missing libs. https://dpaste.org/qQSX2/raw 14:28:02 any ideas? i'd really prefer to keep a freebsd jail rather than setup an ubuntu jail 14:29:09 that seems like an issue with that particular Linux distro copy, which distro is that? 14:29:36 i do have linux_base-c7-7.9.2009_1 installed 14:29:51 its a linux binary, in a freebsd jail with linux binary compatability enabled 14:29:55 I'm running stable/13 with Ubuntu 22 in a jail 14:30:08 yes, i'd just prefer not to make a debian or ubuntu jail 14:30:26 linux_base-c7-7.9.2009_1 is probably centos, can't help with that 14:32:47 Demosthenex: Hm, I recall that Factorio stopped working on EL7 because it wanted (arbitrary) a newer glibc. 14:33:05 Demosthenex: They had no need for it, so it was arbitrary breakage for lots of players. 14:33:24 I imagine you'll have to move to something else as your Linux base for that jail. 14:33:47 yeah, i'm pretty sure i can get it working if i make a debian jail 14:33:47 antranigv has a nice guide for setting up Devuan in a jail. 14:34:07 just trying to stay native ;] 14:34:30 People report Debian working, but it must have been with systemd, as Debian with sysvinit glitches on debootstrap install. 14:37:55 *puke* 14:38:04 on my last homeserver, i ran devuan 14:38:07 and i had to doctor up the glibc 14:38:13 but that was due to devuan being old i thought 14:38:33 i'm hoping a thin debian or ubuntu jail won't be too bad :P 14:46:33 https://www.adyxax.org/blog/2022/11/13/running-a-factorio-server-in-a-linux-jail-on-freebsd/ that's a decent one 14:46:34 Title: Running a Factorio server in a linux jail, on FreeBSD | Yet Another SysAdmin Website 14:47:08 though i'll let bastille do all the work of setting up a linux jail 14:52:47 meh, i'll setup a ubuntu focal jail i guess 14:56:35 When is it necessary to use net/intel-*-kmod instead of the corresponding driver in the base? 14:59:30 Demosthenex: There's a new Devuan released yesterday fwiw. 14:59:36 based on Debian bookworm, so quite new 15:01:03 mason: yeah, it seems bastille only supports a few linux distros and versions. 15:37:49 wait, what? you can run linux in a freebsd jail? 15:41:56 no, you can run linux binaries in there 15:42:38 ah, ok 15:47:14 as freebsd kernel can do good share of linux kernel functionality and emulate its binary interface 15:53:13 markmcb: basically with the linux binary compat, you install a linux distro in the jail's chroot env, but the kernel environment is all freebsd. 15:53:34 in my case, that means i get more linux libraries than are included in the default compatability layer 15:53:42 by adding a whole OS to run in compat mode :P 15:55:43 pffft 15:55:46 overkill 15:56:44 CmdLnKid: yeah, well i posted the libs i'm missing, i can't seem to find a better way. =] 15:57:52 compile and install them in some prefix, add them into a lib path ? 15:58:28 not saying there is anything wrong with what you are doing but looking at the minimal point 15:58:48 yeah, me too. but glibc even? 15:58:57 why not ? 15:59:21 https://dpaste.org/qQSX2/raw 15:59:42 hrm, i mean maybe i can do a debootstrap inside my freebsd jail to add some libs 16:19:21 mount_unionfs may come in handy if you don't want to polute what you already have unless you have snapshots on zfs 16:20:44 https://man.freebsd.org/cgi/man.cgi?mount_unionfs 16:20:46 Title: mount_unionfs 16:24:19 would 3 usb disk 4 5 6 t in zfs be faster than each one ufs jounalled soft updates? 16:24:38 would zfs stack the speed? 16:24:40 context ? 16:25:03 my desktop has 256g ssd and 3 external spindisk usb drive 4 5 6 t 16:25:16 right nwo I run the 3 disk each ufs jounal soft update 16:25:33 if I put them in zfs in 1 pool 16:25:38 would things speed up? 16:25:50 network is slower than any 1 disk 16:26:03 you are only limited by your bus speeds at that point 16:26:07 I do run bittorrent with stuff on all 3 16:26:28 ah bus speed! ok I can't change that 16:26:37 exactly 16:26:44 seems network would be slower than any 1 disk anyow so maybe im good 16:27:03 ah 1 more question 16:27:08 you may be capable of getting peak performance at two usb sticks but when you add three... boom 16:27:24 chrome crashed and is now white screen when started.... 16:27:29 ungoogled-chrome 16:27:36 anyone know whats that all abot? 16:28:23 ungoogled-chromium 16:28:27 to be exact 16:28:29 dunno. move your . directory out of the way to keep your settings and you can copy history, cookies etc... back into a newly created one 16:29:15 .chrome-foo -> .chrome-foo.orig 16:31:37 hmmm ok 17:49:25 Anyone heard of RGnets? 17:49:37 Or their RXG appliance product? 18:12:26 hi 18:16:01 I'm going to port the `bc` from either OpenBSD or FreeBSD. 18:16:21 Port it to... 18:16:24 ? 18:16:36 Rust! 18:17:22 freebsd has two bc implementations last I looked 18:18:07 RhodiumToad: also this one https://git.gavinhoward.com/gavin/bc 18:18:08 Title: gavin/bc: An implementation of Unix dc and POSIX bc with GNU and BSD extensions. Finished, but well-maintained. - bc - Gavin D. Howard Gitea 18:18:22 that's one of the two 18:19:11 some version of Gavin's bc is the one in contrib/bc, while the traditional one is in usr.bin/{bc,dc} 18:19:21 Wait does The Heirloom Project have one? 18:19:24 (traditional bc is just a frontend to traditional dc) 18:22:01 mmmm 18:22:53 Nice, SunOS's is just Makefile.mk bc.1 bc.y lib.b yyval.sed 18:24:27 dc is just CVS Makefile.mk dc.1 dc.c dc.h version.c 18:24:34 usr/src/cmd/bc: Makefile bc.y lib.b.data 18:24:37 Damnnn this will be easy to port 18:53:20 RELNOTES: Note the deprecation of 32-bit platforms for 15.0. 18:53:22 hmm 18:54:13 "In particular, at present there is a fair bit of interest in retaining armv7 support in 15.0 at least." -- also interested in this 21:14:48 i mean, this 32 bit thing, many ppl still on 8GB memory.. so seems 32 bit seems still somewhat usefull, if you thing about IoT and controllers, 32 should get more consideration, not?? 21:15:39 assuming you have a 4GB machine, tell me one reason why you would't want 32 bit.. only reason is because everybody else is on 64 bit.. 21:16:02 but i can't imagine any other reason 21:16:24 so if you got this 400 bucks rpi 4 8gb machine, more power to u 21:18:59 just looking at real world, i have the folling machines: 32gb mem, 8gb, 16, 32, 2.. all64 bit, but why should't i use 32 bit on the 2gb machine? 21:19:45 and to be honest, i feel the 2gb at times, all the others i don't care 21:20:39 actually i care the one 32 gb machine, because it is the build machine, but i don't even know which is the other 32 gb machine 21:20:55 21:38:09 what sort of consideration are you looking for? 22:37:08 a lot of programs use almost twice as much memory on 64bit as on 32bit, so the fact that you _can_ run 64bit on smaller memory systems doesn't necessarily make it useful 22:41:48 i suppose the size of the word is twice as big on 64bit eh 22:43:12 (does anyone use jail/epair and bhyve vm's on the same bridges?) 22:43:12 for pointers, yes 22:46:13 mason: one question about your JailsEpair article, is why do i need to give the bridge an ip address? 22:46:31 rtprio: In my case, it's because that's also my host IP. 22:46:49 So, my host communicates through the same bridge. 22:48:43 it's also possible to have the host's ip on the host's physical interface instead, but I've had weird failures and errors when doing that. 22:48:53 that strikes me as unusual, but i can't put my finger on it 22:48:54 having the host's ip on the bridge has worked better for me. 22:49:14 I need to go through all my pages and freshen them up. 22:49:26 yeah, that bug you referenced is closed, i noticed 22:50:20 perhaps if the reply hits the bridge, it doesn't make it back into the host side of the epair 22:50:57 or the host gobbles them up, i'm a bit confused 22:53:21 ( i have my bhyve bridge attached to lagg0.1, and it's worked mostly fine up to this point) 22:56:02 why is my buildworld still running after 3hr 22:56:20 RhodiumToad: rust in base now? :P 23:27:08 mason: soon™ 23:28:47 Soon™ 23:29:41 * RhodiumToad wonders if it's a bad or a good sign when the commit message is longer than the entire patch including context 23:33:38 RhodiumToad: i think it's a good sign of an engineer, and a terrible sign of what they've been thru 23:35:06 the actual change is one line of code, one line of manpage 23:35:16 see bug 271817 23:35:17 271817 – sed: range change with N results in no output https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271817 23:36:46 oh that thing 23:36:54 * meena shudders 23:59:28 buildworld+buildkernel completed after almost exactly 4hr