Difference between revisions of "/dev"

From The iPhone Wiki
Jump to: navigation, search
(Files)
(Files)
Line 91: Line 91:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ttype|ttype]]
 
|[[/dev/ttype|ttype]]
Line 98: Line 98:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ttypd|ttypd]]
 
|[[/dev/ttypd|ttypd]]
Line 105: Line 105:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ttypc|ttypc]]
 
|[[/dev/ttypc|ttypc]]
Line 112: Line 112:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ttypb|ttypb]]
 
|[[/dev/ttypb|ttypb]]
Line 119: Line 119:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ttypa|ttypa]]
 
|[[/dev/ttypa|ttypa]]
Line 126: Line 126:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ttyp9|ttyp9]]
 
|[[/dev/ttyp9|ttyp9]]
Line 133: Line 133:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ttyp8|ttyp8]]
 
|[[/dev/ttyp8|ttyp8]]
Line 140: Line 140:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ttyp7|ttyp7]]
 
|[[/dev/ttyp7|ttyp7]]
Line 220: Line 220:
 
|[[/dev/rdisk0s2|rdisk0s2s1]]
 
|[[/dev/rdisk0s2|rdisk0s2s1]]
 
|(Character device equivalent of disk0s2s1)
 
|(Character device equivalent of disk0s2s1)
|{{no}}
+
|colspan="2" {{no}}
|{{no}}
+
|colspan="2" {{yes}}
|{{yes}}
+
|colspan="2" {{no}}
|{{yes}}
 
|{{no}}
 
|{{no}}
 
 
|colspan="4"{{yes}}
 
|colspan="4"{{yes}}
 
|-
 
|-
Line 249: Line 246:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="3" {{yes}}
 
|-
 
|-
 
|[[/dev/ptype|ptype]]
 
|[[/dev/ptype|ptype]]
Line 256: Line 253:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ptypd|ptypd]]
 
|[[/dev/ptypd|ptypd]]
Line 263: Line 260:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ptypc|ptypc]]
 
|[[/dev/ptypc|ptypc]]
Line 270: Line 267:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ptypb|ptypb]]
 
|[[/dev/ptypb|ptypb]]
Line 277: Line 274:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ptypa|ptypa]]
 
|[[/dev/ptypa|ptypa]]
Line 284: Line 281:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ptyp9|ptyp9]]
 
|[[/dev/ptyp9|ptyp9]]
Line 291: Line 288:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ptyp8|ptyp8]]
 
|[[/dev/ptyp8|ptyp8]]
Line 298: Line 295:
 
|colspan="2" {{yes}}
 
|colspan="2" {{yes}}
 
|colspan="2" {{no}}
 
|colspan="2" {{no}}
|colspan="2" {{yes}}
+
|colspan="4" {{yes}}
 
|-
 
|-
 
|[[/dev/ptyp7|ptyp7]]
 
|[[/dev/ptyp7|ptyp7]]
Line 461: Line 458:
 
|[[/dev/disk0s2s1|disk0s2s1]]
 
|[[/dev/disk0s2s1|disk0s2s1]]
 
|(Encrypted user partition on 3GS?)
 
|(Encrypted user partition on 3GS?)
|{{no}}
+
|colspan="2" {{no}}
|{{no}}
+
|colspan="2" {{yes}}
|{{yes}}
+
|colspan="3" {{no}}
|{{yes}}
+
|colspan="3" {{yes}}
|{{no}}
 
|{{no}}
 
|{{no}}
 
|{{yes}}
 
|{{yes}}
 
|{{yes}}
 
 
|-
 
|-
 
|[[/dev/disk0s2|disk0s2]]
 
|[[/dev/disk0s2|disk0s2]]
Line 502: Line 493:
 
|[[/dev/cu.debug|cu.debug]]
 
|[[/dev/cu.debug|cu.debug]]
 
|[[Baseband_Commands|(Exclusive access to Baseband used, for example, by BBUpdater)]]
 
|[[Baseband_Commands|(Exclusive access to Baseband used, for example, by BBUpdater)]]
|{{yes}}
+
|colspan="4" {{yes}}
|{{yes}}
+
|colspan="4" {{no}}
|{{yes}}
 
|{{yes}}
 
|{{no}}
 
|{{no}}
 
|{{no}}
 
|{{no}}
 
 
|{{partial|ipad 3g}}
 
|{{partial|ipad 3g}}
 
|{{no}}
 
|{{no}}
Line 524: Line 509:
 
|[[/dev/compass2_0|compass2_0]]
 
|[[/dev/compass2_0|compass2_0]]
 
|( [[Gyroscope]] )
 
|( [[Gyroscope]] )
|{{no}}
+
|colspan="3" {{no}}
|{{no}}
 
|{{no}}
 
 
|{{yes}}
 
|{{yes}}
|{{no}}
+
|colspan="3" {{no}}
|{{no}}
 
|{{no}}
 
 
|{{yes}}
 
|{{yes}}
|{{no}}
+
|colspan="2" {{no}}
|{{no}}
 
 
|-
 
|-
 
|[[/dev/compass1_0|compass1_0]]
 
|[[/dev/compass1_0|compass1_0]]
Line 541: Line 521:
 
|([[Magnetometer]])
 
|([[Magnetometer]])
 
|{{no}}
 
|{{no}}
|{{yes}}
+
|colspan="2" {{yes}}
|{{yes}}
 
 
|colspan="5" {{no}}
 
|colspan="5" {{no}}
 
|{{yes}}
 
|{{yes}}

Revision as of 22:19, 26 October 2010

Summary

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

Children

Files

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

Parents