Today
I was wrong about what SNDCTL_DSP_GETOSPACE and SNDCTL_DSP_GETISPACE do, hence the update.
While at it, I decided to add all polling/events into one example.
Single instruction to clear a register is basically free on modern architectures. All it does it marks the register as having zero (sometimes not writing actual zero) and eliminating dependencies on previous register value. On the other hand, adding more code means that we consume more space in the icache, there are more instructions to parse etc.
Bug 290173 for tracking.
I wondet if we can fix install...
I've not hit the // issue. When does it happen?
Approved.
Sorry to bother, but I have the following doubt:
There are still a few renamed LEGACY sysctls that were removed (and reverted):
correct mapping per @jlduran
This is what we did for NO_ROOT NanoBSD images.
Beware of double slashes in the METALOG. Though they are not invalid per se, consider the following excerpt:
./base/aaa type=dir ./base//aaa/bbb type=dir
If sorted, it would turn out:
./base//aaa/bbb type=dir ./base/aaa type=dir
Apparently missing the ./base/aaa directory in the specification.
I used awk to omit first arg same as last. I think the -u is likely useless.
I can't find any references to these in sources, indeed.
I changed the code based on the comments, but I didn't add test program, yet. Give me some more time.
Anyone willing to review? This is a simple cleanup.
i feel like this is really an issue in makefs: if it doesn't know the permissions for a directory, it should fail with an error, since 0 permissions is almost certainly going to be wrong. ideally, it would sort the METALOG itself to handle cases like this, although i don't know if that breaks anything else.
Panel Used By
Dashboard | freebsdnewbie_freenet.de's Dashboard |