-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add serial number support for USB devices #230
Add serial number support for USB devices #230
Conversation
Add serial number support for USB devices for USB to IDE/SATA adapters. Note this will only work with USB IDE/SATA adapters that support ATA pass through. See martijnvanbrummelen#149 for further details of supported devices. This patch requires readlink and smartmontools (smartctl) to be installed. If not installed the serial number for supported USB hardware will be missing. The device type, i.e USB or ATA is now shown on the selection and wipe windows.
@PartialVolume,
I tried some USB-to-SATA adapters I have in the toolbox to see which had ATA pass through. The results:
Rosewill RX-DUS100 3.5in/2.5in USB-2.0 adapter DOES support ATA pass through.
Inatek FD2002 3.5in/2.5in USB-3.0 adapter DOES support ATA pass through. (It also has two slots and can clone a Drive-A to Drive-B all by itself.)
Both of the above have external wall-wart power supplies to adequately power the hard drives.
Sabrent EC-SS31 2.5in USB-3.0 does NOT support ATA pass through, and is USB-port powered.
I noticed there is still some throughput discrepancies in the GUI and logfile on the Zero Fill run I did.
The Sabrent adapter was hooked to a Samsung 850 Pro 1TB drive and the GUI showed a little over 400 MB/s while running, but the GUI’s 100% complete line showed 309 MB/s initially (it finished first being the only SSD), but later showed 82 MB/s and the logfile also showed 82 MB/s.
Three of the spinning drives showed ~120 MB/s in the GUI while running, but all showed 80 MB/s when all drives had completed, which was also the value in the logfile. A 4th spinning drive always showed ~40 MB/s while running, and did so at completion in the GUI as well as the logfile.
Another thing I noticed in the GUI is that [writing] and [syncing] seem to be mutually exclusive (replaced by [-------] when the other is showing). It seems these could thus occupy the same position on the screen so the info could be spread across the 80-column width. Also, since I’m on a roll, it would be nice if the throughput values’ formatting was %3llu to right justify the numeric portion. And [blanking] (10 chars total) is wider than [writing] or [syncing] (9 chars total) so once blanking begins, it forces everything following to the right be 1 character (I like columns for quick glances at progress).
Thanks for all the work!
|
@mdcato Thanks for the detailed feedback, it is much appreciated. Thanks for the info on the USB to IDE/SATA adapters, I need to capture this info somewhere in a table, maybe start a supported USB adapters page on the Github nwipe wiki page (which is currently empty). Special thanks for reporting the throughput discrepancy. I saw a discrepancy only the once and thought that's odd ! there's a bug in there somewhere. After that one occurence I didn't see it again. However I think the reason for that is that when I wiped multiple drives they were all the same size on the same type of interface (ATA) so all wipes ended pretty much at the same time. It sounds like if you have multiple wipes that end at different times the throughput calculation is still running for the wipes that ended, hence the lower values you are seeing. I'll take a look at the code and issue a patch today or Monday.
Totally agree on all the points you raise here. After I'd created the [---------] I did think we don't need that, just use the one bracketed text that just changes depending on what it's doing and like you say free's up some space. Also noted the difference in characters length between blanking and syncing and will fix that Monday. ( I like columns that all line up too ). |
Happy to supply the info on USB to SATA adapters.
Here’s another one: generic USB-C to NVME:
[2020/03/29 14:27:48] notice: Found /dev/sde, USB, ITHOO ASM236X NVME, 250GB, S/N=
I have a Samsung 970 EVO Plus 250GB SSD installed on it. Obviously it supplied the size correctly, and for a no-name interface from Amazon for US$37, that’s adequate.
|
Can you send me the output of
Using whatever the device name is of your 240GB samsung 970 EVO Plus. Unfortunately, my kit is all old equipment, so can't troubleshoot this my end. I've sorted the throughput issue, I'm just running tests on multiple drives of different sizes to confirm its working. It was indeed still calculating throughout on a completed wipe. Once all the tests have passed I'll merge Monday morning GMT. |
The SSD in the NVME to USB-c adapter is the same as on the motherboard, however smartctl is not able to query it through that adapter.
Below are the outputs of smartctl on one of the SSDs on the motherboard. I dual boot on this test/data-recovery/data-wipe system, so one SSD is Fedora 31, the other is Windows 10.
Here’s the output of smartctl –all /dev/nvme0n1:
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.5.11-200.fc31.x86_64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Number: Samsung SSD 970 EVO 250GB
Serial Number: S465NB0K580541L
Firmware Version: 2B2QEXE7
PCI Vendor/Subsystem ID: 0x144d
IEEE OUI Identifier: 0x002538
Total NVM Capacity: 250,059,350,016 [250 GB]
Unallocated NVM Capacity: 0
Controller ID: 4
Number of Namespaces: 1
Namespace 1 Size/Capacity: 250,059,350,016 [250 GB]
Namespace 1 Utilization: 28,785,156,096 [28.7 GB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 002538 5581b35c46
Local Time is: Sun Mar 29 17:43:56 2020 CDT
Firmware Updates (0x16): 3 Slots, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Maximum Data Transfer Size: 512 Pages
Warning Comp. Temp. Threshold: 84 Celsius
Critical Comp. Temp. Threshold: 84 Celsius
Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
0 + 6.20W - - 0 0 0 0 0 0
1 + 4.30W - - 1 1 1 1 0 0
2 + 2.10W - - 2 2 2 2 0 0
3 - 0.0400W - - 3 3 3 3 210 1200
4 - 0.0050W - - 4 4 4 4 2000 8000
Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
0 + 512 0 0
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 30 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 0%
Data Units Read: 1,870,585 [957 GB]
Data Units Written: 2,010,037 [1.02 TB]
Host Read Commands: 28,343,620
Host Write Commands: 27,276,097
Controller Busy Time: 120
Power Cycles: 142
Power On Hours: 43
Unsafe Shutdowns: 24
Media and Data Integrity Errors: 0
Error Information Log Entries: 90
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 30 Celsius
Temperature Sensor 2: 34 Celsius
Error Information (NVMe Log 0x01, max 64 entries)
No Errors Logged
And the output of smartctl -I /dev/nvme0n1
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.5.11-200.fc31.x86_64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Number: Samsung SSD 970 EVO 250GB
Serial Number: S465NB0K580541L
Firmware Version: 2B2QEXE7
PCI Vendor/Subsystem ID: 0x144d
IEEE OUI Identifier: 0x002538
Total NVM Capacity: 250,059,350,016 [250 GB]
Unallocated NVM Capacity: 0
Controller ID: 4
Number of Namespaces: 1
Namespace 1 Size/Capacity: 250,059,350,016 [250 GB]
Namespace 1 Utilization: 28,785,156,096 [28.7 GB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 002538 5581b35c46
Local Time is: Sun Mar 29 17:45:41 2020 CDT
|
@mdcato that's great thanks. Am I correct in assuming the serial number does show up in nwipe for the NVME drive that's connected directly to the motherboard? |
@PartialVolume<mailto:[email protected]>,
Yes, that’s correct. Here are the nwipe logfile lines:
[2020/03/29 14:27:48] notice: Found /dev/sda, ATA, ATA WDC WD10EZEX-22B, 1TB, S/N=WD-WCC3FF1CRNSK
[2020/03/29 14:27:48] notice: Found /dev/sdb, ATA, ATA TS32GSSD370S, 32GB, S/N=F568440532
[2020/03/29 14:27:48] notice: Found /dev/sdc, ATA, ATA WDC WD10EZEX-75M, 1TB, S/N=WD-WCC3FDHSU3A1
[2020/03/29 14:27:48] notice: Found /dev/sdd, ATA, ATA TS32GSSD370S, 32GB, S/N=F533481077
[2020/03/29 14:27:48] notice: Found /dev/sde, USB, ITHOO ASM236X NVME, 250GB, S/N=
[2020/03/29 14:27:48] notice: Found /dev/sdf, USB, SABRENT, 1TB, S/N=S3D2NX0HA10734P
[2020/03/29 14:27:48] notice: Found /dev/nvme0n1, UNK, Samsung SSD 970 EVO 250GB, 250GB, S/N=S465NB0K580541L
[2020/03/29 14:27:48] notice: Found /dev/sdg, USB, ST350041 8AS, 500GB, S/N=9VMHTCP1
[2020/03/29 14:27:48] notice: Found /dev/nvme1n1, UNK, Samsung SSD 970 EVO 250GB, 250GB, S/N=S465NB0K580543E
The only thing that maybe could use some attention is the interface shows as “UNK” (instead of “ATA” or “USB”). Can it be “NVME”, or is that not unambiguous? The lshw output is below which gives a good (overkill!) listing of hardware interfaces:
hts-linux-test-localdomain
description: Desktop Computer
product: Z370 AORUS ULTRA GAMING 2.0 (Default string)
vendor: Gigabyte Technology Co., Ltd.
version: Default string
serial: Default string
width: 64 bits
capabilities: smbios-3.1.1 dmi-3.1.1 smp vsyscall32
configuration: boot=normal chassis=desktop family=Default string sku=Default string uuid=E002D503-5E04-8305-4206-AF0700080009
*-core
description: Motherboard
product: Z370 AORUS ULTRA GAMING 2.0-CF
vendor: Gigabyte Technology Co., Ltd.
physical id: 0
version: x.x
serial: Default string
slot: Default string
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: F15a
date: 11/28/2019
size: 64KiB
capacity: 16MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: System Memory
physical id: 35
slot: System board or motherboard
size: 8GiB
*-bank:0
description: [empty]
physical id: 0
slot: ChannelA-DIMM0
*-bank:1
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
product: 3000 C16 Series
vendor: 8502
physical id: 1
serial: 00000000
slot: ChannelA-DIMM1
size: 4GiB
width: 64 bits
clock: 2133MHz (0.5ns)
*-bank:2
description: [empty]
physical id: 2
slot: ChannelB-DIMM0
*-bank:3
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
product: 3000 C16 Series
vendor: 8502
physical id: 3
serial: 00000000
slot: ChannelB-DIMM1
size: 4GiB
width: 64 bits
clock: 2133MHz (0.5ns)
*-cache:0
description: L1 cache
physical id: 3b
slot: L1 Cache
size: 384KiB
capacity: 384KiB
capabilities: synchronous internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 3c
slot: L2 Cache
size: 1536KiB
capacity: 1536KiB
capabilities: synchronous internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 3d
slot: L3 Cache
size: 9MiB
capacity: 9MiB
capabilities: synchronous internal write-back unified
configuration: level=3
*-cpu
description: CPU
product: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
vendor: Intel Corp.
physical id: 3e
bus info: cpu@0
version: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
serial: To Be Filled By O.E.M.
slot: U3E1
size: 3189MHz
capacity: 4005MHz
width: 64 bits
clock: 100MHz
capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d cpufreq
configuration: cores=6 enabledcores=6 threads=6
*-pci
description: Host bridge
product: 8th Gen Core Processor Host Bridge/DRAM Registers
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 07
width: 32 bits
clock: 33MHz
configuration: driver=skl_uncore
resources: irq:0
*-display
description: VGA compatible controller
product: UHD Graphics 630 (Desktop)
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:142 memory:ee000000-eeffffff memory:d0000000-dfffffff ioport:f000(size=64) memory:c0000-dffff
*-generic UNCLAIMED
description: System peripheral
product: Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:00:08.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: msi pm cap_list
configuration: latency=0
resources: memory:ef34e000-ef34efff
*-usb
description: USB controller
product: 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:131 memory:ef330000-ef33ffff
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 5.5.11-200.fc31.x86_64 xhci-hcd
physical id: 0
bus info: usb@1
logical name: usb1
version: 5.05
capabilities: usb-2.00
configuration: driver=hub slots=16 speed=480Mbit/s
*-usb:0
description: Mass storage device
product: JM20336 SATA, USB Combo
vendor: JMicron
physical id: 6
bus info: usb@1:6
logical name: scsi6
version: 1.00
serial: 9C1888888888
capabilities: usb-2.00 scsi emulated scsi-host
configuration: driver=usb-storage maxpower=2mA speed=480Mbit/s
*-disk
description: SCSI Disk
product: 8AS
vendor: ST350041
physical id: 0.0.0
bus info: scsi@6:0.0.0
logical name: /dev/sdg
size: 465GiB (500GB)
configuration: ansiversion=2 logicalsectorsize=512 sectorsize=512
*-usb:1
description: USB hub
product: Hub
vendor: ATEN International Co., Ltd
physical id: b
bus info: usb@1:b
version: 1.00
capabilities: usb-1.10
configuration: driver=hub maxpower=100mA slots=4 speed=12Mbit/s
*-usb:0
description: Keyboard
product: USB Keyboard
vendor: SONiX
physical id: 1
bus info: usb@1:b.1
version: 2.20
capabilities: usb-2.00
configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
*-usb:1
description: Mouse
product: USB OPTICAL MOUSE
vendor: Trust International B.V.
physical id: 2
bus info: usb@1:b.2
version: 1.00
capabilities: usb-1.10
configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
*-usb:2
description: Human interface device
product: Back-UPS NS 575G FW:909.W1 .D USB FW:W1
vendor: APC
physical id: c
bus info: usb@1:c
version: 1.06
serial: 4B1440P11492
capabilities: usb-1.10
configuration: driver=usbhid maxpower=2mA speed=2Mbit/s
*-usbhost:1
product: xHCI Host Controller
vendor: Linux 5.5.11-200.fc31.x86_64 xhci-hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 5.05
capabilities: usb-3.00
configuration: driver=hub slots=10 speed=5000Mbit/s
*-usb:0
description: Mass storage device
product: USB3.1 TO NVME
vendor: LIANGTENG
physical id: 2
bus info: usb@2:2
logical name: scsi7
version: 1.00
serial: 00000000000000000000
capabilities: usb-3.20 scsi
configuration: driver=uas speed=5000Mbit/s
*-disk
description: SCSI Disk
product: ASM236X NVME
vendor: ITHOO
physical id: 0.0.0
bus info: scsi@7:0.0.0
logical name: /dev/sde
version: 0
serial: 00000000000000000000
size: 232GiB (250GB)
configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512
*-usb:1
description: Mass storage device
product: SABRENT
vendor: SABRENT
physical id: 7
bus info: usb@2:7
logical name: scsi9
version: a0.00
serial: 000000123AD2
capabilities: usb-3.10 scsi
configuration: driver=uas maxpower=896mA speed=5000Mbit/s
*-disk
description: SCSI Disk
product: SABRENT
physical id: 0.0.0
bus info: scsi@9:0.0.0
logical name: /dev/sdf
version: 2210
serial: 000000123AD2
size: 953GiB (1024GB)
configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512
*-communication
description: Communication controller
product: 200 Series PCH CSME HECI #1
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:155 memory:ef34d000-ef34dfff
*-sata
description: SATA controller
product: 200 Series PCH SATA controller [AHCI mode]
vendor: Intel Corporation
physical id: 17
bus info: pci@0000:00:17.0
logical name: scsi1
logical name: scsi2
logical name: scsi3
logical name: scsi4
version: 00
width: 32 bits
clock: 66MHz
capabilities: sata msi pm ahci_1.0 bus_master cap_list emulated
configuration: driver=ahci latency=0
resources: irq:130 memory:ef348000-ef349fff memory:ef34c000-ef34c0ff ioport:f090(size=8) ioport:f080(size=4) ioport:f060(size=32) memory:ef34b000-ef34b7ff
*-disk:0
description: ATA Disk
product: WDC WD10EZEX-22B
vendor: Western Digital
physical id: 0
bus info: scsi@1:0.0.0
logical name: /dev/sda
version: 1A01
serial: WD-WCC3FF1CRNSK
size: 931GiB (1TB)
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=4096
*-disk:1
description: ATA Disk
product: TS32GSSD370S
physical id: 1
bus info: scsi@2:0.0.0
logical name: /dev/sdb
version: 2B
serial: F568440532
size: 29GiB (32GB)
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512
*-disk:2
description: ATA Disk
product: WDC WD10EZEX-75M
vendor: Western Digital
physical id: 2
bus info: scsi@3:0.0.0
logical name: /dev/sdc
version: 1A01
serial: WD-WCC3FDHSU3A1
size: 931GiB (1TB)
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=4096
*-disk:3
description: ATA Disk
product: TS32GSSD370S
physical id: 3
bus info: scsi@4:0.0.0
logical name: /dev/sdd
version: 2B
serial: F533481077
size: 29GiB (32GB)
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512
*-pci:0
description: PCI bridge
product: 200 Series PCH PCI Express Root Port #17
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:122
*-pci:1
description: PCI bridge
product: 200 Series PCH PCI Express Root Port #19
vendor: Intel Corporation
physical id: 1b.2
bus info: pci@0000:00:1b.2
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:123 memory:ef200000-ef2fffff
*-usb
description: USB controller
product: ASM2142 USB 3.1 Host Controller
vendor: ASMedia Technology Inc.
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: msi msix pm pciexpress xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:18 memory:ef200000-ef207fff
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 5.5.11-200.fc31.x86_64 xhci-hcd
physical id: 0
bus info: usb@3
logical name: usb3
version: 5.05
capabilities: usb-2.00
configuration: driver=hub slots=2 speed=480Mbit/s
*-usbhost:1
product: xHCI Host Controller
vendor: Linux 5.5.11-200.fc31.x86_64 xhci-hcd
physical id: 1
bus info: usb@4
logical name: usb4
version: 5.05
capabilities: usb-3.10
configuration: driver=hub slots=2 speed=10000Mbit/s
*-pci:2
description: PCI bridge
product: 200 Series PCH PCI Express Root Port #21
vendor: Intel Corporation
physical id: 1b.4
bus info: pci@0000:00:1b.4
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:124 memory:ef100000-ef1fffff
*-nvme
description: Non-Volatile memory controller
product: NVMe SSD Controller SM981/PM981/PM983
vendor: Samsung Electronics Co Ltd
physical id: 0
bus info: pci@0000:03:00.0
logical name: /dev/nvme0
version: 00
width: 64 bits
clock: 33MHz
capabilities: nvme pm msi pciexpress msix nvm_express bus_master cap_list
configuration: driver=nvme latency=0
resources: irq:16 memory:ef100000-ef103fff
*-disk
description: NVMe disk
product: Samsung SSD 970 EVO 250GB
physical id: 0
logical name: /dev/nvme0n1
version: 2B2QEXE7
serial: S465NB0K580541L
size: 232GiB (250GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: guid=4f8f929a-c8a1-42f8-97cc-d081521fb9f9 logicalsectorsize=512 sectorsize=512
*-volume:0
description: Windows NTFS volume
vendor: Windows
physical id: 1
logical name: /dev/nvme0n1p1
version: 3.1
serial: de3d-fc08
size: 497MiB
capacity: 498MiB
capabilities: boot precious nomount ntfs initialized
configuration: clustersize=4096 created=2018-07-19 00:42:12 filesystem=ntfs label=Recovery name=Basic data partition state=clean
*-volume:1
description: Windows FAT volume
vendor: MSDOS5.0
physical id: 2
logical name: /dev/nvme0n1p2
version: FAT32
serial: c83e-c5e4
size: 75MiB
capacity: 98MiB
capabilities: boot nomount fat initialized
configuration: FATs=2 filesystem=fat name=EFI system partition
*-volume:2
description: reserved partition
vendor: Windows
physical id: 3
logical name: /dev/nvme0n1p3
serial: 6a5e279d-8f4c-4679-aa66-05b5a999596b
capacity: 15MiB
capabilities: nofs nomount
configuration: name=Microsoft reserved partition
*-volume:3
description: Windows NTFS volume
vendor: Windows
physical id: 4
logical name: /dev/nvme0n1p4
version: 3.1
serial: 4cc15d9d-4aa5-ee4a-bc0c-9e4a1b3da8d6
size: 232GiB
capacity: 232GiB
capabilities: ntfs initialized
configuration: clustersize=4096 created=2018-07-19 00:42:15 filesystem=ntfs name=Basic data partition state=clean
*-pci:3
description: PCI bridge
product: 200 Series PCH PCI Express Root Port #1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:125
*-pci:4
description: PCI bridge
product: 200 Series PCH PCI Express Root Port #2
vendor: Intel Corporation
physical id: 1c.1
bus info: pci@0000:00:1c.1
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:126
*-pci:5
description: PCI bridge
product: 200 Series PCH PCI Express Root Port #3
vendor: Intel Corporation
physical id: 1c.2
bus info: pci@0000:00:1c.2
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:127
*-pci:6
description: PCI bridge
product: 200 Series PCH PCI Express Root Port #5
vendor: Intel Corporation
physical id: 1c.4
bus info: pci@0000:00:1c.4
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:128
*-pci:7
description: PCI bridge
product: 200 Series PCH PCI Express Root Port #9
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:129 memory:ef000000-ef0fffff
*-nvme
description: Non-Volatile memory controller
product: NVMe SSD Controller SM981/PM981/PM983
vendor: Samsung Electronics Co Ltd
physical id: 0
bus info: pci@0000:08:00.0
logical name: /dev/nvme1
version: 00
width: 64 bits
clock: 33MHz
capabilities: nvme pm msi pciexpress msix nvm_express bus_master cap_list
configuration: driver=nvme latency=0
resources: irq:16 memory:ef000000-ef003fff
*-disk
description: NVMe disk
product: Samsung SSD 970 EVO 250GB
physical id: 0
logical name: /dev/nvme1n1
version: 2B2QEXE7
serial: S465NB0K580543E
size: 232GiB (250GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: guid=6a9ce75c-2a76-4e07-8cf4-a1007f7db8d7 logicalsectorsize=512 sectorsize=512
*-volume:0
description: Windows FAT volume
vendor: mkfs.fat
physical id: 1
logical name: /dev/nvme1n1p1
logical name: /boot/efi
version: FAT16
serial: 1d87-f62f
size: 198MiB
capacity: 199MiB
capabilities: boot fat initialized
configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro name=EFI System Partition state=mounted
*-volume:1
description: EXT4 volume
vendor: Linux
physical id: 2
logical name: /dev/nvme1n1p2
logical name: /boot
version: 1.0
serial: 03d0951d-12b4-4860-8c33-ffe30ad72ee0
size: 1GiB
capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
configuration: created=2018-07-14 02:10:14 filesystem=ext4 lastmountpoint=/boot modified=2020-03-29 13:08:41 mount.fstype=ext4 mount.options=rw,seclabel,relatime mounted=2020-03-29 13:08:41 state=mounted
*-volume:2
description: LVM Physical Volume
vendor: Linux
physical id: 3
logical name: /dev/nvme1n1p3
serial: biMJcN-5QSt-kReP-Rs4g-5OcR-ToLH-E22yyZ
size: 231GiB
capabilities: multi lvm2
*-isa
description: ISA bridge
product: Z370 Chipset LPC/eSPI Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration: latency=0
*-memory UNCLAIMED
description: Memory controller
product: 200 Series/Z370 Chipset Family Power Management Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 00
width: 32 bits
clock: 33MHz (30.3ns)
capabilities: bus_master
configuration: latency=0
resources: memory:ef344000-ef347fff
*-multimedia
description: Audio device
product: 200 Series PCH HD Audio
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:156 memory:ef340000-ef343fff memory:ef320000-ef32ffff
*-serial
description: SMBus
product: 200 Series/Z370 Chipset Family SMBus Controller
vendor: Intel Corporation
physical id: 1f.4
bus info: pci@0000:00:1f.4
version: 00
width: 64 bits
clock: 33MHz
configuration: driver=i801_smbus latency=0
resources: irq:16 memory:ef34a000-ef34a0ff ioport:f040(size=32)
*-network
description: Ethernet interface
product: Ethernet Connection (2) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: eno1
version: 00
serial: e0:d5:5e:83:42:af
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.2-4 ip=192.168.234.114 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:141 memory:ef300000-ef31ffff
*-pnp00:00
product: PnP device PNP0c02
physical id: 1
capabilities: pnp
configuration: driver=system
*-pnp00:01
product: PnP device PNP0c02
physical id: 2
capabilities: pnp
configuration: driver=system
*-pnp00:02
product: PnP device PNP0c02
physical id: 3
capabilities: pnp
configuration: driver=system
*-pnp00:03
product: PnP device PNP0c02
physical id: 4
capabilities: pnp
configuration: driver=system
*-pnp00:04
product: PnP device INT3f0d
vendor: Interphase Corporation
physical id: 5
capabilities: pnp
configuration: driver=system
*-pnp00:05
product: PnP device PNP0c02
physical id: 6
capabilities: pnp
configuration: driver=system
*-pnp00:06
product: PnP device PNP0c02
physical id: 7
capabilities: pnp
configuration: driver=system
*-pnp00:07
product: PnP device PNP0c02
physical id: 8
capabilities: pnp
configuration: driver=system
*-pnp00:08
product: PnP device PNP0c02
physical id: 9
capabilities: pnp
configuration: driver=system
*-power UNCLAIMED
description: To Be Filled By O.E.M.
product: To Be Filled By O.E.M.
vendor: To Be Filled By O.E.M.
physical id: 1
version: To Be Filled By O.E.M.
serial: To Be Filled By O.E.M.
capacity: 32768mWh
*-network:0
description: Ethernet interface
physical id: 2
logical name: virbr0
serial: 52:54:00:ae:bd:9a
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.122.1 link=no multicast=yes
*-network:1 DISABLED
description: Ethernet interface
physical id: 3
logical name: virbr0-nic
serial: 52:54:00:ae:bd:9a
size: 10Mbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
From: PartialVolume <[email protected]>
Sent: Sunday, March 29, 2020 22:00
To: martijnvanbrummelen/nwipe <[email protected]>
Cc: Mike Cato / Hays Technical Services <[email protected]>; Mention <[email protected]>
Subject: Re: [martijnvanbrummelen/nwipe] Add serial number support for USB devices (#230)
@mdcato<https://github.com/mdcato> that's great thanks. Am I correct in assuming the serial number does show up in nwipe for the NVME drive that's connected directly to the motherboard?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#230 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANGK2PVNS6SA2EH2FTWCR2LRKADMHANCNFSM4LS7R6XA>.
|
@mdcato Adding NVME instead of UNK should be ok. I use readlink for the process of identifying the bus when libparted doesn't recognize it. Can you run
and paste the path it returns. Depending on what's produced I can then work with that data to add NVME. Thanks. |
@mdcato I've merged the throughput fix, next time you have a chance can you download the latest master and run some wipes on multiple discs of different sizes to check the individual drive throughputs show the throughput of the drive when wipe finished rather than the throughput gradually getting less and less while other drives are still wiping. I ran tests on two disks of different sizes that were showing this problem. After the patch it all looks good at this end. Thanks |
Hmmm, /dev/nvme0n1 is not a link, so readlink just returns “invalid argument” (when -v is added).
But maybe that answers the question?
[root@hts-linux-test-localdomain Downloads]# ls -l /dev/nv*
crw-------. 1 root root 240, 0 Mar 29 13:08 /dev/nvme0
brw-rw----. 1 root disk 259, 1 Mar 29 14:27 /dev/nvme0n1
brw-rw----. 1 root disk 259, 2 Mar 29 14:27 /dev/nvme0n1p1
brw-rw----. 1 root disk 259, 4 Mar 29 14:27 /dev/nvme0n1p2
brw-rw----. 1 root disk 259, 5 Mar 29 14:27 /dev/nvme0n1p3
brw-rw----. 1 root disk 259, 8 Mar 29 14:27 /dev/nvme0n1p4
crw-------. 1 root root 240, 1 Mar 29 13:08 /dev/nvme1
brw-rw----. 1 root disk 259, 0 Mar 29 14:27 /dev/nvme1n1
brw-rw----. 1 root disk 259, 3 Mar 29 14:27 /dev/nvme1n1p1
brw-rw----. 1 root disk 259, 6 Mar 29 14:27 /dev/nvme1n1p2
brw-rw----. 1 root disk 259, 7 Mar 29 14:27 /dev/nvme1n1p3
crw-------. 1 root root 10, 144 Mar 29 13:08 /dev/nvram
[root@hts-linux-test-localdomain Downloads]#
|
@mdcato I wonder if it's got anything to do with this bug https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1647485 Can you
and paste here. Also what distro and version are you using ? |
total 4
drwxr-xr-x. 21 root root 4520 Mar 29 22:14 .
dr-xr-xr-x. 18 root root 4096 Mar 27 11:53 ..
crw-r--r--. 1 root root 10, 235 Mar 29 13:08 autofs
drwxr-xr-x. 2 root root 420 Mar 29 14:24 block
drwxr-xr-x. 2 root root 180 Mar 29 14:24 bsg
crw-------. 1 root root 10, 234 Mar 29 13:08 btrfs-control
drwxr-xr-x. 3 root root 60 Mar 29 13:08 bus
drwxr-xr-x. 2 root root 4860 Mar 29 14:24 char
crw--w----. 1 root tty 5, 1 Mar 29 13:08 console
lrwxrwxrwx. 1 root root 11 Mar 29 13:08 core -> /proc/kcore
drwxr-xr-x. 8 root root 160 Mar 29 13:08 cpu
crw-------. 1 root root 10, 61 Mar 29 13:08 cpu_dma_latency
crw-------. 1 root root 10, 203 Mar 29 13:08 cuse
drwxr-xr-x. 8 root root 160 Mar 29 13:08 disk
brw-rw----. 1 root disk 253, 0 Mar 29 13:08 dm-0
brw-rw----. 1 root disk 253, 1 Mar 29 13:08 dm-1
brw-rw----. 1 root disk 253, 2 Mar 29 13:08 dm-2
drwxr-xr-x. 3 root root 100 Mar 29 13:08 dri
crw-rw----. 1 root video 29, 0 Mar 29 13:08 fb0
lrwxrwxrwx. 1 root root 13 Mar 29 13:08 fd -> /proc/self/fd
drwxr-xr-x. 2 root root 100 Mar 29 13:08 fedora_localhost-live
crw-rw-rw-. 1 root root 1, 7 Mar 29 13:08 full
crw-rw-rw-. 1 root root 10, 229 Mar 29 13:08 fuse
crw-------. 1 root root 241, 0 Mar 29 13:08 hidraw0
crw-------. 1 root root 241, 1 Mar 29 13:08 hidraw1
crw-------. 1 root root 241, 2 Mar 29 13:08 hidraw2
crw-------. 1 root root 241, 3 Mar 29 13:08 hidraw3
crw-------. 1 root root 241, 4 Mar 29 13:08 hidraw4
crw-------. 1 root root 10, 228 Mar 29 13:08 hpet
drwxr-xr-x. 3 root root 0 Mar 29 13:08 hugepages
crw-------. 1 root root 10, 183 Mar 29 13:08 hwrng
lrwxrwxrwx. 1 root root 12 Mar 29 13:08 initctl -> /run/initctl
drwxr-xr-x. 4 root root 580 Mar 29 13:08 input
crw-r--r--. 1 root root 1, 11 Mar 29 13:08 kmsg
crw-rw-rw-. 1 root kvm 10, 232 Mar 29 13:08 kvm
lrwxrwxrwx. 1 root root 28 Mar 29 13:08 log -> /run/systemd/journal/dev-log
crw-rw----. 1 root disk 10, 237 Mar 29 13:08 loop-control
crw-rw----. 1 root lp 6, 0 Mar 29 13:08 lp0
crw-rw----. 1 root lp 6, 1 Mar 29 13:08 lp1
crw-rw----. 1 root lp 6, 2 Mar 29 13:08 lp2
crw-rw----. 1 root lp 6, 3 Mar 29 13:08 lp3
drwxr-xr-x. 2 root root 120 Mar 29 13:08 mapper
crw-------. 1 root root 10, 227 Mar 29 13:08 mcelog
crw-------. 1 root root 238, 0 Mar 29 13:08 mei0
crw-r-----. 1 root kmem 1, 1 Mar 29 13:08 mem
drwxrwxrwt. 2 root root 40 Mar 29 13:08 mqueue
drwxr-xr-x. 2 root root 60 Mar 29 13:08 net
crw-rw-rw-. 1 root root 1, 3 Mar 29 13:08 null
crw-------. 1 root root 240, 0 Mar 29 13:08 nvme0
brw-rw----. 1 root disk 259, 1 Mar 29 14:27 nvme0n1
brw-rw----. 1 root disk 259, 2 Mar 29 14:27 nvme0n1p1
brw-rw----. 1 root disk 259, 4 Mar 29 14:27 nvme0n1p2
brw-rw----. 1 root disk 259, 5 Mar 29 14:27 nvme0n1p3
brw-rw----. 1 root disk 259, 8 Mar 29 14:27 nvme0n1p4
crw-------. 1 root root 240, 1 Mar 29 13:08 nvme1
brw-rw----. 1 root disk 259, 0 Mar 29 14:27 nvme1n1
brw-rw----. 1 root disk 259, 3 Mar 29 14:27 nvme1n1p1
brw-rw----. 1 root disk 259, 6 Mar 29 14:27 nvme1n1p2
brw-rw----. 1 root disk 259, 7 Mar 29 14:27 nvme1n1p3
crw-------. 1 root root 10, 144 Mar 29 13:08 nvram
crw-r-----. 1 root kmem 1, 4 Mar 29 13:08 port
crw-------. 1 root root 108, 0 Mar 29 13:08 ppp
crw-rw-rw-. 1 root tty 5, 2 Mar 30 11:20 ptmx
crw-------. 1 root root 247, 0 Mar 29 13:08 ptp0
drwxr-xr-x. 2 root root 0 Mar 29 13:08 pts
crw-rw-rw-. 1 root root 1, 8 Mar 29 13:08 random
drwxr-xr-x. 2 root root 60 Mar 29 13:08 raw
crw-rw-r--+ 1 root root 10, 242 Mar 29 13:08 rfkill
lrwxrwxrwx. 1 root root 4 Mar 29 13:08 rtc -> rtc0
crw-------. 1 root root 251, 0 Mar 29 13:08 rtc0
brw-rw----. 1 root disk 8, 0 Mar 29 14:27 sda
brw-rw----. 1 root disk 8, 16 Mar 29 14:27 sdb
brw-rw----. 1 root disk 8, 32 Mar 29 13:08 sdc
brw-rw----. 1 root disk 8, 48 Mar 29 13:08 sdd
brw-rw----. 1 root disk 8, 64 Mar 29 14:27 sde
brw-rw----. 1 root disk 8, 80 Mar 29 14:27 sdf
brw-rw----. 1 root disk 8, 96 Mar 29 14:27 sdg
crw-rw----. 1 root disk 21, 0 Mar 29 13:08 sg0
crw-rw----. 1 root disk 21, 1 Mar 29 13:08 sg1
crw-rw----. 1 root disk 21, 2 Mar 29 13:08 sg2
crw-rw----. 1 root disk 21, 3 Mar 29 13:08 sg3
crw-rw----. 1 root disk 21, 4 Mar 29 14:24 sg4
crw-rw----. 1 root disk 21, 5 Mar 29 13:08 sg5
crw-rw----. 1 root disk 21, 6 Mar 29 13:08 sg6
drwxrwxrwt. 2 root root 40 Mar 29 13:08 shm
crw-------. 1 root root 10, 231 Mar 29 13:08 snapshot
drwxr-xr-x. 3 root root 340 Mar 29 13:08 snd
lrwxrwxrwx. 1 root root 15 Mar 29 13:08 stderr -> /proc/self/fd/2
lrwxrwxrwx. 1 root root 15 Mar 29 13:08 stdin -> /proc/self/fd/0
lrwxrwxrwx. 1 root root 15 Mar 29 13:08 stdout -> /proc/self/fd/1
crw-rw-rw-. 1 root tty 5, 0 Mar 29 14:27 tty
crw--w----. 1 root tty 4, 0 Mar 29 13:08 tty0
crw--w----. 1 root tty 4, 1 Mar 29 13:08 tty1
crw--w----. 1 root tty 4, 10 Mar 29 13:08 tty10
crw--w----. 1 root tty 4, 11 Mar 29 13:08 tty11
crw--w----. 1 root tty 4, 12 Mar 29 13:08 tty12
crw--w----. 1 root tty 4, 13 Mar 29 13:08 tty13
crw--w----. 1 root tty 4, 14 Mar 29 13:08 tty14
crw--w----. 1 root tty 4, 15 Mar 29 13:08 tty15
crw--w----. 1 root tty 4, 16 Mar 29 13:08 tty16
crw--w----. 1 root tty 4, 17 Mar 29 13:08 tty17
crw--w----. 1 root tty 4, 18 Mar 29 13:08 tty18
crw--w----. 1 root tty 4, 19 Mar 29 13:08 tty19
crw--w----. 1 mcato tty 4, 2 Mar 29 13:15 tty2
crw--w----. 1 root tty 4, 20 Mar 29 13:08 tty20
crw--w----. 1 root tty 4, 21 Mar 29 13:08 tty21
crw--w----. 1 root tty 4, 22 Mar 29 13:08 tty22
crw--w----. 1 root tty 4, 23 Mar 29 13:08 tty23
crw--w----. 1 root tty 4, 24 Mar 29 13:08 tty24
crw--w----. 1 root tty 4, 25 Mar 29 13:08 tty25
crw--w----. 1 root tty 4, 26 Mar 29 13:08 tty26
crw--w----. 1 root tty 4, 27 Mar 29 13:08 tty27
crw--w----. 1 root tty 4, 28 Mar 29 13:08 tty28
crw--w----. 1 root tty 4, 29 Mar 29 13:08 tty29
crw--w----. 1 root tty 4, 3 Mar 29 13:08 tty3
crw--w----. 1 root tty 4, 30 Mar 29 13:08 tty30
crw--w----. 1 root tty 4, 31 Mar 29 13:08 tty31
crw--w----. 1 root tty 4, 32 Mar 29 13:08 tty32
crw--w----. 1 root tty 4, 33 Mar 29 13:08 tty33
crw--w----. 1 root tty 4, 34 Mar 29 13:08 tty34
crw--w----. 1 root tty 4, 35 Mar 29 13:08 tty35
crw--w----. 1 root tty 4, 36 Mar 29 13:08 tty36
crw--w----. 1 root tty 4, 37 Mar 29 13:08 tty37
crw--w----. 1 root tty 4, 38 Mar 29 13:08 tty38
crw--w----. 1 root tty 4, 39 Mar 29 13:08 tty39
crw--w----. 1 root tty 4, 4 Mar 29 13:08 tty4
crw--w----. 1 root tty 4, 40 Mar 29 13:08 tty40
crw--w----. 1 root tty 4, 41 Mar 29 13:08 tty41
crw--w----. 1 root tty 4, 42 Mar 29 13:08 tty42
crw--w----. 1 root tty 4, 43 Mar 29 13:08 tty43
crw--w----. 1 root tty 4, 44 Mar 29 13:08 tty44
crw--w----. 1 root tty 4, 45 Mar 29 13:08 tty45
crw--w----. 1 root tty 4, 46 Mar 29 13:08 tty46
crw--w----. 1 root tty 4, 47 Mar 29 13:08 tty47
crw--w----. 1 root tty 4, 48 Mar 29 13:08 tty48
crw--w----. 1 root tty 4, 49 Mar 29 13:08 tty49
crw--w----. 1 root tty 4, 5 Mar 29 13:08 tty5
crw--w----. 1 root tty 4, 50 Mar 29 13:08 tty50
crw--w----. 1 root tty 4, 51 Mar 29 13:08 tty51
crw--w----. 1 root tty 4, 52 Mar 29 13:08 tty52
crw--w----. 1 root tty 4, 53 Mar 29 13:08 tty53
crw--w----. 1 root tty 4, 54 Mar 29 13:08 tty54
crw--w----. 1 root tty 4, 55 Mar 29 13:08 tty55
crw--w----. 1 root tty 4, 56 Mar 29 13:08 tty56
crw--w----. 1 root tty 4, 57 Mar 29 13:08 tty57
crw--w----. 1 root tty 4, 58 Mar 29 13:08 tty58
crw--w----. 1 root tty 4, 59 Mar 29 13:08 tty59
crw--w----. 1 root tty 4, 6 Mar 29 13:08 tty6
crw--w----. 1 root tty 4, 60 Mar 29 13:08 tty60
crw--w----. 1 root tty 4, 61 Mar 29 13:08 tty61
crw--w----. 1 root tty 4, 62 Mar 29 13:08 tty62
crw--w----. 1 root tty 4, 63 Mar 29 13:08 tty63
crw--w----. 1 root tty 4, 7 Mar 29 13:08 tty7
crw--w----. 1 root tty 4, 8 Mar 29 13:08 tty8
crw--w----. 1 root tty 4, 9 Mar 29 13:08 tty9
crw-rw----. 1 root dialout 4, 64 Mar 29 13:08 ttyS0
crw-rw----. 1 root dialout 4, 65 Mar 29 13:08 ttyS1
crw-rw----. 1 root dialout 4, 74 Mar 29 13:08 ttyS10
crw-rw----. 1 root dialout 4, 75 Mar 29 13:08 ttyS11
crw-rw----. 1 root dialout 4, 76 Mar 29 13:08 ttyS12
crw-rw----. 1 root dialout 4, 77 Mar 29 13:08 ttyS13
crw-rw----. 1 root dialout 4, 78 Mar 29 13:08 ttyS14
crw-rw----. 1 root dialout 4, 79 Mar 29 13:08 ttyS15
crw-rw----. 1 root dialout 4, 80 Mar 29 13:08 ttyS16
crw-rw----. 1 root dialout 4, 81 Mar 29 13:08 ttyS17
crw-rw----. 1 root dialout 4, 82 Mar 29 13:08 ttyS18
crw-rw----. 1 root dialout 4, 83 Mar 29 13:08 ttyS19
crw-rw----. 1 root dialout 4, 66 Mar 29 13:08 ttyS2
crw-rw----. 1 root dialout 4, 84 Mar 29 13:08 ttyS20
crw-rw----. 1 root dialout 4, 85 Mar 29 13:08 ttyS21
crw-rw----. 1 root dialout 4, 86 Mar 29 13:08 ttyS22
crw-rw----. 1 root dialout 4, 87 Mar 29 13:08 ttyS23
crw-rw----. 1 root dialout 4, 88 Mar 29 13:08 ttyS24
crw-rw----. 1 root dialout 4, 89 Mar 29 13:08 ttyS25
crw-rw----. 1 root dialout 4, 90 Mar 29 13:08 ttyS26
crw-rw----. 1 root dialout 4, 91 Mar 29 13:08 ttyS27
crw-rw----. 1 root dialout 4, 92 Mar 29 13:08 ttyS28
crw-rw----. 1 root dialout 4, 93 Mar 29 13:08 ttyS29
crw-rw----. 1 root dialout 4, 67 Mar 29 13:08 ttyS3
crw-rw----. 1 root dialout 4, 94 Mar 29 13:08 ttyS30
crw-rw----. 1 root dialout 4, 95 Mar 29 13:08 ttyS31
crw-rw----. 1 root dialout 4, 68 Mar 29 13:08 ttyS4
crw-rw----. 1 root dialout 4, 69 Mar 29 13:08 ttyS5
crw-rw----. 1 root dialout 4, 70 Mar 29 13:08 ttyS6
crw-rw----. 1 root dialout 4, 71 Mar 29 13:08 ttyS7
crw-rw----. 1 root dialout 4, 72 Mar 29 13:08 ttyS8
crw-rw----. 1 root dialout 4, 73 Mar 29 13:08 ttyS9
crw-rw----. 1 root kvm 10, 62 Mar 29 13:08 udmabuf
crw-------. 1 root root 10, 239 Mar 29 13:08 uhid
crw-------. 1 root root 10, 223 Mar 29 13:15 uinput
crw-rw-rw-. 1 root root 1, 9 Mar 29 13:08 urandom
drwxr-xr-x. 2 root root 60 Mar 29 13:08 usb
crw-------. 1 root root 244, 0 Mar 29 13:08 usbmon0
crw-------. 1 root root 244, 1 Mar 29 13:08 usbmon1
crw-------. 1 root root 244, 2 Mar 29 13:08 usbmon2
crw-------. 1 root root 244, 3 Mar 29 13:08 usbmon3
crw-------. 1 root root 244, 4 Mar 29 13:08 usbmon4
crw-rw----. 1 root tty 7, 0 Mar 29 13:08 vcs
crw-rw----. 1 root tty 7, 1 Mar 29 13:08 vcs1
crw-rw----. 1 root tty 7, 2 Mar 29 13:08 vcs2
crw-rw----. 1 root tty 7, 3 Mar 29 13:08 vcs3
crw-rw----. 1 root tty 7, 4 Mar 29 13:08 vcs4
crw-rw----. 1 root tty 7, 5 Mar 29 13:08 vcs5
crw-rw----. 1 root tty 7, 6 Mar 29 13:08 vcs6
crw-rw----. 1 root tty 7, 128 Mar 29 13:08 vcsa
crw-rw----. 1 root tty 7, 129 Mar 29 13:08 vcsa1
crw-rw----. 1 root tty 7, 130 Mar 29 13:08 vcsa2
crw-rw----. 1 root tty 7, 131 Mar 29 13:08 vcsa3
crw-rw----. 1 root tty 7, 132 Mar 29 13:08 vcsa4
crw-rw----. 1 root tty 7, 133 Mar 29 13:08 vcsa5
crw-rw----. 1 root tty 7, 134 Mar 29 13:08 vcsa6
crw-rw----. 1 root tty 7, 64 Mar 29 13:08 vcsu
crw-rw----. 1 root tty 7, 65 Mar 29 13:08 vcsu1
crw-rw----. 1 root tty 7, 66 Mar 29 13:08 vcsu2
crw-rw----. 1 root tty 7, 67 Mar 29 13:08 vcsu3
crw-rw----. 1 root tty 7, 68 Mar 29 13:08 vcsu4
crw-rw----. 1 root tty 7, 69 Mar 29 13:08 vcsu5
crw-rw----. 1 root tty 7, 70 Mar 29 13:08 vcsu6
drwxr-xr-x. 2 root root 60 Mar 29 13:08 vfio
crw-------. 1 root root 10, 63 Mar 29 13:08 vga_arbiter
crw-------. 1 root root 10, 137 Mar 29 13:08 vhci
crw-------. 1 root root 10, 238 Mar 29 13:08 vhost-net
crw-------. 1 root root 10, 241 Mar 29 13:08 vhost-vsock
crw-------. 1 root root 10, 130 Mar 29 13:08 watchdog
crw-------. 1 root root 246, 0 Mar 29 13:08 watchdog0
crw-rw-rw-. 1 root root 1, 5 Mar 29 13:08 zero
From: PartialVolume <[email protected]>
Sent: Monday, March 30, 2020 11:15
To: martijnvanbrummelen/nwipe <[email protected]>
Cc: Mike Cato / Hays Technical Services <[email protected]>; Mention <[email protected]>
Subject: Re: [martijnvanbrummelen/nwipe] Add serial number support for USB devices (#230)
@mdcato<https://github.com/mdcato> I wonder if it's got anything to do with this bug https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1647485
Can you
ls -al /dev/
and paste here. Also what distro and version are you using ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#230 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANGK2PQHKLCOKMXWYMJHDFLRKDARLANCNFSM4LS7R6XA>.
|
Using Fedora 31, updated 2020-03-29, Linux kernel 5.5.11-200.fc31.x86_64
From: Mike Cato / Hays Technical Services
Sent: Monday, March 30, 2020 11:23
To: martijnvanbrummelen/nwipe <[email protected]>; martijnvanbrummelen/nwipe <[email protected]>
Cc: Mention <[email protected]>
Subject: RE: [martijnvanbrummelen/nwipe] Add serial number support for USB devices (#230)
total 4
drwxr-xr-x. 21 root root 4520 Mar 29 22:14 .
dr-xr-xr-x. 18 root root 4096 Mar 27 11:53 ..
crw-r--r--. 1 root root 10, 235 Mar 29 13:08 autofs
drwxr-xr-x. 2 root root 420 Mar 29 14:24 block
drwxr-xr-x. 2 root root 180 Mar 29 14:24 bsg
crw-------. 1 root root 10, 234 Mar 29 13:08 btrfs-control
drwxr-xr-x. 3 root root 60 Mar 29 13:08 bus
drwxr-xr-x. 2 root root 4860 Mar 29 14:24 char
crw--w----. 1 root tty 5, 1 Mar 29 13:08 console
lrwxrwxrwx. 1 root root 11 Mar 29 13:08 core -> /proc/kcore
drwxr-xr-x. 8 root root 160 Mar 29 13:08 cpu
crw-------. 1 root root 10, 61 Mar 29 13:08 cpu_dma_latency
crw-------. 1 root root 10, 203 Mar 29 13:08 cuse
drwxr-xr-x. 8 root root 160 Mar 29 13:08 disk
brw-rw----. 1 root disk 253, 0 Mar 29 13:08 dm-0
brw-rw----. 1 root disk 253, 1 Mar 29 13:08 dm-1
brw-rw----. 1 root disk 253, 2 Mar 29 13:08 dm-2
drwxr-xr-x. 3 root root 100 Mar 29 13:08 dri
crw-rw----. 1 root video 29, 0 Mar 29 13:08 fb0
lrwxrwxrwx. 1 root root 13 Mar 29 13:08 fd -> /proc/self/fd
drwxr-xr-x. 2 root root 100 Mar 29 13:08 fedora_localhost-live
crw-rw-rw-. 1 root root 1, 7 Mar 29 13:08 full
crw-rw-rw-. 1 root root 10, 229 Mar 29 13:08 fuse
crw-------. 1 root root 241, 0 Mar 29 13:08 hidraw0
crw-------. 1 root root 241, 1 Mar 29 13:08 hidraw1
crw-------. 1 root root 241, 2 Mar 29 13:08 hidraw2
crw-------. 1 root root 241, 3 Mar 29 13:08 hidraw3
crw-------. 1 root root 241, 4 Mar 29 13:08 hidraw4
crw-------. 1 root root 10, 228 Mar 29 13:08 hpet
drwxr-xr-x. 3 root root 0 Mar 29 13:08 hugepages
crw-------. 1 root root 10, 183 Mar 29 13:08 hwrng
lrwxrwxrwx. 1 root root 12 Mar 29 13:08 initctl -> /run/initctl
drwxr-xr-x. 4 root root 580 Mar 29 13:08 input
crw-r--r--. 1 root root 1, 11 Mar 29 13:08 kmsg
crw-rw-rw-. 1 root kvm 10, 232 Mar 29 13:08 kvm
lrwxrwxrwx. 1 root root 28 Mar 29 13:08 log -> /run/systemd/journal/dev-log
crw-rw----. 1 root disk 10, 237 Mar 29 13:08 loop-control
crw-rw----. 1 root lp 6, 0 Mar 29 13:08 lp0
crw-rw----. 1 root lp 6, 1 Mar 29 13:08 lp1
crw-rw----. 1 root lp 6, 2 Mar 29 13:08 lp2
crw-rw----. 1 root lp 6, 3 Mar 29 13:08 lp3
drwxr-xr-x. 2 root root 120 Mar 29 13:08 mapper
crw-------. 1 root root 10, 227 Mar 29 13:08 mcelog
crw-------. 1 root root 238, 0 Mar 29 13:08 mei0
crw-r-----. 1 root kmem 1, 1 Mar 29 13:08 mem
drwxrwxrwt. 2 root root 40 Mar 29 13:08 mqueue
drwxr-xr-x. 2 root root 60 Mar 29 13:08 net
crw-rw-rw-. 1 root root 1, 3 Mar 29 13:08 null
crw-------. 1 root root 240, 0 Mar 29 13:08 nvme0
brw-rw----. 1 root disk 259, 1 Mar 29 14:27 nvme0n1
brw-rw----. 1 root disk 259, 2 Mar 29 14:27 nvme0n1p1
brw-rw----. 1 root disk 259, 4 Mar 29 14:27 nvme0n1p2
brw-rw----. 1 root disk 259, 5 Mar 29 14:27 nvme0n1p3
brw-rw----. 1 root disk 259, 8 Mar 29 14:27 nvme0n1p4
crw-------. 1 root root 240, 1 Mar 29 13:08 nvme1
brw-rw----. 1 root disk 259, 0 Mar 29 14:27 nvme1n1
brw-rw----. 1 root disk 259, 3 Mar 29 14:27 nvme1n1p1
brw-rw----. 1 root disk 259, 6 Mar 29 14:27 nvme1n1p2
brw-rw----. 1 root disk 259, 7 Mar 29 14:27 nvme1n1p3
crw-------. 1 root root 10, 144 Mar 29 13:08 nvram
crw-r-----. 1 root kmem 1, 4 Mar 29 13:08 port
crw-------. 1 root root 108, 0 Mar 29 13:08 ppp
crw-rw-rw-. 1 root tty 5, 2 Mar 30 11:20 ptmx
crw-------. 1 root root 247, 0 Mar 29 13:08 ptp0
drwxr-xr-x. 2 root root 0 Mar 29 13:08 pts
crw-rw-rw-. 1 root root 1, 8 Mar 29 13:08 random
drwxr-xr-x. 2 root root 60 Mar 29 13:08 raw
crw-rw-r--+ 1 root root 10, 242 Mar 29 13:08 rfkill
lrwxrwxrwx. 1 root root 4 Mar 29 13:08 rtc -> rtc0
crw-------. 1 root root 251, 0 Mar 29 13:08 rtc0
brw-rw----. 1 root disk 8, 0 Mar 29 14:27 sda
brw-rw----. 1 root disk 8, 16 Mar 29 14:27 sdb
brw-rw----. 1 root disk 8, 32 Mar 29 13:08 sdc
brw-rw----. 1 root disk 8, 48 Mar 29 13:08 sdd
brw-rw----. 1 root disk 8, 64 Mar 29 14:27 sde
brw-rw----. 1 root disk 8, 80 Mar 29 14:27 sdf
brw-rw----. 1 root disk 8, 96 Mar 29 14:27 sdg
crw-rw----. 1 root disk 21, 0 Mar 29 13:08 sg0
crw-rw----. 1 root disk 21, 1 Mar 29 13:08 sg1
crw-rw----. 1 root disk 21, 2 Mar 29 13:08 sg2
crw-rw----. 1 root disk 21, 3 Mar 29 13:08 sg3
crw-rw----. 1 root disk 21, 4 Mar 29 14:24 sg4
crw-rw----. 1 root disk 21, 5 Mar 29 13:08 sg5
crw-rw----. 1 root disk 21, 6 Mar 29 13:08 sg6
drwxrwxrwt. 2 root root 40 Mar 29 13:08 shm
crw-------. 1 root root 10, 231 Mar 29 13:08 snapshot
drwxr-xr-x. 3 root root 340 Mar 29 13:08 snd
lrwxrwxrwx. 1 root root 15 Mar 29 13:08 stderr -> /proc/self/fd/2
lrwxrwxrwx. 1 root root 15 Mar 29 13:08 stdin -> /proc/self/fd/0
lrwxrwxrwx. 1 root root 15 Mar 29 13:08 stdout -> /proc/self/fd/1
crw-rw-rw-. 1 root tty 5, 0 Mar 29 14:27 tty
crw--w----. 1 root tty 4, 0 Mar 29 13:08 tty0
crw--w----. 1 root tty 4, 1 Mar 29 13:08 tty1
crw--w----. 1 root tty 4, 10 Mar 29 13:08 tty10
crw--w----. 1 root tty 4, 11 Mar 29 13:08 tty11
crw--w----. 1 root tty 4, 12 Mar 29 13:08 tty12
crw--w----. 1 root tty 4, 13 Mar 29 13:08 tty13
crw--w----. 1 root tty 4, 14 Mar 29 13:08 tty14
crw--w----. 1 root tty 4, 15 Mar 29 13:08 tty15
crw--w----. 1 root tty 4, 16 Mar 29 13:08 tty16
crw--w----. 1 root tty 4, 17 Mar 29 13:08 tty17
crw--w----. 1 root tty 4, 18 Mar 29 13:08 tty18
crw--w----. 1 root tty 4, 19 Mar 29 13:08 tty19
crw--w----. 1 mcato tty 4, 2 Mar 29 13:15 tty2
crw--w----. 1 root tty 4, 20 Mar 29 13:08 tty20
crw--w----. 1 root tty 4, 21 Mar 29 13:08 tty21
crw--w----. 1 root tty 4, 22 Mar 29 13:08 tty22
crw--w----. 1 root tty 4, 23 Mar 29 13:08 tty23
crw--w----. 1 root tty 4, 24 Mar 29 13:08 tty24
crw--w----. 1 root tty 4, 25 Mar 29 13:08 tty25
crw--w----. 1 root tty 4, 26 Mar 29 13:08 tty26
crw--w----. 1 root tty 4, 27 Mar 29 13:08 tty27
crw--w----. 1 root tty 4, 28 Mar 29 13:08 tty28
crw--w----. 1 root tty 4, 29 Mar 29 13:08 tty29
crw--w----. 1 root tty 4, 3 Mar 29 13:08 tty3
crw--w----. 1 root tty 4, 30 Mar 29 13:08 tty30
crw--w----. 1 root tty 4, 31 Mar 29 13:08 tty31
crw--w----. 1 root tty 4, 32 Mar 29 13:08 tty32
crw--w----. 1 root tty 4, 33 Mar 29 13:08 tty33
crw--w----. 1 root tty 4, 34 Mar 29 13:08 tty34
crw--w----. 1 root tty 4, 35 Mar 29 13:08 tty35
crw--w----. 1 root tty 4, 36 Mar 29 13:08 tty36
crw--w----. 1 root tty 4, 37 Mar 29 13:08 tty37
crw--w----. 1 root tty 4, 38 Mar 29 13:08 tty38
crw--w----. 1 root tty 4, 39 Mar 29 13:08 tty39
crw--w----. 1 root tty 4, 4 Mar 29 13:08 tty4
crw--w----. 1 root tty 4, 40 Mar 29 13:08 tty40
crw--w----. 1 root tty 4, 41 Mar 29 13:08 tty41
crw--w----. 1 root tty 4, 42 Mar 29 13:08 tty42
crw--w----. 1 root tty 4, 43 Mar 29 13:08 tty43
crw--w----. 1 root tty 4, 44 Mar 29 13:08 tty44
crw--w----. 1 root tty 4, 45 Mar 29 13:08 tty45
crw--w----. 1 root tty 4, 46 Mar 29 13:08 tty46
crw--w----. 1 root tty 4, 47 Mar 29 13:08 tty47
crw--w----. 1 root tty 4, 48 Mar 29 13:08 tty48
crw--w----. 1 root tty 4, 49 Mar 29 13:08 tty49
crw--w----. 1 root tty 4, 5 Mar 29 13:08 tty5
crw--w----. 1 root tty 4, 50 Mar 29 13:08 tty50
crw--w----. 1 root tty 4, 51 Mar 29 13:08 tty51
crw--w----. 1 root tty 4, 52 Mar 29 13:08 tty52
crw--w----. 1 root tty 4, 53 Mar 29 13:08 tty53
crw--w----. 1 root tty 4, 54 Mar 29 13:08 tty54
crw--w----. 1 root tty 4, 55 Mar 29 13:08 tty55
crw--w----. 1 root tty 4, 56 Mar 29 13:08 tty56
crw--w----. 1 root tty 4, 57 Mar 29 13:08 tty57
crw--w----. 1 root tty 4, 58 Mar 29 13:08 tty58
crw--w----. 1 root tty 4, 59 Mar 29 13:08 tty59
crw--w----. 1 root tty 4, 6 Mar 29 13:08 tty6
crw--w----. 1 root tty 4, 60 Mar 29 13:08 tty60
crw--w----. 1 root tty 4, 61 Mar 29 13:08 tty61
crw--w----. 1 root tty 4, 62 Mar 29 13:08 tty62
crw--w----. 1 root tty 4, 63 Mar 29 13:08 tty63
crw--w----. 1 root tty 4, 7 Mar 29 13:08 tty7
crw--w----. 1 root tty 4, 8 Mar 29 13:08 tty8
crw--w----. 1 root tty 4, 9 Mar 29 13:08 tty9
crw-rw----. 1 root dialout 4, 64 Mar 29 13:08 ttyS0
crw-rw----. 1 root dialout 4, 65 Mar 29 13:08 ttyS1
crw-rw----. 1 root dialout 4, 74 Mar 29 13:08 ttyS10
crw-rw----. 1 root dialout 4, 75 Mar 29 13:08 ttyS11
crw-rw----. 1 root dialout 4, 76 Mar 29 13:08 ttyS12
crw-rw----. 1 root dialout 4, 77 Mar 29 13:08 ttyS13
crw-rw----. 1 root dialout 4, 78 Mar 29 13:08 ttyS14
crw-rw----. 1 root dialout 4, 79 Mar 29 13:08 ttyS15
crw-rw----. 1 root dialout 4, 80 Mar 29 13:08 ttyS16
crw-rw----. 1 root dialout 4, 81 Mar 29 13:08 ttyS17
crw-rw----. 1 root dialout 4, 82 Mar 29 13:08 ttyS18
crw-rw----. 1 root dialout 4, 83 Mar 29 13:08 ttyS19
crw-rw----. 1 root dialout 4, 66 Mar 29 13:08 ttyS2
crw-rw----. 1 root dialout 4, 84 Mar 29 13:08 ttyS20
crw-rw----. 1 root dialout 4, 85 Mar 29 13:08 ttyS21
crw-rw----. 1 root dialout 4, 86 Mar 29 13:08 ttyS22
crw-rw----. 1 root dialout 4, 87 Mar 29 13:08 ttyS23
crw-rw----. 1 root dialout 4, 88 Mar 29 13:08 ttyS24
crw-rw----. 1 root dialout 4, 89 Mar 29 13:08 ttyS25
crw-rw----. 1 root dialout 4, 90 Mar 29 13:08 ttyS26
crw-rw----. 1 root dialout 4, 91 Mar 29 13:08 ttyS27
crw-rw----. 1 root dialout 4, 92 Mar 29 13:08 ttyS28
crw-rw----. 1 root dialout 4, 93 Mar 29 13:08 ttyS29
crw-rw----. 1 root dialout 4, 67 Mar 29 13:08 ttyS3
crw-rw----. 1 root dialout 4, 94 Mar 29 13:08 ttyS30
crw-rw----. 1 root dialout 4, 95 Mar 29 13:08 ttyS31
crw-rw----. 1 root dialout 4, 68 Mar 29 13:08 ttyS4
crw-rw----. 1 root dialout 4, 69 Mar 29 13:08 ttyS5
crw-rw----. 1 root dialout 4, 70 Mar 29 13:08 ttyS6
crw-rw----. 1 root dialout 4, 71 Mar 29 13:08 ttyS7
crw-rw----. 1 root dialout 4, 72 Mar 29 13:08 ttyS8
crw-rw----. 1 root dialout 4, 73 Mar 29 13:08 ttyS9
crw-rw----. 1 root kvm 10, 62 Mar 29 13:08 udmabuf
crw-------. 1 root root 10, 239 Mar 29 13:08 uhid
crw-------. 1 root root 10, 223 Mar 29 13:15 uinput
crw-rw-rw-. 1 root root 1, 9 Mar 29 13:08 urandom
drwxr-xr-x. 2 root root 60 Mar 29 13:08 usb
crw-------. 1 root root 244, 0 Mar 29 13:08 usbmon0
crw-------. 1 root root 244, 1 Mar 29 13:08 usbmon1
crw-------. 1 root root 244, 2 Mar 29 13:08 usbmon2
crw-------. 1 root root 244, 3 Mar 29 13:08 usbmon3
crw-------. 1 root root 244, 4 Mar 29 13:08 usbmon4
crw-rw----. 1 root tty 7, 0 Mar 29 13:08 vcs
crw-rw----. 1 root tty 7, 1 Mar 29 13:08 vcs1
crw-rw----. 1 root tty 7, 2 Mar 29 13:08 vcs2
crw-rw----. 1 root tty 7, 3 Mar 29 13:08 vcs3
crw-rw----. 1 root tty 7, 4 Mar 29 13:08 vcs4
crw-rw----. 1 root tty 7, 5 Mar 29 13:08 vcs5
crw-rw----. 1 root tty 7, 6 Mar 29 13:08 vcs6
crw-rw----. 1 root tty 7, 128 Mar 29 13:08 vcsa
crw-rw----. 1 root tty 7, 129 Mar 29 13:08 vcsa1
crw-rw----. 1 root tty 7, 130 Mar 29 13:08 vcsa2
crw-rw----. 1 root tty 7, 131 Mar 29 13:08 vcsa3
crw-rw----. 1 root tty 7, 132 Mar 29 13:08 vcsa4
crw-rw----. 1 root tty 7, 133 Mar 29 13:08 vcsa5
crw-rw----. 1 root tty 7, 134 Mar 29 13:08 vcsa6
crw-rw----. 1 root tty 7, 64 Mar 29 13:08 vcsu
crw-rw----. 1 root tty 7, 65 Mar 29 13:08 vcsu1
crw-rw----. 1 root tty 7, 66 Mar 29 13:08 vcsu2
crw-rw----. 1 root tty 7, 67 Mar 29 13:08 vcsu3
crw-rw----. 1 root tty 7, 68 Mar 29 13:08 vcsu4
crw-rw----. 1 root tty 7, 69 Mar 29 13:08 vcsu5
crw-rw----. 1 root tty 7, 70 Mar 29 13:08 vcsu6
drwxr-xr-x. 2 root root 60 Mar 29 13:08 vfio
crw-------. 1 root root 10, 63 Mar 29 13:08 vga_arbiter
crw-------. 1 root root 10, 137 Mar 29 13:08 vhci
crw-------. 1 root root 10, 238 Mar 29 13:08 vhost-net
crw-------. 1 root root 10, 241 Mar 29 13:08 vhost-vsock
crw-------. 1 root root 10, 130 Mar 29 13:08 watchdog
crw-------. 1 root root 246, 0 Mar 29 13:08 watchdog0
crw-rw-rw-. 1 root root 1, 5 Mar 29 13:08 zero
|
Sorry ! I gave you some duff info. You need to type
and not
|
../devices/pci0000:00/0000:00:1b.4/0000:03:00.0/nvme/nvme0/nvme0n1
|
That's great, thanks. That's all I need to add NVME. |
Add serial number support for USB devices for USB
to IDE/SATA adapters. Note this will only work
with USB IDE/SATA adapters that support ATA pass
through. See #149 for further details of
supported devices.
This patch requires readlink and smartmontools (smartctl)
to be installed. If not installed the serial number for
supported USB hardware will be missing.
Chipsets that support this include:
ASMedia, Initio, Oxford, newer JMicron-JM20329, JM20335-39, Prolific PL2507/3507 PL2571/2771/2773/2775 ,Sunplus SPIF215/6, SPIF225/6.
Jmicron, Prolific and Sunplus supports fully ATA pass-through.
Further information can be found here:
https://www.smartmontools.org/wiki/USB
In addition, the device type, i.e USB or ATA is now shown on the selection
and wipe windows.
Closes #149