Difference between revisions of "/dev"

From The iPhone Wiki
Jump to: navigation, search
m
m
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
__NOTOC__
== Summary ==
 
[[Device Nodes]] are here, as with any other standard UNIX system. The directory is read-only.
+
[[Device Nodes]] are here, as with any other [[wikipedia:Unix-like|*nix]] system. The directory is read-only as its files don't actually exist and are transparently handled by the kernel.
   
 
== Children ==
 
== Children ==
Line 11: Line 11:
 
<!--Where is the camera?-->
 
<!--Where is the camera?-->
   
{| class="wikitable sortable"
+
{| class="wikitable"
 
|-
 
|-
 
! Node
 
! Node
 
! Description
 
! Description
  +
! [[K66AP|Apple TV (2nd generation)]]
! width="80"| [[m68ap|iPhone]]
 
! width="80"| [[n82ap|iPhone3G]]
+
! [[K48AP|iPad]]
! width="80"| [[n88ap|iPhone 3GS]]
+
! [[M68AP|iPhone]]
! width="80"| [[n90ap|iPhone 4]]
+
! [[N82AP|iPhone 3G]]
! width="80"| [[n45ap|iPod touch]]
+
! [[N88AP|iPhone 3GS]]
! width="80"| [[n72ap|iPod touch 2G]]
+
! [[N90AP|iPhone 4]]
! width="80"| [[n18ap|iPod touch 3G]]
+
! [[N45AP|iPod touch]]
! width="80"| [[n81ap|iPod touch 4G]]
+
! [[N72AP|iPod touch (2nd generation)]]
  +
! [[N18AP|iPod touch (3rd generation)]]
! width="80"| [[k48ap|iPad 1G]]
 
  +
! [[N81AP|iPod touch (4th generation)]]
! width="80"| [[k66ap|Apple TV 2G]]
 
 
|-
 
|-
|[[/dev/zero|zero]]
+
| [[/dev/aes_0|aes_0]]
  +
| (used with a crypto bundle provided in [[XPwn]] to utilize the [[AES Keys]] in userland)
|(Outputs 0x0, discards input)
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/vn1|vn1]]
+
| [[/dev/bpf0|bpf0]]
  +
| ([[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]])
|?
 
|colspan="10" {{yes|made by jailbreak}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/vn0|vn0]]
+
| [[/dev/bpf1|bpf1]]
  +
| ([[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]])
|?
 
|colspan="10" {{yes|made by jailbreak}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/urandom|urandom]]
+
| [[/dev/bpf2|bpf2]]
  +
| ([[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]])
|(Outputs pseudo-random data)
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/uart.umts|uart.utms]]
+
| [[/dev/bpf3|bpf3]]
  +
| ([[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]])
|(new data line added on the iPhone 4)
 
|colspan="3" {{partial|?}}
+
| colspan="10" {{yes}}
|{{yes}}
 
|colspan="6" {{partial|?}}
 
 
|-
 
|-
|[[/dev/uart.iap|uart.iap]]
+
| [[/dev/btreset|btreset]]
  +
| (used if the bluetooth chip becomes unresponsive)
|([http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial Dock connector serial interface])
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/uart.highland-park|uart.highland-park]]
+
| [[/dev/btwake|btwake]]
  +
| (sent to switch the bluetooth chip on from standby)
|?
 
|colspan="10" {{partial|?}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/uart.gps|uart.gps]]
+
| [[/dev/compass_0|compass_0]]
  +
| ([[Magnetometer]])
|(Something with GPS)
 
|colspan="3" {{yes}}
+
| {{yes}}
|colspan="4" {{no}}
+
| {{no}}
  +
| colspan="2" {{yes}}
|{{partial|iPad 3G}}
 
|{{no}}
+
| {{no}}
|{{no}}
+
| colspan="5" {{no}}
 
|-
 
|-
|[[/dev/uart.gas-gauge|uart.gas-gauge]]
+
| [[/dev/compass1_0|compass1_0]]
  +
| (This may exist as [[Accelerometer]])
|(Battery meter)
 
|colspan="2" {{no}}
+
| colspan="10" {{partial|?}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="3" {{yes}}
 
|{{no}}
 
 
|-
 
|-
|[[/dev/uart.debug|uart.debug]]
+
| [[/dev/compass2_0|compass2_0]]
  +
| ([[Gyroscope]])
|[[Baseband_Commands|(Baseband)]]
 
|colspan="4" {{no}}
+
| {{yes}}
  +
| colspan="3" {{no}}
|{{partial|iPad 3G}}
 
|colspan="4" {{yes}}
+
| colspan="5" {{no}}
|{{no}}
+
| {{yes}}
 
|-
 
|-
|[[/dev/uart.bluetooth|uart.bluetooth]]
+
| [[/dev/console|console]]
  +
| (System console, displayed during a verbose boot)
|(Bluetooth Dev Node disabled by the kernel for power saving)
 
|colspan="4" {{yes}}
+
| colspan="10" {{yes}}
|{{no}}
 
|colspan="5" {{yes}}
 
 
|-
 
|-
|[[/dev/ttypf|ttypf]]
+
| [[/dev/cu.bluetooth|cu.bluetooth]]
  +
| (primary Dev Node to comunicate with the bluetooth chip)
|?
 
|colspan="2" {{no}}
+
| colspan="6" {{yes}}
|colspan="2" {{yes}}
+
| {{no}}
|colspan="2" {{no}}
+
| colspan="3" {{yes}}
|colspan="4" {{yes}}
 
 
|-
 
|-
|[[/dev/ttype|ttype]]
+
| [[/dev/cu.debug|cu.debug]]
  +
| [[Baseband_Commands|(Exclusive access to Baseband used, for example, by BBUpdater)]]
|?
 
  +
| {{partial|3G Variant}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
+
| {{no}}
|colspan="2" {{no}}
+
| colspan="4" {{yes}}
|colspan="4" {{yes}}
+
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/ttypd|ttypd]]
+
| [[/dev/cu.gas-gauge|cu.gas-gauge]]
  +
| (Exclusive access to the battery meter)
|?
 
|colspan="2" {{no}}
+
| {{no}}
|colspan="2" {{yes}}
+
| {{yes}}
|colspan="2" {{no}}
+
| colspan="2" {{no}}
|colspan="4" {{yes}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/ttypc|ttypc]]
+
|[[/dev/cu.gps|cu.gps]]
  +
| (Something with GPS)
|?
 
  +
| {{partial|3G Variant}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
+
| {{no}}
|colspan="2" {{no}}
+
| {{no}}
|colspan="4" {{yes}}
+
| colspan="3" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/ttypb|ttypb]]
+
| [[/dev/cu.highland-park|cu.highland-park]]
  +
| (Camera)
|?
 
|colspan="2" {{no}}
+
| colspan="10" {{partial|?}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
 
|-
 
|-
|[[/dev/ttypa|ttypa]]
+
| [[/dev/cu.iap|cu.iap]]
  +
| ([http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial Dock connector serial interface])
|?
 
|colspan="2" {{no}}
+
| colspan="10" {{yes}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
 
|-
 
|-
|[[/dev/ttyp9|ttyp9]]
+
| [[/dev/cu.umts|cu.umts]]
|?
+
| ?
|colspan="2" {{no}}
+
| colspan="10" {{partial|?}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
 
|-
 
|-
|[[/dev/ttyp8|ttyp8]]
+
| [[/dev/disk0|disk0]]
  +
| ([[NAND]])
|?
 
|colspan="2" {{no}}
+
| colspan="10" {{yes}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
 
|-
 
|-
|[[/dev/ttyp7|ttyp7]]
+
| [[/dev/disk0s1|disk0s1]]
  +
| (NAND, [[/|system partition]])
|?
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ttyp6|ttyp6]]
+
| [[/dev/disk0s2|disk0s2]]
  +
| (NAND, [[/private/var|user partition]])
|?
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ttyp5|ttyp5]]
+
| [[/dev/disk0s2s1|disk0s2s1]]
  +
| (Encrypted user partition on 3GS?)
|?
 
|colspan="10" {{yes}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="3" {{no}}
  +
| {{yes}}
 
|-
 
|-
|[[/dev/ttyp4|ttyp4]]
+
| [[/dev/disk1|disk1]]
  +
| ([[/Developer|Virtual drive for SDK tools image]])
|?
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
  +
| [[/dev/dlci.spi-baseband.call|dlci.spi-baseband.call]]
|[[/dev/ttyp3|ttyp3]]
 
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|?
 
|colspan="10" {{yes}}
+
| {{no}}
  +
| {{partial|3G Variant}}
  +
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
  +
| [[/dev/dlci.spi-baseband.chatty|dlci.spi-baseband.chatty]]
|[[/dev/ttyp2|ttyp2]]
 
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|?
 
|colspan="10" {{yes}}
+
| {{no}}
  +
| {{partial|3G Variant}}
  +
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/ttyp1|ttyp1]]
+
| [[/dev/dlci.spi-baseband.cl1|dlci.spi-bseband.cl1]]
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|?
 
|colspan="10" {{yes}}
+
| {{no}}
  +
| {{partial|3G Variant}}
  +
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
  +
| [[/dev/dlci.spi-baseband.extra_13|dlci.spi-baseband.extra_13]]
|[[/dev/ttyp0|ttyp0]]
 
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|?
 
|colspan="10" {{yes}}
+
| {{no}}
  +
| {{partial|3G Variant}}
  +
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/tty.umts|tty.umts]]
+
| [[/dev/dlci.spi-baseband.iq|dlci.spi-baseband.iq]]
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|Used for UMTS (3G) connection tecnology
 
  +
| {{partial|3G Variant}}
|colspan="3" {{yes}}
 
|colspan="4" {{no}}
+
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
|{{partial|iPad 3G}}
 
|{{no}}
+
| {{no}}
|{{no}}
 
 
|-
 
|-
|[[/dev/tty.iap|tty.iap]]
+
| [[/dev/dlci.spi-baseband.low|dlci.spi-baseband.low]]
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|([http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial Dock connector serial interface])
 
|colspan="10" {{yes}}
+
| {{no}}
  +
| {{partial|3G Variant}}
  +
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/tty.highland-park|tty.highland-park]]
+
| [[/dev/dlci.spi-baseband.pdp_0|dlci.spi-baseband.pdp_0]]
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|?
 
|colspan="10" {{partial|?}}
+
| {{no}}
  +
| {{partial|3G Variant}}
  +
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/tty.gas-gauge|tty.gas-gauge]]
+
| [[/dev/dlci.spi-baseband.pdp_1|dlci.spi-baseband.pdp_1]]
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|(Battery meter)
 
  +
| {{partial|3G Variant}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
+
| {{no}}
|colspan="2" {{no}}
+
| colspan="4" {{yes}}
|colspan="3" {{yes}}
+
| colspan="4" {{no}}
|{{no}}
 
 
|-
 
|-
|[[/dev/tty.debug|tty.debug]]
+
| [[/dev/dlci.spi-baseband.pdp_2|dlci.spi-baseband.pdp_2]]
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|[[Baseband_Commands|(Baseband)]]
 
  +
| {{partial|3G Variant}}
|colspan="4" {{no}}
 
  +
| colspan="4" {{yes}}
|{{partial|iPad 3G}}
 
|colspan="4" {{yes}}
+
| {{no}}
|{{no}}
+
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/tty.bluetooth|tty.bluetooth]]
+
| [[/dev/dlci.spi-baseband.pdp_3|dlci.spi-baseband.pdp_3]]
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|(Bluetooth Node)
 
|colspan="4" {{yes}}
+
| {{no}}
|{{no}}
+
| {{partial|3G Variant}}
|colspan="5" {{yes}}
+
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
  +
| [[/dev/dlci.spi-baseband.pdp_ctl|dlci.spi-baseband.pdp_ctl]]
|[[/dev/tty|tty]]
 
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|?
 
|colspan="10" {{yes}}
+
| {{no}}
  +
| {{partial|3G Variant}}
  +
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
  +
| [[/dev/dlci.spi-baseband.reg|dlci.spi-baseband.reg]]
|[[/dev/sha1_0|sha1_0]]
 
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|?
 
|colspan="10" {{yes}}
+
| {{no}}
  +
| {{partial|3G Variant}}
  +
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
  +
| [[/dev/dlci.spi-baseband.sms|dlci.spi-baseband.sms]]
|[[/dev/rdisk0s2|rdisk0s2s1]]
 
  +
| ( compatibility node made by [[Cydia.app|Cydia]] )
|(Character device equivalent of disk0s2s1)
 
|colspan="2" {{no}}
+
| {{no}}
  +
| {{partial|3G Variant}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
+
| colspan="4" {{yes}}
|colspan="4" {{yes}}
+
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/rdisk0s2|rdisk0s2]]
+
| [[/dev/io8log|io8log]]
  +
| ( replied AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 when opened [http://yfrog.com/hta56p] )
|(Character device equivalent of disk0s2)
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/rdisk0s1|rdisk0s1]]
+
| [[/dev/io8logmt|io8logmt]]
  +
| ?
|(Character device equivalent of disk0s1)
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/rdisk0|rdisk0]]
+
| [[/dev/kmem|kmem]]
  +
| (Kernel memory)
|(Character device equivalent of disk0)
 
|colspan="10" {{yes}}
+
| colspan="10" {{partial|On patched kernels}}
 
|-
 
|-
|[[/dev/random|random]]
+
| [[/dev/klog|klog]]
  +
| part of the kernel used to receive kernel panic count
|(Outputs random data)
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ptypf|ptypf]]
+
| [[/dev/mem|mem]]
  +
| (Memory)
|?
 
|colspan="2" {{no}}
+
| colspan="10" {{partial|On patched kernels}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
 
|-
 
|-
|[[/dev/ptype|ptype]]
+
| [[/dev/null|null]]
  +
| (Doesn't output, discards input)
|?
 
|colspan="2" {{no}}
+
| colspan="10" {{yes}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
 
|-
 
|-
|[[/dev/ptypd|ptypd]]
+
| [[/dev/pf|pf]]
  +
| ( [[wikipedia:PF (firewall)|firewall]] )
|?
 
|colspan="2" {{no}}
+
| colspan="10" {{yes}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
 
|-
 
|-
|[[/dev/ptypc|ptypc]]
+
| [[/dev/ptmx|ptmx]]
  +
| ( Posix terminal )
|?
 
|colspan="2" {{no}}
+
| colspan="10" {{yes|made by jailbreak}}
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
 
|-
 
|-
|[[/dev/ptypb|ptypb]]
+
| [[/dev/ptyp0|ptyp0]]
|?
 
|colspan="2" {{no}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
|-
 
|[[/dev/ptypa|ptypa]]
 
|?
 
|colspan="2" {{no}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
|-
 
|[[/dev/ptyp9|ptyp9]]
 
|?
 
|colspan="2" {{no}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
|-
 
|[[/dev/ptyp8|ptyp8]]
 
|?
 
|colspan="2" {{no}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="4" {{yes}}
 
|-
 
|[[/dev/ptyp7|ptyp7]]
 
 
|
 
|
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ptyp6|ptyp6]]
+
| [[/dev/ptyp1|ptyp1]]
 
|
 
|
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ptyp5|ptyp5]]
+
| [[/dev/ptyp2|ptyp2]]
 
|
 
|
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ptyp4|ptyp4]]
+
| [[/dev/ptyp3|ptyp3]]
 
|
 
|
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ptyp3|ptyp3]]
+
| [[/dev/ptyp4|ptyp4]]
 
|
 
|
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ptyp2|ptyp2]]
+
| [[/dev/ptyp5|ptyp5]]
 
|
 
|
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ptyp1|ptyp1]]
+
| [[/dev/ptyp6|ptyp6]]
 
|
 
|
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ptyp0|ptyp0]]
+
| [[/dev/ptyp7|ptyp7]]
 
|
 
|
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/ptmx|ptmx]]
+
| [[/dev/ptyp8|ptyp8]]
  +
| ?
|( Posix terminal )
 
|colspan="10" {{yes|made by jailbreak}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/pf|pf]]
+
| [[/dev/ptyp9|ptyp9]]
  +
| ?
|( [[wikipedia:PF (firewall)|firewall]] )
 
|colspan="10" {{yes}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/null|null]]
+
| [[/dev/ptypa|ptypa]]
  +
| ?
|(Doesn't output, discards input)
 
|colspan="10" {{yes}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/mem|mem]]
+
| [[/dev/ptypb|ptypb]]
  +
| ?
|(Memory)
 
|colspan="10" {{partial|On patched kernels}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/klog|klog]]
+
| [[/dev/ptypc|ptypc]]
  +
| ?
|part of the kernel used to receive kernel panic count
 
|colspan="10" {{yes}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/kmem|kmem]]
+
| [[/dev/ptypd|ptypd]]
  +
| ?
|(Kernel memory)
 
|colspan="10" {{partial|On patched kernels}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/io8logmt|io8logmt]]
+
| [[/dev/ptype|ptype]]
|?
+
| ?
|colspan="10" {{yes}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/io8log|io8log]]
+
| [[/dev/ptypf|ptypf]]
  +
| ?
|( replied AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 when opened [http://yfrog.com/hta56p] )
 
|colspan="10" {{yes}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
  +
| [[/dev/random|random]]
|[[/dev/dlci.spi-baseband.sms|dlci.spi-baseband.sms]]
 
  +
| (Outputs random data)
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{yes}}
+
| colspan="10" {{yes}}
|colspan="4" {{no}}
 
|{{partial|ipad 3g}}
 
|{{no}}
 
 
|-
 
|-
  +
| [[/dev/rdisk0|rdisk0]]
|[[/dev/dlci.spi-baseband.reg|dlci.spi-baseband.reg]]
 
  +
| (Character device equivalent of disk0)
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{yes}}
+
| colspan="10" {{yes}}
|colspan="4" {{no}}
 
|{{partial|ipad 3g}}
 
|{{no}}
 
 
|-
 
|-
  +
| [[/dev/rdisk0s1|rdisk0s1]]
|[[/dev/dlci.spi-baseband.pdp_ctl|dlci.spi-baseband.pdp_ctl]]
 
  +
| (Character device equivalent of disk0s1)
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{yes}}
+
| colspan="10" {{yes}}
|colspan="4" {{no}}
 
|{{partial|ipad 3g}}
 
|{{no}}
 
 
|-
 
|-
  +
| [[/dev/rdisk0s2|rdisk0s2]]
|[[/dev/dlci.spi-baseband.pdp_3|dlci.spi-baseband.pdp_3]]
 
  +
| (Character device equivalent of disk0s2)
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{yes}}
+
| colspan="10" {{yes}}
|colspan="4" {{no}}
 
|{{partial|ipad 3g}}
 
|{{no}}
 
 
|-
 
|-
  +
| [[/dev/rdisk0s2|rdisk0s2s1]]
|[[/dev/dlci.spi-baseband.pdp_2|dlci.spi-baseband.pdp_2]]
 
  +
| (Character device equivalent of disk0s2s1)
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{yes}}
+
| colspan="2" {{yes}}
|colspan="4" {{no}}
+
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
|{{partial|ipad 3g}}
 
|{{no}}
+
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
  +
| [[/dev/sha1_0|sha1_0]]
|[[/dev/dlci.spi-baseband.pdp_1|dlci.spi-baseband.pdp_1]]
 
  +
| ?
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{yes}}
+
| colspan="10" {{yes}}
|colspan="4" {{no}}
 
|{{partial|ipad 3g}}
 
|{{no}}
 
 
|-
 
|-
  +
| [[/dev/tty|tty]]
|[[/dev/dlci.spi-baseband.pdp_0|dlci.spi-baseband.pdp_0]]
 
  +
| ?
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{yes}}
+
| colspan="10" {{yes}}
|colspan="4" {{no}}
 
|{{partial|ipad 3g}}
 
|{{no}}
 
 
|-
 
|-
|[[/dev/dlci.spi-baseband.low|dlci.spi-baseband.low]]
+
| [[/dev/tty.bluetooth|tty.bluetooth]]
  +
| (Bluetooth Node)
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{no}}
+
| {{no}}
  +
| colspan="3" {{yes}}
|{{partial|ipad 3g}}
 
|colspan="4" {{yes}}
+
| colspan="6" {{yes}}
|{{no}}
 
 
|-
 
|-
|[[/dev/dlci.spi-baseband.iq|dlci.spi-baseband.iq]]
+
| [[/dev/tty.debug|tty.debug]]
  +
| [[Baseband_Commands|(Baseband)]]
|( compatibility node made by [[Cydia.app|Cydia]] )
 
  +
| {{partial|3G Variant}}
|colspan="4" {{no}}
 
  +
| colspan="4" {{yes}}
|{{partial|ipad 3g}}
 
|colspan="4" {{yes}}
+
| {{no}}
|{{no}}
+
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/dlci.spi-baseband.extra_13|dlci.spi-baseband.extra_13]]
+
| [[/dev/tty.gas-gauge|tty.gas-gauge]]
  +
| (Battery meter)
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{no}}
+
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
|{{partial|ipad 3g}}
 
|colspan="4" {{yes}}
+
| colspan="2" {{yes}}
|{{no}}
+
| colspan="2" {{no}}
  +
| {{yes}}
  +
| {{no}}
 
|-
 
|-
|[[/dev/dlci.spi-baseband.cl1|dlci.spi-bseband.cl1]]
+
| [[/dev/tty.highland-park|tty.highland-park]]
  +
| ?
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{yes}}
+
| colspan="10" {{partial|?}}
|colspan="4" {{no}}
 
|{{partial|ipad 3g}}
 
|{{no}}
 
 
|-
 
|-
|[[/dev/dlci.spi-baseband.chatty|dlci.spi-baseband.chatty]]
+
| [[/dev/tty.iap|tty.iap]]
  +
| ([http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial Dock connector serial interface])
|( compatibility node made by [[Cydia.app|Cydia]] )
 
|colspan="4" {{yes}}
+
| colspan="10" {{yes}}
|colspan="4" {{no}}
 
|{{partial|ipad 3g}}
 
|{{no}}
 
 
|-
 
|-
|[[/dev/dlci.spi-baseband.call|dlci.spi-baseband.call]]
+
| [[/dev/tty.umts|tty.umts]]
  +
| Used for UMTS (3G) connection tecnology
|( compatibility node made by [[Cydia.app|Cydia]] )
 
  +
| {{partial|3G Variant}}
|colspan="4" {{no}}
 
|colspan="4" {{yes}}
+
| {{no}}
|{{partial|ipad 3g}}
+
| {{no}}
|{{no}}
+
| colspan="3" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/disk1|disk1]]
+
| [[/dev/ttyp0|ttyp0]]
  +
