The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "/dev"
(→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. |
+ | *[[/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
Contents
Summary
Device Nodes are here, as with any other standard UNIX system. The folder cannot be written to.
Children
Files
- zero (Outputs 0x0, discards input)
- vn1
- vn0
- urandom (Outputs pseudo-random data)
- uart.iap
- uart.bluetooth ( Bluetooth Dev Node disabled by the kernel for power saving )
- ttyp7
- ttyp6
- ttyp5
- ttyp4
- ttyp3
- ttyp2
- ttyp1
- ttyp0
- tty.iap (Dock connector serial interface)
- tty.debug (Baseband)
- tty.bluetooth
- tty
- sha1_0
- rdisk0s2 (Character device equivalent of disk0s2)
- rdisk0s1 (Character device equivalent of disk0s1)
- rdisk0 (Character device equivalent of disk0)
- random (Outputs random data)
- ptyp7
- ptyp6
- ptyp5
- ptyp4
- ptyp3
- ptyp2
- ptyp1
- ptyp0
- ptmx
- pf
- null (Doesn't output, discards input)
- klog
- io8logmt
- io8log
- disk0s2 (NAND, user partition)
- disk0s1 (NAND, system partition)
- disk0 (NAND)
- cu.iap
- 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)
- btwake ( sent to switch the bluetooth chip on from standby )
- btreset ( used if the bluetooth chip becomes unresponsive )
- bpf3
- bpf2
- bpf1
- bpf0
- aes_0 ( used with a crypto bundle provided in XPwn to utilize the AES_Keys in userland )