Skip to content

Instantly share code, notes, and snippets.

@jjelinek
Created February 23, 2016 22:48
Show Gist options
  • Save jjelinek/850a7269cc13e774ca53 to your computer and use it in GitHub Desktop.
Save jjelinek/850a7269cc13e774ca53 to your computer and use it in GitHub Desktop.
sys block layout
jerry@ub64:~$ ls -l /sys/block
total 0
lr-xr-xr-x 1 root root 0 Feb 23 22:47 cmdk0 -> ../devices/virtual/bdi/cmdk0
lr-xr-xr-x 1 root root 0 Feb 23 22:47 lxzdev -> ../devices/pci/lxzdev
lr-xr-xr-x 1 root root 0 Feb 23 22:47 ramdisk1 -> ../devices/virtual/bdi/ramdisk1
lr-xr-xr-x 1 root root 0 Feb 23 22:47 sd0 -> ../devices/virtual/bdi/sd0
lr-xr-xr-x 1 root root 0 Feb 23 22:47 zones -> ../devices/virtual/bdi/zones
lr-xr-xr-x 1 root root 0 Feb 23 22:47 zv2 -> ../devices/pci/zv2
jerry@ub64:~$
jerry@ub64:~$ ls -lL /sys/block/sd0
total 0
jerry@ub64:~$ ls -lL /sys/block/zv2
total 0
-r--r--r-- 1 root root 0 Feb 23 22:48 device
jerry@ub64:~$
jerry@ub64:~$ ls -lL /sys/devices/pci
total 0
dr-xr-xr-x 1 root root 0 Feb 23 22:48 lxzdev
dr-xr-xr-x 1 root root 0 Feb 23 22:48 zv2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment