관리-도구
편집 파일: block.pyo
� u��ec @ sQ d d l Z d d l m Z m Z m Z m Z d e e e e f d � � YZ d S( i����N( t Plugint RedHatPlugint DebianPlugint UbuntuPlugint Blockc B s/ e Z d Z d Z d Z d Z d Z d � Z RS( s Block device information t blockt storaget hardwares util-linuxs /sys/blockc C sn | j d d d d d d d g � | j d d d d d g � t j j d � r� x� t j d � D]� } | j d � r{ q` n t j j d | � } t j j d | d � } | j | � | j | d t �| j | d t �| j d | d | g � q` Wn | j d � } | d d k rjxK | d j � D]6 } d | k r-| j � d } | j d | � q-q-Wn d S( Nt lsblks lsblk -ts lsblk -Ds blkid -c /dev/nulls blockdev --reports ls -lanR /devs ls -lanR /sys/blocks /etc/blkid.tabs /run/blkid/blkid.tabs /proc/partitionss /proc/diskstatss /sys/block/*/queue/schedulers /sys/blockt rams /dev/s /sys/block/t queuet attrss parted -s %s unit s prints fdisk -l %ss lsblk -f -a -lt statusi t outputt crypto_LUKSs cryptsetup luksDump /dev/%s( t add_cmd_outputt add_copy_spect ost patht isdirt listdirt startswitht joint add_udev_infot Truet collect_cmd_outputt splitlinest split( t selft diskt disk_patht queue_pathR t linet dev( ( s5 /usr/lib/python2.7/site-packages/sos/plugins/block.pyt setup s@ ( R R ( s util-linux( s /sys/block( t __name__t __module__t __doc__t plugin_namet profilest verify_packagest filesR"