Advertisement
Guest User

Untitled

a guest
Jun 29th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. [135707.415227] usb 2-1.3: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
  2. [135707.435975] usb 2-1.3: New USB device found, idVendor=0930, idProduct=6545, bcdDevice= 1.10
  3. [135707.435979] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  4. [135707.435981] usb 2-1.3: Product: USB FLASH DRIVE
  5. [135707.435982] usb 2-1.3: Manufacturer: TOSHIBA
  6. [135707.435984] usb 2-1.3: SerialNumber: C03FD5FBA9E2E16090021510
  7. [135707.439253] usb-storage 2-1.3:1.0: USB Mass Storage device detected
  8. [135707.444685] scsi host4: usb-storage 2-1.3:1.0
  9. [135708.471647] scsi 4:0:0:0: Direct-Access TOSHIBA USB FLASH DRIVE PMAP PQ: 0 ANSI: 6
  10. [135708.472850] sd 4:0:0:0: Attached scsi generic sg2 type 0
  11. [135708.473057] sd 4:0:0:0: [sdc] 60506112 512-byte logical blocks: (31.0 GB/28.9 GiB)
  12. [135708.473218] sd 4:0:0:0: [sdc] Write Protect is off
  13. [135708.473220] sd 4:0:0:0: [sdc] Mode Sense: 45 00 00 00
  14. [135708.473376] sd 4:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
  15. [135708.566377] sdc: sdc1 sdc2
  16. [135708.567223] sd 4:0:0:0: [sdc] Attached SCSI removable disk
  17. akem@akem-HP:~$ mount /dev/sdc1 /mnt/ext/
  18. mount: only root can do that
  19. akem@akem-HP:~$ sudo mount /dev/sdc1 /mnt/ext/
  20. [sudo] password for akem:
  21. mount: /mnt/ext: WARNING: device write-protected, mounted read-only.
  22. akem@akem-HP:~$ sudo umount /mnt/ext
  23. akem@akem-HP:~$ sudo hdparm -r0 /dev/sdc
  24.  
  25. /dev/sdc:
  26. setting readonly to 0 (off)
  27. readonly = 0 (off)
  28. akem@akem-HP:~$ sudo mount /dev/sdc1 /mnt/ext/
  29. mount: /mnt/ext: WARNING: device write-protected, mounted read-only.
  30. akem@akem-HP:~$ sudo mount -o remount,rw /mnt/ext/
  31. mount: /mnt/ext: cannot remount /dev/sdc1 read-write, is write-protected.
  32. akem@akem-HP:~$ sudo hdparm -r0 /dev/sdc
  33.  
  34. /dev/sdc:
  35. setting readonly to 0 (off)
  36. readonly = 0 (off)
  37. akem@akem-HP:~$ sudo hdparm -r0 /dev/sdc1
  38.  
  39. /dev/sdc1:
  40. setting readonly to 0 (off)
  41. readonly = 0 (off)
  42. akem@akem-HP:~$ sudo mount -o remount,rw /mnt/ext/
  43. mount: /mnt/ext: cannot remount /dev/sdc1 read-write, is write-protected.
  44. akem@akem-HP:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement