Skip to content

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented May 13, 2025

DragonFlyBSD is similar to FreeBSD, so it should use the FreeBSD implementation here instead of the default implementation (which I guess is really just the NetBSD/OpenBSD implementation).

This now works properly, at least with this simple test:

use std::fs;

fn main() {
    for i in fs::read_dir("/dev/dri").unwrap() {
        let i = i.unwrap();
        let node = drm::node::DrmNode::from_path(i.path()).unwrap();
        println!("{}: {:?}", i.path().display(), node);
    }
}

DragonFlyBSD is similar to FreeBSD, so it should use the FreeBSD
implementation here instead of the default implementation (which I guess
is really just the NetBSD/OpenBSD implementation).

This now works properly, at least with this simple test:

```rust
use std::fs;

fn main() {
    for i in fs::read_dir("/dev/dri").unwrap() {
        let i = i.unwrap();
        let node = drm::node::DrmNode::from_path(i.path()).unwrap();
        println!("{}: {:?}", i.path().display(), node);
    }
}
```
@ids1024
Copy link
Member Author

ids1024 commented Jul 30, 2025

This can also be merged before the next release, though it's not anything hugely important.

@Drakulix Drakulix merged commit c512979 into Smithay:develop Jul 30, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants