diff --git a/pbs-tape/src/sgutils2.rs b/pbs-tape/src/sgutils2.rs index 33db4b5d..4e241c3b 100644 --- a/pbs-tape/src/sgutils2.rs +++ b/pbs-tape/src/sgutils2.rs @@ -90,7 +90,7 @@ impl SgPt { /// Peripheral device type text (see `inquiry` command) /// -/// see [https://en.wikipedia.org/wiki/SCSI_Peripheral_Device_Type] +/// see pub const PERIPHERAL_DEVICE_TYPE_TEXT: [&'static str; 32] = [ "Disk Drive", "Tape Drive", diff --git a/src/tools/disks/mod.rs b/src/tools/disks/mod.rs index 2f7d8ce6..080e4ba6 100644 --- a/src/tools/disks/mod.rs +++ b/src/tools/disks/mod.rs @@ -469,7 +469,7 @@ impl Disk { /// Read block device stats /// - /// see https://www.kernel.org/doc/Documentation/block/stat.txt + /// see pub fn read_stat(&self) -> std::io::Result> { if let Some(stat) = self.read_sys(Path::new("stat"))? { let stat = unsafe { std::str::from_utf8_unchecked(&stat) };