The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "/private/etc/fstab"
m (→Parents: Added "/private" to the path.) |
m |
||
Line 1: | Line 1: | ||
− | == Summary == |
||
fstab controls the read/write access of the root and media partitions. A barebones jailbreak can be put in place simply by modifying this file to grant full read/write access to the user. |
fstab controls the read/write access of the root and media partitions. A barebones jailbreak can be put in place simply by modifying this file to grant full read/write access to the user. |
||
== File Contents == |
== File Contents == |
||
+ | Note the empty line. This is required for the file to be parsed correctly. |
||
− | * Before jailbreak: <code>/dev/disk0s1 / hfs ro 0 1</code> |
||
+ | === Before [[jailbreak]] === |
||
− | * After jailbreak: <code>/dev/disk0s1 / hfs rw 0 1</code> |
||
+ | [[/dev/disk0s1s1]] / hfs ro 0 1 |
||
+ | [[/dev/disk0s1s2]] /private/var hfs rw 0 2 |
||
+ | |||
+ | === After jailbreak === |
||
+ | /dev/disk0s1s1 / hfs rw 0 1 |
||
+ | /dev/disk0s1s2 /private/var hfs rw 0 2 |
||
+ | |||
== Parents == |
== Parents == |
||
− | + | {{parent|private|etc}} |
Revision as of 01:22, 31 December 2012
fstab controls the read/write access of the root and media partitions. A barebones jailbreak can be put in place simply by modifying this file to grant full read/write access to the user.
File Contents
Note the empty line. This is required for the file to be parsed correctly.
Before jailbreak
/dev/disk0s1s1 / hfs ro 0 1 /dev/disk0s1s2 /private/var hfs rw 0 2
After jailbreak
/dev/disk0s1s1 / hfs rw 0 1 /dev/disk0s1s2 /private/var hfs rw 0 2