Difference between revisions of "/dev"

From The iPhone Wiki
Jump to: navigation, search
(how do you make the table go down not across)
(Files)
Line 47: Line 47:
 
|-
 
|-
 
|*[[/dev/zero|zero]] (Outputs 0x0, discards input)
 
|*[[/dev/zero|zero]] (Outputs 0x0, discards input)
  +
|-
 
|*[[/dev/vn1|vn1]]
 
|*[[/dev/vn1|vn1]]
  +
|-
 
|*[[/dev/vn0|vn0]]
 
|*[[/dev/vn0|vn0]]
  +
|-
 
|*[[/dev/urandom|urandom]] (Outputs pseudo-random data)
 
|*[[/dev/urandom|urandom]] (Outputs pseudo-random data)
  +
|-
 
|*[[/dev/uart.umts|uart.utms]] ( new data line added on the iPhone 4 )
 
|*[[/dev/uart.umts|uart.utms]] ( new data line added on the iPhone 4 )
  +
|-
 
|*[[/dev/uart.iap|uart.iap]]
 
|*[[/dev/uart.iap|uart.iap]]
  +
|-
 
|*[[/dev/uart.highland-park|uart.highland-park]]
 
|*[[/dev/uart.highland-park|uart.highland-park]]
  +
|-
 
|*[[/dev/uart.gps|uart.gps]]
 
|*[[/dev/uart.gps|uart.gps]]
  +
|-
 
|*[[/dev/uart.gas-gauge|uart.gas-gauge]]
 
|*[[/dev/uart.gas-gauge|uart.gas-gauge]]
  +
|-
 
|*[[/dev/uart.debug|uart.debug]]
 
|*[[/dev/uart.debug|uart.debug]]
  +
|-
 
|*[[/dev/uart.bluetooth|uart.bluetooth]] ( Bluetooth Dev Node disabled by the kernel for power saving )
 
|*[[/dev/uart.bluetooth|uart.bluetooth]] ( Bluetooth Dev Node disabled by the kernel for power saving )
  +
|-
 
|*[[/dev/ttypf|ttypf]]
 
|*[[/dev/ttypf|ttypf]]
  +
|-
 
|*[[/dev/ttype|ttype]]
 
|*[[/dev/ttype|ttype]]
  +
|-
 
|*[[/dev/ttypd|ttypd]]
 
|*[[/dev/ttypd|ttypd]]
  +
|-
 
|*[[/dev/ttypc|ttypc]]
 
|*[[/dev/ttypc|ttypc]]
  +
|-
 
|*[[/dev/ttypb|ttypb]]
 
|*[[/dev/ttypb|ttypb]]
  +
|-
 
|*[[/dev/ttypa|ttypa]]
 
|*[[/dev/ttypa|ttypa]]
  +
|-
 
|*[[/dev/ttyp9|ttyp9]]
 
|*[[/dev/ttyp9|ttyp9]]
  +
|-
 
|*[[/dev/ttyp8|ttyp8]]
 
|*[[/dev/ttyp8|ttyp8]]
  +
|-
 
|*[[/dev/ttyp7|ttyp7]]
 
|*[[/dev/ttyp7|ttyp7]]
  +
|-
 
|*[[/dev/ttyp6|ttyp6]]
 
|*[[/dev/ttyp6|ttyp6]]
  +
|-
 
|*[[/dev/ttyp5|ttyp5]]
 
|*[[/dev/ttyp5|ttyp5]]
  +
|-
 
|*[[/dev/ttyp4|ttyp4]]
 
|*[[/dev/ttyp4|ttyp4]]
  +
|-
 
|*[[/dev/ttyp3|ttyp3]]
 
|*[[/dev/ttyp3|ttyp3]]
  +
|-
 
|*[[/dev/ttyp2|ttyp2]]
 
|*[[/dev/ttyp2|ttyp2]]
  +
|-
 
|*[[/dev/ttyp1|ttyp1]]
 
|*[[/dev/ttyp1|ttyp1]]
  +
|-
 
|*[[/dev/ttyp0|ttyp0]]
 
|*[[/dev/ttyp0|ttyp0]]
  +
|-
 
