Difference between revisions of "/dev"

From The iPhone Wiki
Jump to: navigation, search
(Files)
(Added baseband and explained other devices)
Line 5: Line 5:
 
== Children ==
 
== Children ==
 
=== Files ===
 
=== Files ===
  +
*[[/dev/zero|zero]]
 
  +
<!--"cu.*" devices are like the corresponding "tty.*" device but with exclusive access (like a lock file)-->
  +
<!--Obviously, device availability may differ depending on hardware.-->
  +
<!--And on OS. /dev/mem and /dev/kmem were removed after 1.1.2, see chronic-dev google code.-->
  +
  +
*[[/dev/zero|zero]] (Outputs 0x0, discards input)
 
*[[/dev/vn1|vn1]]
 
*[[/dev/vn1|vn1]]
 
*[[/dev/vn0|vn0]]
 
*[[/dev/vn0|vn0]]
*[[/dev/urandom|urandom]]
+
*[[/dev/urandom|urandom]] (Outputs pseudo-random data)
 
*[[/dev/uart.iap|uart.iap]]
 
*[[/dev/uart.iap|uart.iap]]
 
*[[/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 )
Line 19: Line 24:
 
*[[/dev/ttyp1|ttyp1]]
 
*[[/dev/ttyp1|ttyp1]]
 
*[[/dev/ttyp0|ttyp0]]
 
*[[/dev/ttyp0|ttyp0]]
  +
*[[/dev/tty.iap|tty.iap]] ([http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial Dock connector serial interface])
*[[/dev/tty.iap|ttp.iap]]
 
*[[/dev/tty.bluetooth|ttp.bluetooth]]
+
*[[/dev/tty.debug|tty.debug]] [[Baseband_Commands|(Baseband)]]
  +
*[[/dev/tty.bluetooth|tty.bluetooth]]
 
*[[/dev/tty|tty]]
 
*[[/dev/tty|tty]]
 
*[[/dev/sha1_0|sha1_0]]
 
*[[/dev/sha1_0|sha1_0]]
*[[/dev/rdisk0s2|rdisk0s2]]
+
*[[/dev/rdisk0s2|rdisk0s2]] (Character device equivalent of disk0s2)
*[[/dev/rdisk0s1|rdisk0s1]]
+
*[[/dev/rdisk0s1|rdisk0s1]] (Character device equivalent of disk0s1)
*[[/dev/rdisk0|rdisk0]]
+
*[[/dev/rdisk0|rdisk0]] (Character device equivalent of disk0)
*[[/dev/random|random]]
+
*[[/dev/random|random]] (Outputs random data)
 
*[[/dev/ptyp7|ptyp7]]
 
*[[/dev/ptyp7|ptyp7]]
 
*[[/dev/ptyp6|ptyp6]]
 
*[[/dev/ptyp6|ptyp6]]
Line 37: Line 43:
 
*[[/dev/ptmx|ptmx]]
 
*[[/dev/ptmx|ptmx]]
 
*[[/dev/pf|pf]]
 
*[[/dev/pf|pf]]
*[[/dev/null|null]]
+
*[[/dev/null|null]] (Doesn't output, discards input)
 
*[[/dev/klog|klog]]
 
*[[/dev/klog|klog]]
 
*[[/dev/io8logmt|io8logmt]]
 
*[[/dev/io8logmt|io8logmt]]
 
*[[/dev/io8log|io8log]]
 
*[[/dev/io8log|io8log]]
*[[/dev/disk0s2|disk0s2]]
+
*[[/dev/disk0s2|disk0s2]] (NAND, [[/private/var|user partition]])
*[[/dev/disk0s1|disk0s1]]
+
*[[/dev/disk0s1|disk0s1]] (NAND, [[/|system partition]])
*[[/dev/disk0|disk0]]
+
*[[/dev/disk0|disk0]] ([[NAND]])
 
*[[/dev/cu.iap|cu.iap]]
 
*[[/dev/cu.iap|cu.iap]]
  +
*[[/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]]
+
*[[/dev/console|console]] (System console, displayed during a verbose boot)
 
*[[/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 )

Revision as of 13:56, 25 October 2010

Summary

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

Children

Files

Parents