diff --git a/CHANGELOG.md b/CHANGELOG.md index 5757d9e..79a65e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.10.6 (2026-04-16) + +### Docker compatibility +- **Drive discovery** — removed sysfs check that blocked detection inside Docker containers. Device nodes are sufficient; INQUIRY command validates the device is an optical drive. + ## 0.10.5 (2026-04-16) ### Audio parser buffering diff --git a/Cargo.toml b/Cargo.toml index 44b2746..ced9c8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libfreemkv" -version = "0.10.5" +version = "0.10.6" edition = "2021" rust-version = "1.86" license = "AGPL-3.0-only" diff --git a/src/drive/linux.rs b/src/drive/linux.rs index faf4e27..7e1fe11 100644 --- a/src/drive/linux.rs +++ b/src/drive/linux.rs @@ -10,11 +10,6 @@ pub fn find_drives() -> Vec<(String, DriveId)> { if !std::path::Path::new(&path).exists() { continue; } - // Skip stale device nodes — sysfs entry must exist - let sysfs = format!("/sys/class/scsi_generic/sg{i}/device/model"); - if !std::path::Path::new(&sysfs).exists() { - continue; - } if let Ok(mut transport) = crate::scsi::open(std::path::Path::new(&path)) { if let Ok(id) = DriveId::from_drive(transport.as_mut()) { if !id.raw_inquiry.is_empty() && (id.raw_inquiry[0] & 0x1F) == 0x05 {