daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest Mar 21st, 2018 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. lsblk:
  2. NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
  3. sdf      8:80   0   2.7T  0 disk
  4. ├─sdf5   8:85   0   2.4T  0 part /mnt/sdf5
  5. ├─sdf3   8:83   0 279.4G  0 part /mnt/sdf3
  6. ├─sdf1   8:81   0   9.3G  0 part /mnt/sdf1
  7. └─sdf2   8:82   0  14.9G  0 part
  8. sdd      8:48   0 931.5G  0 disk
  9. ├─sdd2   8:50   0   447G  0 part /
  10. └─sdd1   8:49   0   512M  0 part /boot/efi
  11. sdb      8:16   0 953.9G  0 disk
  12. └─sdb1   8:17   0 953.9G  0 part /mnt/sdb1
  13. sdg      8:96   0   5.5T  0 disk
  14. └─sdg1   8:97   0   5.5T  0 part /mnt/sdg1
  15. sde      8:64   0   2.7T  0 disk
  16. ├─sde3   8:67   0  15.5G  0 part
  17. ├─sde1   8:65   0   476M  0 part /mnt/sde1
  18. └─sde4   8:68   0   2.7T  0 part /mnt/sde4
  19. sdc      8:32   0 953.9G  0 disk
  20. └─sdc1   8:33   0 953.9G  0 part /mnt/sdc1
  21. sda      8:0    0 465.8G  0 disk
  22. └─sda1   8:1    0 465.8G  0 part
  23.  
  24. mount:
  25. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  26. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  27. udev on /dev type devtmpfs (rw,nosuid,relatime,size=24651176k,nr_inodes=6162794,mode=755)
  28. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  29. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=4935472k,mode=755)
  30. /dev/sdd2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  31. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  32. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  33. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  34. tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
  35. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  36. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  37. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  38. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  39. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
  40. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  41. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  42. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  43. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
  44. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  45. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
  46. cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma,release_agent=/run/cgmanager/agents/cgm-release-agent.rdma)
  47. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
  48. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  49. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=553)
  50. mqueue on /dev/mqueue type mqueue (rw,relatime)
  51. configfs on /sys/kernel/config type configfs (rw,relatime)
  52. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  53. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
  54. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  55. sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
  56. nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
  57. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  58. /dev/sdc1 on /mnt/sdc1 type ext4 (rw,relatime,data=ordered)
  59. /dev/sdf1 on /mnt/sdf1 type ext4 (rw,relatime,data=ordered)
  60. /dev/sdb1 on /mnt/sdb1 type ext4 (rw,relatime,data=ordered)
  61. /dev/sde1 on /mnt/sde1 type ext4 (rw,relatime,stripe=4,data=ordered)
  62. /dev/sdf3 on /mnt/sdf3 type ext4 (rw,relatime,data=ordered)
  63. /dev/sdg1 on /mnt/sdg1 type ext4 (rw,relatime,data=ordered)
  64. /dev/sdf5 on /mnt/sdf5 type ext4 (rw,relatime,data=ordered)
  65. /dev/sde4 on /mnt/sde4 type ext4 (rw,relatime,data=ordered)
  66. /dev/sdd1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  67. binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
  68. cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
  69. lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
  70. tmpfs on /var/lib/lxd/shmounts type tmpfs (rw,relatime,size=100k,mode=711)
  71. tmpfs on /var/lib/lxd/devlxd type tmpfs (rw,relatime,size=100k,mode=755)
  72. tmpfs on /run/user/1100 type tmpfs (rw,nosuid,nodev,relatime,size=4935472k,mode=700,uid=1100,gid=1000)
  73. tmpfs on /run/user/1102 type tmpfs (rw,nosuid,nodev,relatime,size=4935472k,mode=700,uid=1102,gid=1000)
  74. /dev/sdd2 on /var/lib/docker/plugins type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  75. nsfs on /run/docker/netns/ingress_sbox type nsfs (rw)
  76. nsfs on /run/docker/netns/1-ce4g9tu10i type nsfs (rw)
  77. overlay on /var/lib/docker/overlay2/3daede8562d6595cd7eafcc8cc29cbb3598a50b00c889675a2117d9c0a4179cb/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/YYBHE5DN6CAH54CHUACL2RWQCU:/var/lib/docker/overlay2/l/HILL3CNNGXYPHA5GDUB5ICVHFV:/var/lib/docker/overlay2/l/OI53MVZXUBQ5BIDUSFTOFJUOHJ:/var/lib/docker/overlay2/l/UU7NMY6X7NPEEL6UFZUQ57VSFA:/var/lib/docker/overlay2/l/AWSSZ57XRQETH5EBL3QV5KY4UG:/var/lib/docker/overlay2/l/IO52G5465YHBL25UD7ZXCNP67R:/var/lib/docker/overlay2/l/NH76WLRXA2MYXWMJWHR52YZFVK,upperdir=/var/lib/docker/overlay2/3daede8562d6595cd7eafcc8cc29cbb3598a50b00c889675a2117d9c0a4179cb/diff,workdir=/var/lib/docker/overlay2/3daede8562d6595cd7eafcc8cc29cbb3598a50b00c889675a2117d9c0a4179cb/work)
  78. nsfs on /run/docker/netns/default type nsfs (rw)
  79. shm on /var/lib/docker/containers/fcf059fb1bfbdd6b6c360f238e373fbf9dd0908baf057aa45a46b4355f864172/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
  80. tmpfs on /run/user/1101 type tmpfs (rw,nosuid,nodev,relatime,size=4935472k,mode=700,uid=1101,gid=1000)
  81. overlay on /var/lib/docker/overlay2/1e1b1705caf484883de4a402e058df0fbd4873da7cea87fa7f92c11d6fe4f2e4/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/IZI2UKTI645YB2WZ6QOWBRQSYM:/var/lib/docker/overlay2/l/AN72SN4NVCP3VZIEY4C2DPBR5L:/var/lib/docker/overlay2/l/65J22ENEQLJQB4BYHAR6X726R5:/var/lib/docker/overlay2/l/Q5UCLSGKJP4QTRNXCESVPFHPWH:/var/lib/docker/overlay2/l/DBIMVAUGTQBHI5T2YP6JWH5NWB:/var/lib/docker/overlay2/l/EW2ZLQVZPOU7WWGJO5ATOJY427:/var/lib/docker/overlay2/l/K4JQUZEBLTFSWJCC66HCTNJXPX:/var/lib/docker/overlay2/l/V6MJBD76RB73JFBND3UV7ZQYN7,upperdir=/var/lib/docker/overlay2/1e1b1705caf484883de4a402e058df0fbd4873da7cea87fa7f92c11d6fe4f2e4/diff,workdir=/var/lib/docker/overlay2/1e1b1705caf484883de4a402e058df0fbd4873da7cea87fa7f92c11d6fe4f2e4/work)
  82. shm on /var/lib/docker/containers/8ae2900d49817b29107ff1aa80c0c7fef78d91644d74050b7e153e8f917ec877/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
  83.  
  84. у lsblk последний столбец точка монтирования блочного устройста, в выводе mount эта точка монтирования - третье слово с начала строки, а опции монтирования заключены в круглые скобки
  85. я хочу, чтобы к выводу lsblk добавился еще один столбец, в котором бы были написаны опции монтирования из вывода mount, если устройство не смонтировано, то эта строка в выводе lsblk пропускается
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top