Wie findet man heraus welches Gerät ein USB-Stick / die Festplatte ist?
Ich hätte das mit
gemacht. Allerdings will ich ganz sicher gehen.
Folgende Meldung bekomme ich unter anderem mit hwinfo --disk:
29: SCSI 700.0: 10600 Disk
[Created at block.243]
UDI: /org/freedesktop/Hal/devices/storage_serial_UDISK_PDU01_4G_86H2_0_0000000000002E_0_0
Unique ID: Uc5H.KxXdm9tJks1
Parent ID: sClz.Gko0i8C4WJ4
SysFS ID: /class/block/sdc
SysFS BusID: 7:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.0/host7/target7:0:0/7:0:0:0
Hardware Class: disk
Model: "UDISK PDU01-4G 86H2.0"
Vendor: usb 0x1307 "UDISK"
Device: usb 0x0165 "PDU01-4G 86H2.0"
Revision: "0.00"
Serial ID: "0000000000002E"
Driver: "usb-storage", "sd"
Driver Modules: "usb_storage"
Device File: /dev/sdc (/dev/sg3)
Device Files: /dev/sdc, /dev/block/8:32, /dev/disk/by-id/usb-UDISK_PDU01-4G_86H2.0_0000000000002E-0:0, /dev/disk/by-path/pci-0000:00:1a.7-usb-0:4:1.0-scsi-0:0:0:0, /dev/disk/by-uuid/5494-0341
Device Number: block 8:32-8:47 (char 21:3)
Features: Hotpluggable
Speed: 480 Mbps
Module Alias: "usb:v1307p0165d0100dc00dsc00dp00ic08isc06ip50"
Driver Info #0:
Driver Status: usb_storage is active
Driver Activation Cmd: "modprobe usb_storage"
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #6 (USB Controller)
ist also /dev/sdc der usb-stick? Müsste ich, um sicher zu gehen dass alle Daten überschrieben wurden, folgendes eingeben:
| sudo shred -vzn 0 /dev/sdc
|
edit: Ich glaub ich hab die Lösung gefunden. Mit
erhalte ich unter anderem folgende Zeile:
| /dev/sdc on /media/5494-0341 type vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
|