|
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 (→Jailbreak) |
m |
||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:/etc/fstab}} |
||
| − | 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. |
||
| − | |||
| − | ==Modification== |
||
| − | The original fstab file, before a jailbreak, looks something like this: |
||
| − | |||
| − | <code> |
||
| − | /dev/disk0s1 / hfs ro 0 1 |
||
| − | |||
| − | /dev/disk0s2 /private/var hfs rw,nosuid,nodev 0 2 |
||
| − | </code> |
||
| − | |||
| − | Notice /dev/disk0s2 has /private/var mounted as read/write. This directory is generally where music/photos/videos/etc are stored. This directory can easily be accessed (without FULL access) with a program like PhoneDisk or DiskAid. iTunes has full and complete access to this directory, for obvious reasons. This is proven with the [[afc]] service, which [[iTunes]] uses to transfer music/videos/etc. |
||
| − | |||
== Summary == |
== 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. |
||
| − | This file lists the partitions on all UNIX-based systems. |
||
== File Contents == |
== File Contents == |
||
Revision as of 23:47, 26 June 2011
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.
File Contents
- Before jailbreak:
/dev/disk0s1 / hfs ro 0 1 - After jailbreak:
/dev/disk0s1 / hfs rw 0 1