| ?
|([[/Developer|Virtual drive for SDK tools image]])
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/disk0s2s1|disk0s2s1]]
+
| [[/dev/ttyp1|ttyp1]]
  +
| ?
|(Encrypted user partition on 3GS?)
 
|colspan="2" {{no}}
+
| colspan="10" {{yes}}
|colspan="2" {{yes}}
 
|colspan="3" {{no}}
 
|colspan="3" {{yes}}
 
 
|-
 
|-
|[[/dev/disk0s2|disk0s2]]
+
| [[/dev/ttyp2|ttyp2]]
  +
| ?
|(NAND, [[/private/var|user partition]])
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/disk0s1|disk0s1]]
+
| [[/dev/ttyp2|ttyp3]]
  +
| ?
|(NAND, [[/|system partition]])
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/disk0|disk0]]
+
| [[/dev/ttyp2|ttyp4]]
  +
| ?
|([[NAND]])
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/cu.umts|cu.umts]]
+
| [[/dev/ttyp2|ttyp5]]
|?
+
| ?
|colspan="10" {{partial|?}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/cu.iap|cu.iap]]
+
| [[/dev/ttyp2|ttyp6]]
  +
| ?
|([http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial Dock connector serial interface])
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/cu.highland-park|cu.highland-park]]
+
| [[/dev/ttyp2|ttyp7]]
  +
| ?
|(Camera)
 
|colspan="10" {{partial|?}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/cu.gps|cu.gps]]
+
| [[/dev/ttyp8|ttyp8]]
  +
| ?
|(Something with GPS)
 
|colspan="3" {{yes}}
+
| colspan="2" {{no}}
|colspan="4" {{no}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
|{{partial|ipad 3g}}
 
|{{no}}
+
| colspan="2" {{yes}}
|{{no}}
+
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/cu.gas-gauge|cu.gas-gauge]]
+
| [[/dev/ttyp8|ttyp9]]
  +
| ?
|(Exclusive access to the battery meter)
 
|colspan="2" {{no}}
+
| colspan="2" {{yes}}
|colspan="2" {{yes}}
+
| colspan="2" {{no}}
|colspan="2" {{no}}
+
| colspan="2" {{yes}}
|colspan="3" {{yes}}
+
| colspan="2" {{no}}
|{{no}}
+
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/cu.debug|cu.debug]]
+
| [[/dev/ttyp8|ttypa]]
  +
| ?
|[[Baseband_Commands|(Exclusive access to Baseband used, for example, by BBUpdater)]]
 
|colspan="4" {{no}}
+
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
|{{partial|ipad 3g}}
 
|colspan="4" {{yes}}
+
| colspan="2" {{yes}}
|{{no}}
+
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/cu.bluetooth|cu.bluetooth]]
+
| [[/dev/ttyp8|ttypb]]
  +
| ?
|(primary Dev Node to comunicate with the bluetooth chip)
 
|colspan="4" {{yes}}
+
| colspan="2" {{yes}}
|{{no}}
+
| colspan="2" {{no}}
|colspan="5" {{yes}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/console|console]]
+
| [[/dev/ttyp8|ttypc]]
  +
| ?
|(System console, displayed during a verbose boot)
 
|colspan="10" {{yes}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/compass2_0|compass2_0]]
+
| [[/dev/ttyp8|ttypd]]
  +
| ?
|([[Gyroscope]])
 
|colspan="3" {{no}}
+
| colspan="2" {{yes}}
|{{yes}}
+
| colspan="2" {{no}}
|colspan="3" {{no}}
+
| colspan="2" {{yes}}
|{{yes}}
+
| colspan="2" {{no}}
|colspan="2" {{no}}
+
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/compass1_0|compass1_0]]
+
| [[/dev/ttyp8|ttype]]
  +
| ?
|(This may exist as [[Accelerometer]])
 
|colspan="10" {{partial|?}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/compass_0|compass_0]]
+
| [[/dev/ttyp8|ttypf]]
  +
| ?
|([[Magnetometer]])
 
|{{no}}
+
| colspan="2" {{yes}}
|colspan="2" {{yes}}
+
| colspan="2" {{no}}
|colspan="5" {{no}}
+
| colspan="2" {{yes}}
|{{yes}}
+
| colspan="2" {{no}}
|{{no}}
+
| colspan="2" {{yes}}
 
|-
 
|-
|[[/dev/btwake|btwake]]
+
| [[/dev/uart.bluetooth|uart.bluetooth]]
  +
| (Bluetooth Dev Node disabled by the kernel for power saving)
|(sent to switch the bluetooth chip on from standby)
 
|colspan="10" {{yes}}
+
| colspan="6" {{yes}}
  +
| {{no}}
  +
| colspan="3" {{yes}}
 
|-
 
|-
|[[/dev/btreset|btreset]]
+
| [[/dev/uart.debug|uart.debug]]
  +
| [[Baseband_Commands|(Baseband)]]
|(used if the bluetooth chip becomes unresponsive)
 
|colspan="10" {{yes}}
+
| {{no}}
  +
| {{partial|3G Variant}}
  +
| colspan="4" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/bpf3|bpf3]]
+
| [[/dev/uart.gas-gauge|uart.gas-gauge]]
  +
| (Battery meter)
|([[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]])
 
|colspan="10" {{yes}}
+
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| colspan="2" {{yes}}
  +
| colspan="2" {{no}}
  +
| {{yes}}
  +
| {{no}}
 
|-
 
|-
|[[/dev/bpf2|bpf2]]
+
| [[/dev/uart.gps|uart.gps]]
  +
| (Something with GPS)
|([[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]])
 
|colspan="10" {{yes}}
+
| {{no}}
  +
| {{partial|3G Variant}}
  +
| {{no}}
  +
| colspan="3" {{yes}}
  +
| colspan="4" {{no}}
 
|-
 
|-
|[[/dev/bpf1|bpf1]]
+
| [[/dev/uart.highland-park|uart.highland-park]]
  +
| ?
|([[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]])
 
|colspan="10" {{yes}}
+
| colspan="10" {{partial|?}}
 
|-
 
|-
|[[/dev/bpf0|bpf0]]
+
| [[/dev/uart.iap|uart.iap]]
  +
| ([http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial Dock connector serial interface])
|([[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]])
 
|colspan="10" {{yes}}
+
| colspan="10" {{yes}}
 
|-
 
|-
|[[/dev/aes_0|aes_0]]
+
| [[/dev/uart.umts|uart.utms]]
  +
| (new data line added on the iPhone 4)
|(used with a crypto bundle provided in [[XPwn]] to utilize the [[AES Keys]] in userland)
 
|colspan="10" {{yes}}
+
| colspan="5" {{partial|?}}
  +
| {{yes}}
  +
| colspan="4" {{partial|?}}
 
|-
 
|-
  +
| [[/dev/urandom|urandom]]
  +
| (Outputs pseudo-random data)
  +
| colspan="10" {{yes}}
  +
|-
  +
| [[/dev/vn0|vn0]]
  +
| ?
  +
| colspan="10" {{yes|made by jailbreak}}
  +
|-
  +
| [[/dev/vn1|vn1]]
  +
| ?
  +
| colspan="10" {{yes|made by jailbreak}}
  +
|-
  +
| [[/dev/zero|zero]]
  +
| (Outputs 0x0, discards input)
  +
| colspan="10" {{yes|class=notrradiusplz}}
 
|}
 
|}
   
 
== Parents ==
 
== Parents ==
  +
{{parent}}
*[[/]]
 
  +
  +
[[Category:Filesystem]]

Latest revision as of 12:32, 23 March 2017

Device Nodes are here, as with any other *nix system. The directory is read-only as its files don't actually exist and are transparently handled by the kernel.

Children

Files

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

Parents

(root)