Advertisement
Guest User

After

a guest
Sep 17th, 2021
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.43 KB | None | 0 0
  1. $ udevadm monitor
  2. monitor will print the received events for:
  3. UDEV - the event which udev sends out after rule processing
  4. KERNEL - the kernel uevent
  5.  
  6. KERNEL[8011.885976] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0 (scsi)
  7. KERNEL[8011.886027] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0 (scsi)
  8. KERNEL[8011.886050] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/scsi_device/5:0:0:0 (scsi_device)
  9. KERNEL[8011.886068] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/scsi_disk/5:0:0:0 (scsi_disk)
  10. KERNEL[8011.886093] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/scsi_generic/sg3 (scsi_generic)
  11. KERNEL[8011.886151] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/bsg/5:0:0:0 (bsg)
  12. UDEV  [8011.888231] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0 (scsi)
  13. UDEV  [8011.889720] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0 (scsi)
  14. UDEV  [8011.891286] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/scsi_device/5:0:0:0 (scsi_device)
  15. UDEV  [8011.892519] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/scsi_disk/5:0:0:0 (scsi_disk)
  16. UDEV  [8011.893453] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/scsi_generic/sg3 (scsi_generic)
  17. UDEV  [8011.893522] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/bsg/5:0:0:0 (bsg)
  18. KERNEL[8011.900417] add      /devices/virtual/bdi/8:32 (bdi)
  19. UDEV  [8011.901966] add      /devices/virtual/bdi/8:32 (bdi)
  20. KERNEL[8011.914630] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/block/sdc (block)
  21. KERNEL[8011.914733] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/block/sdc/sdc1 (block)
  22. KERNEL[8011.914811] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/block/sdc/sdc2 (block)
  23. KERNEL[8011.914884] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/block/sdc/sdc5 (block)
  24. KERNEL[8011.993834] bind     /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0 (scsi)
  25. UDEV  [8012.112304] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/block/sdc (block)
  26. UDEV  [8012.148741] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/block/sdc/sdc2 (block)
  27. UDEV  [8012.445545] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/block/sdc/sdc5 (block)
  28. UDEV  [8012.460498] add      /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0/block/sdc/sdc1 (block)
  29. UDEV  [8012.461185] bind     /devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/ata6/host5/target5:0:0/5:0:0:0 (scsi)
  30.  
  31. Confirmed by 'lsblk -f'
  32.  
  33. # lsblk -f
  34. NAME        FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
  35. sda                                                                                
  36. └─sda1      ntfs               092D2C335FBD87D1                                    
  37. sdb                                                                                
  38. ├─sdb1      ntfs               22C07EF4C07ECD93                                    
  39. ├─sdb2                                                                            
  40. └─sdb5      ntfs               1AA8A653A8A62CE7                                    
  41. sr0                                                                                
  42. nvme0n1                                                                            
  43. ├─nvme0n1p1 vfat   FAT32       AD09-0300                             231.3M    11% /boot/efi
  44. ├─nvme0n1p2                                                                        
  45. ├─nvme0n1p3 ntfs               7A360E73360E30A5                                    
  46. └─nvme0n1p4 btrfs              040dc48b-c3e7-4a38-9061-808f49a2f384  140.3G     4% /var/log
  47.                                                                                    /home
  48.                                                                                    /var/cache
  49.                                                                                    /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement