Skip to content

Instantly share code, notes, and snippets.

@knknkn1162
Last active July 18, 2019 11:42
Show Gist options
  • Save knknkn1162/817d4b8d543dd6b12cd0bc09f3b9021d to your computer and use it in GitHub Desktop.
Save knknkn1162/817d4b8d543dd6b12cd0bc09f3b9021d to your computer and use it in GitHub Desktop.
$ tree /dev
/dev
|-- MAKEDEV -> /sbin/MAKEDEV
|-- VolGroup00
| |-- LogVol00 -> /dev/mapper/VolGroup00-LogVol00
| `-- LogVol01 -> /dev/mapper/VolGroup00-LogVol01
|-- X0R -> null
|-- console # register_chrdev_region(MKDEV(TTYAUX_MAJOR, 1), 1, "/dev/console"
|-- core -> /proc/kcore
|-- cpu_dma_latency
|-- disk
| |-- by-id
| | |-- scsi-SATA_VBOX_HARDDISK_VB11a77902-f37ed6a4 -> ../../sda
| | |-- scsi-SATA_VBOX_HARDDISK_VB11a77902-f37ed6a4-part1 -> ../../sda1
| | `-- scsi-SATA_VBOX_HARDDISK_VB11a77902-f37ed6a4-part2 -> ../../sda2
| |-- by-label
| | `-- boot -> ../../sda1
| |-- by-path
| | |-- pci-0000:00:0d.0-scsi-0:0:0:0 -> ../../sda
| | |-- pci-0000:00:0d.0-scsi-0:0:0:0-part1 -> ../../sda1
| | `-- pci-0000:00:0d.0-scsi-0:0:0:0-part2 -> ../../sda2
| `-- by-uuid
| `-- d6b457f8-c967-4529-bfcd-1a70f1210451 -> ../../sda1
|-- dm-0
|-- dm-1
|-- fd -> /proc/self/fd
|-- full
|-- hpet
|-- initctl
|-- input
| |-- event0
| |-- event1
| |-- event2
| |-- event3
| |-- event4
| |-- mice
| `-- mouse0
|-- kmsg
|-- log
|-- loop0
|-- loop1
|-- loop2
|-- loop3
|-- loop4
|-- loop5
|-- loop6
|-- loop7
|-- mapper
| |-- VolGroup00-LogVol00
| |-- VolGroup00-LogVol01
| `-- control
|-- md0
|-- mem
|-- net
| `-- tun
|-- network_latency
|-- network_throughput
|-- null
|-- nvram
|-- oldmem
|-- parport0
|-- parport1
|-- parport2
|-- parport3
|-- port
|-- ppp
|-- ptmx # register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx")
|-- pts
| `-- 0
|-- ram -> ram1
|-- ram0
|-- ram1
|-- ram10
|-- ram11
|-- ram12
|-- ram13
|-- ram14
|-- ram15
|-- ram2
|-- ram3
|-- ram4
|-- ram5
|-- ram6
|-- ram7
|-- ram8
|-- ram9
|-- ramdisk -> ram0
|-- random
|-- rawctl
|-- root
|-- rtc
|-- sda
|-- sda1
|-- sda2
|-- sg0
|-- shm
|-- snapshot
|-- stderr -> /proc/self/fd/2
|-- stdin -> /proc/self/fd/0
|-- stdout -> /proc/self/fd/1
|-- systty
|-- tty # register_chrdev_region(MKDEV(TTYAUX_MAJOR, 0), 1, "/dev/tty")
|-- tty0 # register_chrdev_region(MKDEV(TTY_MAJOR, 0), 1, "/dev/vc/0")
|-- tty1
|-- tty10
|-- tty11
|-- tty12
|-- tty13
|-- tty14
|-- tty15
|-- tty16
|-- tty17
|-- tty18
|-- tty19
|-- tty2
|-- tty20
|-- tty21
|-- tty22
|-- tty23
|-- tty24
|-- tty25
|-- tty26
|-- tty27
|-- tty28
|-- tty29
|-- tty3
|-- tty30
|-- tty31
|-- tty32
|-- tty33
|-- tty34
|-- tty35
|-- tty36
|-- tty37
|-- tty38
|-- tty39
|-- tty4
|-- tty40
|-- tty41
|-- tty42
|-- tty43
|-- tty44
|-- tty45
|-- tty46
|-- tty47
|-- tty48
|-- tty49
|-- tty5
|-- tty50
|-- tty51
|-- tty52
|-- tty53
|-- tty54
|-- tty55
|-- tty56
|-- tty57
|-- tty58
|-- tty59
|-- tty6
|-- tty60
|-- tty61
|-- tty62
|-- tty63
|-- tty7
|-- tty8
|-- tty9
|-- ttyS0
|-- ttyS1
|-- ttyS2
|-- ttyS3
|-- urandom
|-- vboxguest
|-- vboxuser
|-- vcs # register_chrdev(VCS_MAJOR, "vcs", &vcs_fops)
|-- vcs2
|-- vcs3
|-- vcs4
|-- vcs5
|-- vcs6
|-- vcsa
|-- vcsa2
|-- vcsa3
|-- vcsa4
|-- vcsa5
|-- vcsa6
`-- zero
12 directories, 172 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment