Difference between revisions of "/dev"

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