Post A59WrT3uxFDkIcgJWa by js@chaos.social
(DIR) More posts by js@chaos.social
(DIR) Post #A570qLXtpTktqgCtJA by ParadeGrotesque@mastodon.sdf.org
2021-03-11T20:56:39Z
0 likes, 0 repeats
New security advisory for NetBSD 9.1 and -current:https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2021-001.txt.ascTime to get the compiler out and see what I can do.
(DIR) Post #A572JE0341tcnUhvNY by claudiom@mastodon.sdf.org
2021-03-11T21:13:04Z
0 likes, 0 repeats
@ParadeGrotesque Hmm. Building this on a lowly RPi model B is not something I'm looking forward to. 😬
(DIR) Post #A5739bE9wvUhtXHXfc by ParadeGrotesque@mastodon.sdf.org
2021-03-11T21:22:31Z
0 likes, 0 repeats
Yes, yes, GNU Watch is all fine and good, but you can replace it with a simple one-liner:while : ; do clear ; echo --- DISK --- ; df -k . ; echo --- PROC --- ; ps auxwww | grep -i [c]vs ; sleep 5 ; done
(DIR) Post #A574DfkjANJj2g1O6K by profoundlynerdy@mastodon.technology
2021-03-11T21:34:28Z
0 likes, 0 repeats
@ParadeGrotesque I take it `while :' gets evaluated to `while true`?
(DIR) Post #A574XG1iWaFF2vJ680 by ParadeGrotesque@mastodon.sdf.org
2021-03-11T21:38:03Z
0 likes, 0 repeats
@profoundlynerdy Very good! Yes, ':' always evaluates to true.
(DIR) Post #A575Puwwad6xbW8dhQ by profoundlynerdy@mastodon.technology
2021-03-11T21:47:55Z
0 likes, 0 repeats
@ParadeGrotesque Yep. I've written enough shell scripts and Perl one-liners over the years to recognize tricks like that.Strangely, in #Perl the following *isn't* valid:```while ( : ) {[some condition]}```But both `while ( ': ')` and `while ( 1 )` are valid though.Neat code. I like it.
(DIR) Post #A575TnX46qbnl2ssK0 by profoundlynerdy@mastodon.technology
2021-03-11T21:48:36Z
0 likes, 0 repeats
@ParadeGrotesque Yep. I've written enough shell scripts and Perl one-liners over the years to recognize tricks like that.Strangely, in #Perl the following *isn't* valid:```while ( : ) {[some condition]}```But both `while ( ':' )` and `while ( 1 )` are valid though.Neat code. I like it.
(DIR) Post #A596wNebtME8ALWgDY by ParadeGrotesque@mastodon.sdf.org
2021-03-12T21:14:25Z
0 likes, 0 repeats
I like the fact that, under NetBSD, everything is controlled by shell scripts and make files. The whole thing feels well put together.I don't like the fact that compiling a GENERIC kernel takes hours on my little VM. But I can be patient. 🤓
(DIR) Post #A599WshW8aGKn0Q0nI by ParadeGrotesque@mastodon.sdf.org
2021-03-12T21:43:26Z
0 likes, 0 repeats
NetBSD GENERIC kernel is now compiled. Reboot complete. Now comes the moment of truth!
(DIR) Post #A59ETfr5wKrvqsBk00 by ParadeGrotesque@mastodon.sdf.org
2021-03-12T22:38:53Z
0 likes, 0 repeats
The good, the bad, the ugly:Good: NetBSD kernel done, boots and seems to be working OK.Bad: Anon CVS does not seem to be updating the files needed to correct NetBSD-SA2021-001 ...?Ugly: I have no way to check if the kernel is correct and contains the fix.
(DIR) Post #A59O0dwywWQP5Sjo5A by klaatu@mastodon.xyz
2021-03-13T00:25:41Z
0 likes, 0 repeats
@ParadeGrotesque what filesystem are you using with netbsd and what do you think of it?
(DIR) Post #A59WrT3uxFDkIcgJWa by js@chaos.social
2021-03-13T02:04:53Z
0 likes, 0 repeats
@ParadeGrotesque Hours really sounds too long
(DIR) Post #A5ASZWA2PcivaIZw1I by ParadeGrotesque@mastodon.sdf.org
2021-03-13T12:06:51Z
0 likes, 0 repeats
@klaatu FFS ... What else?I mean we are talking smallish VM, so no zfs.
(DIR) Post #A5ASa8rcW2AFcTGHE8 by ParadeGrotesque@mastodon.sdf.org
2021-03-13T12:07:39Z
0 likes, 0 repeats
@js You are right. I was too negative, as it really took about 45 minutes.
(DIR) Post #A5B0UhzkNohZHSdxlA by klaatu@mastodon.xyz
2021-03-13T19:11:43Z
0 likes, 0 repeats
@ParadeGrotesque good to know thanks. Ive been having issues with FFS but I'm running netbsd on a pi not a vm. I was just wondering whether you were using it or zfs.