Post AMow4tG77wuESTumDA by alphazino@fosstodon.org
(DIR) More posts by alphazino@fosstodon.org
(DIR) Post #AMnLfjjLcrgg9uKqSe by martijnbraam@fosstodon.org
2022-08-22T18:52:38Z
1 likes, 2 repeats
For those who spend enough time in /sys: https://git.sr.ht/~martijnbraam/sysls
(DIR) Post #AMnPnFKGx6fVziRVnU by z3ntu@fosstodon.org
2022-08-22T19:38:51Z
0 likes, 0 repeats
@martijnbraam Time to stop using "tail *" to get an overview of something in sysfs!
(DIR) Post #AMnYgYIKvZs8NxQ6nA by rdg@mastodon.technology
2022-08-22T21:18:24Z
0 likes, 0 repeats
@martijnbraam I normally use `grep . *`Or for fancy columns: `grep . * | column -ts :`
(DIR) Post #AMnoY9Dxr0PFa3OD2W by martijnbraam@fosstodon.org
2022-08-23T00:16:11Z
0 likes, 0 repeats
@rdg oh that's a neat trick
(DIR) Post #AMo46vgXgMt12One7s by alphazino@fosstodon.org
2022-08-23T03:10:36Z
0 likes, 0 repeats
@martijnbraam I got bored, so I ported this to zig.https://sr.ht/~delitako/zig-sysls/
(DIR) Post #AMopIzsabqjfMngtl2 by martijnbraam@fosstodon.org
2022-08-23T11:59:23Z
0 likes, 0 repeats
@alphazino browsing through the source, it doesn't seem to propagate the actual errno for the file, which is quite relevant for sysfs
(DIR) Post #AMow4tG77wuESTumDA by alphazino@fosstodon.org
2022-08-23T13:15:00Z
0 likes, 0 repeats
@martijnbraam That is correct. I noticed that just before going to bed and I plan to implement that today.