[root@localhost ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 0 222.6G 0 disk sr0 11:0 1 1.9G 0 rom loop0 7:0 0 1.9G 1 loop /run/mgalive/ovlsize sda 8:0 1 1.4M 0 disk /mnt [root@localhost ~]# [root@localhost ~]# lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M |__ Port 6: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 6: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 7: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 12M |__ Port 8: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M [root@localhost ~]# [root@localhost ~]# mount /dev/sr0 /mnt mount: /dev/sr0 is write-protected, mounting read-only [root@localhost ~]# [root@localhost ~]# df -T /mnt Filesystem Type Size Used Avail Use% Mounted on /dev/sr0 iso9660 1.9G 1.9G 0 100% /mnt [root@localhost ~]# [root@localhost ~]# df -T --block-size=1 /mnt Filesystem Type 1B-blocks Used Available Use% Mounted on /dev/sr0 iso9660 2007152640 2007152640 0 100% /mnt [root@localhost ~]# [root@localhost ~]# ll /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/host13/target13:0:0/13:0:0:0/block/sr0 total 0 -r--r--r-- 1 root root 4096 Dec 20 15:04 alignment_offset -rw-r--r-- 1 root root 4096 Dec 20 15:04 badblocks lrwxrwxrwx 1 root root 0 Dec 20 15:04 bdi -> ../../../../../../../../../../../virtual/bdi/11:0/ -r--r--r-- 1 root root 4096 Dec 20 15:04 capability -r--r--r-- 1 root root 4096 Dec 20 15:04 dev lrwxrwxrwx 1 root root 0 Dec 20 14:39 device -> ../../../13:0:0:0/ -r--r--r-- 1 root root 4096 Dec 20 15:04 discard_alignment -r--r--r-- 1 root root 4096 Dec 20 15:04 events -r--r--r-- 1 root root 4096 Dec 20 15:04 events_async -rw-r--r-- 1 root root 4096 Dec 20 15:04 events_poll_msecs -r--r--r-- 1 root root 4096 Dec 20 15:04 ext_range drwxr-xr-x 2 root root 0 Dec 20 14:36 holders/ -r--r--r-- 1 root root 4096 Dec 20 15:04 inflight drwxr-xr-x 2 root root 0 Dec 20 15:04 integrity/ drwxr-xr-x 2 root root 0 Dec 20 15:04 power/ drwxr-xr-x 3 root root 0 Dec 20 14:39 queue/ -r--r--r-- 1 root root 4096 Dec 20 15:04 range -r--r--r-- 1 root root 4096 Dec 20 15:04 removable -r--r--r-- 1 root root 4096 Dec 20 15:04 ro -r--r--r-- 1 root root 4096 Dec 20 15:04 size drwxr-xr-x 2 root root 0 Dec 20 14:39 slaves/ -r--r--r-- 1 root root 4096 Dec 20 15:04 stat lrwxrwxrwx 1 root root 0 Dec 20 14:36 subsystem -> ../../../../../../../../../../../../class/block/ drwxr-xr-x 2 root root 0 Dec 20 15:04 trace/ -rw-r--r-- 1 root root 4096 Dec 20 15:04 uevent [root@localhost ~]# [root@localhost 13:0:0:0]# cd /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/host13/target13:0:0/13:0:0:0/block/sr0 [root@localhost sr0]# [root@localhost sr0]# cat removable 1 [root@localhost sr0]# cat ro 0 [root@localhost sr0]# cat size 3921920 [root@localhost sr0]# echo $(cat size)*512 | bc -q 2008023040 [root@localhost sr0]# cd .. [root@localhost block]# cd .. [root@localhost 13:0:0:0]# pwd /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/host13/target13:0:0/13:0:0:0 [root@localhost 13:0:0:0]# [root@localhost 13:0:0:0]# ll total 0 drwxr-xr-x 3 root root 0 Dec 20 14:36 block/ drwxr-xr-x 3 root root 0 Dec 20 14:36 bsg/ --w------- 1 root root 4096 Dec 20 15:04 delete -r--r--r-- 1 root root 4096 Dec 20 15:04 device_blocked -r--r--r-- 1 root root 4096 Dec 20 15:04 device_busy -rw-r--r-- 1 root root 4096 Dec 20 15:04 dh_state lrwxrwxrwx 1 root root 0 Dec 20 14:36 driver -> ../../../../../../../../../../bus/scsi/drivers/sr/ -rw-r--r-- 1 root root 4096 Dec 20 15:04 eh_timeout -r--r--r-- 1 root root 4096 Dec 20 15:04 evt_capacity_change_reported -r--r--r-- 1 root root 4096 Dec 20 15:04 evt_inquiry_change_reported -r--r--r-- 1 root root 4096 Dec 20 15:04 evt_lun_change_reported -r--r--r-- 1 root root 4096 Dec 20 15:04 evt_media_change -r--r--r-- 1 root root 4096 Dec 20 15:04 evt_mode_parameter_change_reported -r--r--r-- 1 root root 4096 Dec 20 15:04 evt_soft_threshold_reached -r--r--r-- 1 root root 0 Dec 20 15:04 inquiry -r--r--r-- 1 root root 4096 Dec 20 15:04 iocounterbits -r--r--r-- 1 root root 4096 Dec 20 15:04 iodone_cnt -r--r--r-- 1 root root 4096 Dec 20 15:04 ioerr_cnt -r--r--r-- 1 root root 4096 Dec 20 15:04 iorequest_cnt -rw-r--r-- 1 root root 4096 Dec 20 15:04 max_sectors -r--r--r-- 1 root root 4096 Dec 20 15:04 modalias -r--r--r-- 1 root root 4096 Dec 20 15:04 model drwxr-xr-x 2 root root 0 Dec 20 15:04 power/ -r--r--r-- 1 root root 4096 Dec 20 15:04 queue_depth -rw-r--r-- 1 root root 4096 Dec 20 15:04 queue_type --w------- 1 root root 4096 Dec 20 15:04 rescan -r--r--r-- 1 root root 4096 Dec 20 15:04 rev drwxr-xr-x 3 root root 0 Dec 20 14:36 scsi_device/ -r--r--r-- 1 root root 4096 Dec 20 15:04 scsi_level -rw-r--r-- 1 root root 4096 Dec 20 15:04 state lrwxrwxrwx 1 root root 0 Dec 20 14:36 subsystem -> ../../../../../../../../../../bus/scsi/ -rw-r--r-- 1 root root 4096 Dec 20 15:04 timeout -r--r--r-- 1 root root 4096 Dec 20 15:04 type -rw-r--r-- 1 root root 4096 Dec 20 15:04 uevent -r--r--r-- 1 root root 4096 Dec 20 15:04 vendor -r--r--r-- 1 root root 4096 Dec 20 15:04 wwid [root@localhost 13:0:0:0]# [root@localhost 13:0:0:0]# cat model DVD-ROM VM 1.1.0 [root@localhost 13:0:0:0]#