|*[[/dev/tty.umts|tty.umts]]
 
|*[[/dev/tty.umts|tty.umts]]
  +
|-
 
|*[[/dev/tty.iap|tty.iap]] ([http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial Dock connector serial interface])
 
|*[[/dev/tty.iap|tty.iap]] ([http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial Dock connector serial interface])
  +
|-
 
|*[[/dev/tty.highland-park|tty.highland-park]]
 
|*[[/dev/tty.highland-park|tty.highland-park]]
  +
|-
 
|*[[/dev/tty.gas-gauge|tty.gas-gauge]] (Battery meter)
 
|*[[/dev/tty.gas-gauge|tty.gas-gauge]] (Battery meter)
  +
|-
 
|*[[/dev/tty.debug|tty.debug]] [[Baseband_Commands|(Baseband)]]
 
|*[[/dev/tty.debug|tty.debug]] [[Baseband_Commands|(Baseband)]]
  +
|-
 
|*[[/dev/tty.bluetooth|tty.bluetooth]]
 
|*[[/dev/tty.bluetooth|tty.bluetooth]]
  +
|-
 
|*[[/dev/tty|tty]]
 
|*[[/dev/tty|tty]]
  +
|-
 
|*[[/dev/sha1_0|sha1_0]]
 
|*[[/dev/sha1_0|sha1_0]]
  +
|-
 
|*[[/dev/rdisk0s2|rdisk0s2s1]] (Character device equivalent of disk0s2s1)
 
|*[[/dev/rdisk0s2|rdisk0s2s1]] (Character device equivalent of disk0s2s1)
  +
|-
 
|*[[/dev/rdisk0s2|rdisk0s2]] (Character device equivalent of disk0s2)
 
|*[[/dev/rdisk0s2|rdisk0s2]] (Character device equivalent of disk0s2)
  +
|-
 
|*[[/dev/rdisk0s1|rdisk0s1]] (Character device equivalent of disk0s1)
 
|*[[/dev/rdisk0s1|rdisk0s1]] (Character device equivalent of disk0s1)
  +
|-
 
|*[[/dev/rdisk0|rdisk0]] (Character device equivalent of disk0)
 
|*[[/dev/rdisk0|rdisk0]] (Character device equivalent of disk0)
  +
|-
 
|*[[/dev/random|random]] (Outputs random data)
 
|*[[/dev/random|random]] (Outputs random data)
  +
|-
 
|*[[/dev/ptypf|ptypf]]
 
|*[[/dev/ptypf|ptypf]]
  +
|-
 
|*[[/dev/ptype|ptype]]
 
|*[[/dev/ptype|ptype]]
  +
|-
 
|*[[/dev/ptypd|ptypd]]
 
|*[[/dev/ptypd|ptypd]]
  +
|-
 
|*[[/dev/ptypc|ptypc]]
 
|*[[/dev/ptypc|ptypc]]
  +
|-
 
|*[[/dev/ptypb|ptypb]]
 
|*[[/dev/ptypb|ptypb]]
  +
|-
 
|*[[/dev/ptypa|ptypa]]
 
|*[[/dev/ptypa|ptypa]]
  +
|-
 
|*[[/dev/ptyp9|ptyp9]]
 
|*[[/dev/ptyp9|ptyp9]]
  +
|-
 
|*[[/dev/ptyp8|ptyp8]]
 
|*[[/dev/ptyp8|ptyp8]]
  +
|-
 
|*[[/dev/ptyp7|ptyp7]]
 
|*[[/dev/ptyp7|ptyp7]]
  +
|-
 
|*[[/dev/ptyp6|ptyp6]]
 
|*[[/dev/ptyp6|ptyp6]]
  +
|-
 
|*[[/dev/ptyp5|ptyp5]]
 
|*[[/dev/ptyp5|ptyp5]]
  +
|-
 
|*[[/dev/ptyp4|ptyp4]]
 
|*[[/dev/ptyp4|ptyp4]]
  +
|-
 
|*[[/dev/ptyp3|ptyp3]]
 
|*[[/dev/ptyp3|ptyp3]]
  +
|-
 
|*[[/dev/ptyp2|ptyp2]]
 
