123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
dm info -a -n /dev/sda ; echo ; lsusb
grub-efi-amd64:
Telepítve: (nincs)
Jelölt: 2.04-1ubuntu44.2
Verziótáblázat:
2.04-1ubuntu44.2 500
500 https://quantum-mirror.hu/mirrors/pub/ubuntu focal-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
2.04-1ubuntu26 500
500 https://quantum-mirror.hu/mirrors/pub/ubuntu focal/main amd64 Packages
[sudo] password for fthes:
update-initramfs: Generating /boot/initrd.img-5.4.0-117-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-113-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-110-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-91-generic
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-117-generic
Found initrd image: /boot/initrd.img-5.4.0-117-generic
Found linux image: /boot/vmlinuz-5.4.0-113-generic
Found initrd image: /boot/initrd.img-5.4.0-113-generic
Found linux image: /boot/vmlinuz-5.4.0-110-generic
Found initrd image: /boot/initrd.img-5.4.0-110-generic
Found linux image: /boot/vmlinuz-5.4.0-91-generic
Found initrd image: /boot/initrd.img-5.4.0-91-generic
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
Adding boot menu entry for UEFI Firmware Settings
done
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 4,6M 1 loop
sr0 11:0 1 6,8M 0 rom /media/fthes/ZTEMODEM
nvme0n1 259:0 0 238,5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
└─nvme0n1p2 259:2 0 238G 0 part /run/timeshift/backup
brw-rw---- 1 root disk 8, 0 jún 10 19:25 /dev/sda
fdisk: cannot open /dev/sd: No such file or directory
Command '?ls' not found, did you mean:
command 'ls' from deb coreutils (8.30-3ubuntu2)
command 'ils' from deb sleuthkit (4.6.7-1build1)
command 'fls' from deb sleuthkit (4.6.7-1build1)
command 'hls' from deb hfsutils (3.2.6-14)
command 'bls' from deb bacula-sd (9.4.2-2ubuntu5)
command 'als' from deb atool (0.39.0-10)
command 'jls' from deb sleuthkit (4.6.7-1build1)
command 'ols' from deb speech-tools (1:2.5.0-8build1)
Try: sudo apt install <deb name>
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/host2/target2:0:0/2:0:0:1/block/sda':
KERNEL=="sda"
SUBSYSTEM=="block"
DRIVER==""
ATTR{range}=="16"
ATTR{events_async}==""
ATTR{events_poll_msecs}=="-1"
ATTR{alignment_offset}=="0"
ATTR{discard_alignment}=="0"
ATTR{inflight}==" 0 0"
ATTR{ro}=="0"
ATTR{capability}=="51"
ATTR{ext_range}=="256"
ATTR{hidden}=="0"
ATTR{events}=="media_change"
ATTR{stat}==" 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"
ATTR{removable}=="1"
ATTR{size}=="0"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/host2/target2:0:0/2:0:0:1':
KERNELS=="2:0:0:1"
SUBSYSTEMS=="scsi"
DRIVERS=="sd"
ATTRS{evt_capacity_change_reported}=="0"
ATTRS{inquiry}==""
ATTRS{queue_depth}=="1"
ATTRS{iocounterbits}=="32"
ATTRS{model}=="MMC Storage "
ATTRS{type}=="0"
ATTRS{queue_type}=="none"
ATTRS{state}=="running"
ATTRS{device_blocked}=="0"
ATTRS{ioerr_cnt}=="0x1b63"
ATTRS{dh_state}=="detached"
ATTRS{device_busy}=="0"
ATTRS{eh_timeout}=="10"
ATTRS{evt_mode_parameter_change_reported}=="0"
ATTRS{iorequest_cnt}=="0x1b64"
ATTRS{iodone_cnt}=="0x1b64"
ATTRS{max_sectors}=="240"
ATTRS{evt_soft_threshold_reached}=="0"
ATTRS{blacklist}=="FORCELUN"
ATTRS{rev}=="2.31"
ATTRS{vendor}=="ZTE "
ATTRS{evt_inquiry_change_reported}=="0"
ATTRS{scsi_level}=="3"
ATTRS{evt_media_change}=="0"
ATTRS{evt_lun_change_reported}=="0"
ATTRS{timeout}=="30"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/host2/target2:0:0':
KERNELS=="target2:0:0"
SUBSYSTEMS=="scsi"
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/host2':
KERNELS=="host2"
SUBSYSTEMS=="scsi"
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2':
KERNELS=="1-2:1.2"
SUBSYSTEMS=="usb"
DRIVERS=="usb-storage"
ATTRS{interface}=="Mass Storage"
ATTRS{authorized}=="1"
ATTRS{bNumEndpoints}=="02"
ATTRS{bInterfaceClass}=="08"
ATTRS{supports_autosuspend}=="1"
ATTRS{bInterfaceNumber}=="02"
ATTRS{bInterfaceSubClass}=="06"
ATTRS{bInterfaceProtocol}=="50"
ATTRS{bAlternateSetting}==" 0"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-2':
KERNELS=="1-2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{serial}=="1234567890ABCDEF"
ATTRS{removable}=="removable"
ATTRS{bDeviceClass}=="02"
ATTRS{bNumConfigurations}=="1"
ATTRS{authorized}=="1"
ATTRS{idVendor}=="19d2"
ATTRS{idProduct}=="1405"
ATTRS{ltm_capable}=="no"
ATTRS{configuration}==""
ATTRS{bmAttributes}=="80"
ATTRS{urbnum}=="1685642"
ATTRS{tx_lanes}=="1"
ATTRS{bDeviceProtocol}=="00"
ATTRS{version}==" 2.00"
ATTRS{devpath}=="2"
ATTRS{rx_lanes}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bConfigurationValue}=="1"
ATTRS{manufacturer}=="ZTE,Incorporated"
ATTRS{bcdDevice}=="5706"
ATTRS{bDeviceSubClass}=="00"
ATTRS{avoid_reset_quirk}=="1"
ATTRS{devnum}=="61"
ATTRS{bMaxPower}=="500mA"
ATTRS{product}=="ZTE Mobile Broadband"
ATTRS{maxchild}=="0"
ATTRS{busnum}=="1"
ATTRS{bNumInterfaces}==" 3"
ATTRS{quirks}=="0x10"
ATTRS{speed}=="480"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1':
KERNELS=="usb1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{tx_lanes}=="1"
ATTRS{speed}=="480"
ATTRS{ltm_capable}=="no"
ATTRS{quirks}=="0x0"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bDeviceClass}=="09"
ATTRS{configuration}==""
ATTRS{bcdDevice}=="0504"
ATTRS{manufacturer}=="Linux 5.4.0-113-generic xhci-hcd"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bDeviceProtocol}=="01"
ATTRS{devpath}=="0"
ATTRS{bmAttributes}=="e0"
ATTRS{idVendor}=="1d6b"
ATTRS{interface_authorized_default}=="1"
ATTRS{bMaxPower}=="0mA"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized_default}=="1"
ATTRS{version}==" 2.00"
ATTRS{rx_lanes}=="1"
ATTRS{maxchild}=="12"
ATTRS{devnum}=="1"
ATTRS{urbnum}=="198874"
ATTRS{removable}=="unknown"
ATTRS{product}=="xHCI Host Controller"
ATTRS{serial}=="0000:00:14.0"
ATTRS{busnum}=="1"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bConfigurationValue}=="1"
ATTRS{authorized}=="1"
ATTRS{idProduct}=="0002"
ATTRS{bNumConfigurations}=="1"
looking at parent device '/devices/pci0000:00/0000:00:14.0':
KERNELS=="0000:00:14.0"
SUBSYSTEMS=="pci"
DRIVERS=="xhci_hcd"
ATTRS{enable}=="1"
ATTRS{msi_bus}=="1"
ATTRS{subsystem_device}=="0x0979"
ATTRS{vendor}=="0x8086"
ATTRS{dma_mask_bits}=="64"
ATTRS{ari_enabled}=="0"
ATTRS{local_cpus}=="f"
ATTRS{subsystem_vendor}=="0x1028"
ATTRS{device}=="0x34ed"
ATTRS{dbc}=="disabled"
ATTRS{d3cold_allowed}=="1"
ATTRS{numa_node}=="-1"
ATTRS{revision}=="0x30"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{broken_parity_status}=="0"
ATTRS{driver_override}=="(null)"
ATTRS{irq}=="125"
ATTRS{class}=="0x0c0330"
ATTRS{local_cpulist}=="0-3"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1bcf:2b98 Sunplus Innovation Technology Inc. Integrated_Webcam_HD
Bus 001 Device 059: ID 1ea7:0064 SHARKOON Technologies GmbH 2.4G Mouse
Bus 001 Device 061: ID 19d2:1405 ZTE WCDMA Technologies MSM ZTE Mobile Broadband
Bus 001 Device 004: ID 0cf3:e009 Qualcomm Atheros Communications
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub