Page MenuHomeFreeBSD

sound: Fix sndstat's devnode field
AbandonedPublic

Authored by christos on Jul 26 2024, 1:28 PM.
Tags
None
Referenced Files
F135585532: D46162.id.diff
Tue, Nov 11, 1:44 AM
Unknown Object (File)
Tue, Nov 4, 3:30 PM
Unknown Object (File)
Tue, Nov 4, 6:39 AM
Unknown Object (File)
Tue, Nov 4, 6:39 AM
Unknown Object (File)
Tue, Nov 4, 2:56 AM
Unknown Object (File)
Sep 27 2025, 7:09 PM
Unknown Object (File)
Sep 20 2025, 5:14 AM
Unknown Object (File)
Sep 19 2025, 5:51 AM
Subscribers

Details

Summary

Not including "/dev/" in the devnode string makes it hard for consumer
to use this field.

Sponsored by: The FreeBSD Foundation
MFC after 2 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58858
Build 55745: arc lint + arc unit

Event Timeline

I don't really see why this change is useful, and it looks like it could break scripts etc. that scrape sndstat.

I don't really see why this change is useful, and it looks like it could break scripts etc. that scrape sndstat.

I find it easier to use it to test paths this way, otherwise the application will have to slice the input string in order to match this format. However, I do not really mind to abandon this patch if you think it'd be more of a problem than help.