|*[[/dev/ptyp2|ptyp2]]
  +
|-
 
|*[[/dev/ptyp1|ptyp1]]
 
|*[[/dev/ptyp1|ptyp1]]
  +
|-
 
|*[[/dev/ptyp0|ptyp0]]
 
|*[[/dev/ptyp0|ptyp0]]
  +
|-
 
|*[[/dev/ptmx|ptmx]] ( Posix terminal )
 
|*[[/dev/ptmx|ptmx]] ( Posix terminal )
  +
|-
 
|*[[/dev/pf|pf]] ( [[wikipedia:PF (firewall)|firewall]] )
 
|*[[/dev/pf|pf]] ( [[wikipedia:PF (firewall)|firewall]] )
  +
|-
 
|*[[/dev/null|null]] (Doesn't output, discards input)
 
|*[[/dev/null|null]] (Doesn't output, discards input)
  +
|-
 
|*[[/dev/mem|mem]] ( public memory monitored by [[sandbox]] )
 
|*[[/dev/mem|mem]] ( public memory monitored by [[sandbox]] )
  +
|-
 
|*[[/dev/klog|klog]]
 
|*[[/dev/klog|klog]]
  +
|-
 
|*[[/dev/kmem|kmem]] ( private memory used to patch the [[kernel]] memory in [[userland]] jailbreak's )
 
|*[[/dev/kmem|kmem]] ( private memory used to patch the [[kernel]] memory in [[userland]] jailbreak's )
  +
|-
 
|*[[/dev/io8logmt|io8logmt]]
 
|*[[/dev/io8logmt|io8logmt]]
  +
|-
 
|*[[/dev/io8log|io8log]] ( replied AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 when opened [http://yfrog.com/hta56p] )
 
|*[[/dev/io8log|io8log]] ( replied AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 when opened [http://yfrog.com/hta56p] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.sms|dlci.spi-baseband.sms]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.sms|dlci.spi-baseband.sms]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.reg|dlci.spi-baseband.reg]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.reg|dlci.spi-baseband.reg]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.pdp_ctl|dlci.spi-baseband.pdp_ctl]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.pdp_ctl|dlci.spi-baseband.pdp_ctl]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.pdp_3|dlci.spi-baseband.pdp_3]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.pdp_3|dlci.spi-baseband.pdp_3]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.pdp_2|dlci.spi-baseband.pdp_2]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.pdp_2|dlci.spi-baseband.pdp_2]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.pdp_1|dlci.spi-baseband.pdp_1]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.pdp_1|dlci.spi-baseband.pdp_1]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.pdp_0|dlci.spi-baseband.pdp_0]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.pdp_0|dlci.spi-baseband.pdp_0]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.low|dlci.spi-baseband.low]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.low|dlci.spi-baseband.low]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.iq|dlci.spi-baseband.iq]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.iq|dlci.spi-baseband.iq]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.extra_13|dlci.spi-baseband.extra_13]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.extra_13|dlci.spi-baseband.extra_13]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.cl1|dlci.spi-bseband.cl1]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.cl1|dlci.spi-bseband.cl1]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.chatty|dlci.spi-baseband.chatty]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.chatty|dlci.spi-baseband.chatty]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/dlci.spi-baseband.call|dlci.spi-baseband.call]] ( compatibility node made by [[Cydia.app|Cydia]] )
 
|*[[/dev/dlci.spi-baseband.call|dlci.spi-baseband.call]] ( compatibility node made by [[Cydia.app|Cydia]] )
  +
|-
 
|*[[/dev/disk1|disk1]] ([[/Developer|Virtual drive for SDK tools image]])
 
|*[[/dev/disk1|disk1]] ([[/Developer|Virtual drive for SDK tools image]])
  +
|-
 
|*[[/dev/disk0s2s1|disk0s2s1]] (Encrypted user partition on 3GS?)
 
|*[[/dev/disk0s2s1|disk0s2s1]] (Encrypted user partition on 3GS?)
  +
|-
 
|*[[/dev/disk0s2|disk0s2]] (NAND, [[/private/var|user partition]])
 
|*[[/dev/disk0s2|disk0s2]] (NAND, [[/private/var|user partition]])
  +
|-
 
|*[[/dev/disk0s1|disk0s1]] (NAND, [[/|system partition]])
 
|*[[/dev/disk0s1|disk0s1]] (NAND, [[/|system partition]])
  +
|-
 
|*[[/dev/disk0|disk0]] ([[NAND]])
 
|*[[/dev/disk0|disk0]] ([[NAND]])
  +
|-
 
|*[[/dev/cu.umts|cu.umts]]
 
|*[[/dev/cu.umts|cu.umts]]
  +
|-
 
|*[[/dev/cu.iap|cu.iap]]
 
|*[[/dev/cu.iap|cu.iap]]
  +
|-
 
|*[[/dev/cu.highland-park|cu.highland-park]] ( camera )
 
|*[[/dev/cu.highland-park|cu.highland-park]] ( camera )
  +
|-
 
|*[[/dev/cu.gps|cu.gps]] (Something with GPS)
 
|*[[/dev/cu.gps|cu.gps]] (Something with GPS)
  +
|-
 
|*[[/dev/cu.gas-gauge|cu.gas-gauge]] (Exclusive access to the battery meter)
 
|*[[/dev/cu.gas-gauge|cu.gas-gauge]] (Exclusive access to the battery meter)
  +
|-
 
|*[[/dev/cu.debug|cu.debug]] [[Baseband_Commands|(Exclusive access to Baseband used, for example, by BBUpdater)]]
 
|*[[/dev/cu.debug|cu.debug]] [[Baseband_Commands|(Exclusive access to Baseband used, for example, by BBUpdater)]]
  +
|-
 
|*[[/dev/cu.bluetooth|cu.bluetooth]] ( primary Dev Node to comunicate with the bluetooth chip )
 
|*[[/dev/cu.bluetooth|cu.bluetooth]] ( primary Dev Node to comunicate with the bluetooth chip )
  +
|-
 
|*[[/dev/console|console]] (System console, displayed during a verbose boot)
 
|*[[/dev/console|console]] (System console, displayed during a verbose boot)
  +
|-
 
|*[[/dev/compass2_0|compass2_0]] ( [[Gyroscope]] )
 
|*[[/dev/compass2_0|compass2_0]] ( [[Gyroscope]] )
  +
|-
 
|*[[/dev/compass1_0|compass1_0]] ( This may exist... )
 
|*[[/dev/compass1_0|compass1_0]] ( This may exist... )
  +
|-
 
|*[[/dev/compass_0|compass_0]] ([[Magnetometer]])
 
|*[[/dev/compass_0|compass_0]] ([[Magnetometer]])
  +
|-
 
|*[[/dev/btwake|btwake]] ( sent to switch the bluetooth chip on from standby )
 
|*[[/dev/btwake|btwake]] ( sent to switch the bluetooth chip on from standby )
  +
|-
 
|*[[/dev/btreset|btreset]] ( used if the bluetooth chip becomes unresponsive )
 
|*[[/dev/btreset|btreset]] ( used if the bluetooth chip becomes unresponsive )
  +
|-
 
|*[[/dev/bpf3|bpf3]] ( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] )
 
|*[[/dev/bpf3|bpf3]] ( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] )
  +
|-
 
|*[[/dev/bpf2|bpf2]] ( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] )
 
|*[[/dev/bpf2|bpf2]] ( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] )
  +
|-
 
|*[[/dev/bpf1|bpf1]] ( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] )
 
|*[[/dev/bpf1|bpf1]] ( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] )
  +
|-
 
|*[[/dev/bpf0|bpf0]] ( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] )
 
|*[[/dev/bpf0|bpf0]] ( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] )
  +
|-
 
|*[[/dev/aes_0|aes_0]] ( used with a crypto bundle provided in [[XPwn]] to utilize the [[AES_Keys]] in userland )
 
|*[[/dev/aes_0|aes_0]] ( used with a crypto bundle provided in [[XPwn]] to utilize the [[AES_Keys]] in userland )
 
|-
 
|-

Revision as of 19:45, 26 October 2010

Summary

Device Nodes are here, as with any other standard UNIX system. The folder cannot be written to.

Key

Colors will show which devices the nodes are from. If it comes from two devices, use the 2 appropriate colors

device's iPhone iPhone3G iPhone 3G S iPhone 4 iPod touch iPod touch 2G iPod touch 3G iPod touch 4G iPad Apple TV
data from No No Yes Yes No Yes No No No No

Children

Files

Parents

*zero (Outputs 0x0, discards input)
*vn1
*vn0
*urandom (Outputs pseudo-random data)
*uart.utms ( new data line added on the iPhone 4 )
*uart.iap
*uart.highland-park
*uart.gps
*uart.gas-gauge
*uart.debug
*uart.bluetooth ( Bluetooth Dev Node disabled by the kernel for power saving )
*ttypf
*ttype
*ttypd
*ttypc
*ttypb
*ttypa
*ttyp9
*ttyp8
*ttyp7
*ttyp6
*ttyp5
*ttyp4
*ttyp3
*ttyp2
*ttyp1
*ttyp0
*tty.umts
*tty.iap (Dock connector serial interface)
*tty.highland-park
*tty.gas-gauge (Battery meter)
*tty.debug (Baseband)
*tty.bluetooth
*tty
*sha1_0
*rdisk0s2s1 (Character device equivalent of disk0s2s1)
*rdisk0s2 (Character device equivalent of disk0s2)
*rdisk0s1 (Character device equivalent of disk0s1)
*rdisk0 (Character device equivalent of disk0)
*random (Outputs random data)
*ptypf
*ptype
*ptypd
*ptypc
*ptypb
*ptypa
*ptyp9
*ptyp8
*ptyp7
*ptyp6
*ptyp5
*ptyp4
*ptyp3
*ptyp2
*ptyp1
*ptyp0
*ptmx ( Posix terminal )
*pf ( firewall )
*null (Doesn't output, discards input)
*mem ( public memory monitored by sandbox )
*klog
*kmem ( private memory used to patch the kernel memory in userland jailbreak's )
*io8logmt
*io8log ( replied AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 when opened [1] )
*dlci.spi-baseband.sms ( compatibility node made by Cydia )
*dlci.spi-baseband.reg ( compatibility node made by Cydia )
*dlci.spi-baseband.pdp_ctl ( compatibility node made by Cydia )
*dlci.spi-baseband.pdp_3 ( compatibility node made by Cydia )
*dlci.spi-baseband.pdp_2 ( compatibility node made by Cydia )
*dlci.spi-baseband.pdp_1 ( compatibility node made by Cydia )
*dlci.spi-baseband.pdp_0 ( compatibility node made by Cydia )
*dlci.spi-baseband.low ( compatibility node made by Cydia )
*dlci.spi-baseband.iq ( compatibility node made by Cydia )
*dlci.spi-baseband.extra_13 ( compatibility node made by Cydia )
*dlci.spi-bseband.cl1 ( compatibility node made by Cydia )
*dlci.spi-baseband.chatty ( compatibility node made by Cydia )
*dlci.spi-baseband.call ( compatibility node made by Cydia )
*disk1 (Virtual drive for SDK tools image)
*disk0s2s1 (Encrypted user partition on 3GS?)
*disk0s2 (NAND, user partition)
*disk0s1 (NAND, system partition)
*disk0 (NAND)
*cu.umts
*cu.iap
*cu.highland-park ( camera )
*cu.gps (Something with GPS)
*cu.gas-gauge (Exclusive access to the battery meter)
*cu.debug (Exclusive access to Baseband used, for example, by BBUpdater)
*cu.bluetooth ( primary Dev Node to comunicate with the bluetooth chip )
*console (System console, displayed during a verbose boot)
*compass2_0 ( Gyroscope )
*compass1_0 ( This may exist... )
*compass_0 (Magnetometer)
*btwake ( sent to switch the bluetooth chip on from standby )
*btreset ( used if the bluetooth chip becomes unresponsive )
*bpf3 ( Berkeley Packet Filter )
*bpf2 ( Berkeley Packet Filter )
*bpf1 ( Berkeley Packet Filter )
*bpf0 ( Berkeley Packet Filter )
*aes_0 ( used with a crypto bundle provided in XPwn to utilize the AES_Keys in userland )