最終更新:2008-07-14 (月) 02:18:14 (5769d)  

iPod touch/ファイル構成/1.1.1

1.1.1のもの。

パーティション構成

# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/disk0s1            307200    277996     26132  92% /
devfs                       15        15         0 100% /dev
/dev/disk0s2           7622368    132020   7490348   2% /private/var

ディレクトリ構成

/

# ls -al /
total 29
drwxrwxr-t 23 root admin  850 Dec 17 08:03 .
drwxrwxr-t 23 root admin  850 Dec 17 08:03 ..
drwxrwxr-x  2 root admin  102 Dec 17 07:27 .AppleDesktop
drwxrwxr-x  2 root admin  136 Dec 17 07:27 .AppleDouble
-rw-rw-r--  1 root admin 6148 Dec 17 07:27 :2eDS_Store
drwxrwxr-x 32 root admin 1088 Dec 17 09:21 Applications
drwxrwxr-t 12 root admin  408 Dec 17 07:56 Library
drwxrwxr-x  3 root admin  102 Dec 17 07:27 Network Trash Folder
-rw-r--r--  1 root admin  321 Nov  3 16:34 README.txt
drwxr-xr-x  5 root wheel  170 Dec 17 06:17 System
drwxrwxr-x  3 root admin  102 Dec 17 07:27 Temporary Items
drwxr-xr-x  8 root admin  272 Dec 17 06:17 __MACOSX
drwxr-xr-x 38 root wheel 1292 Dec 17 06:22 bin
drwxrwxr-t  2 root admin   68 Sep 19 15:42 cores
dr-xr-xr-x  3 root wheel  583 Dec 17 07:25 dev
lrwxr-xr-x  1 root admin   11 Sep 22 07:11 etc -> private/etc
lrwxr-xr-x  1 root admin   11 Sep 22 07:11 mach -> mach_kernel
drwxr-xr-x  3 root admin  102 Dec 17 08:03 opt
drwxr-xr-x  6 root wheel  204 Dec 17 06:17 private
drwxr-xr-x 18 root wheel  612 Dec 17 06:23 sbin
lrwxr-xr-x  1 root admin   15 Sep 22 07:11 tmp -> private/var/tmp
drwxr-xr-x  9 root wheel  306 Dec 17 06:17 usr
lrwxr-xr-x  1 root admin   11 Sep 22 07:11 var -> private/var

/private

# ls -al /private
total 8
drwxr-xr-x  6 root wheel  204 Dec 17 06:17 .
drwxrwxr-t 23 root admin  850 Dec 17 08:03 ..
-rw-r--r--  1 root wheel 6148 Nov  3 20:41 .DS_Store
drwxr-xr-x  6 root wheel  306 Dec 17 06:17 .svn
drwxr-xr-x 29 root wheel  986 Dec 17 08:05 etc
drwxr-xr-x 16 root wheel  612 Dec 17 06:24 var

/private/etc

# ls -al /private/etc
total 652
drwxr-xr-x 29 root wheel    986 Dec 17 08:05 .
drwxr-xr-x  6 root wheel    204 Dec 17 06:17 ..
-rw-r--r--  1 root wheel   6148 Nov  3 20:41 .DS_Store
drwxr-xr-x  6 root wheel    306 Dec 17 06:17 .svn
drwxr-xr-x  6 root wheel    204 Sep 22 06:43 bluetool
-rw-r--r--  1 root wheel     75 Dec 17 06:24 csh.cshrc
-rw-r--r--  1 root wheel     70 Nov  3 16:34 fstab
-rw-r--r--  1 root wheel    937 Sep 19 15:42 group
-rw-r--r--  1 root wheel    214 Sep 19 15:42 hosts
-rw-r--r--  1 root wheel      0 Sep 19 15:42 hosts.equiv
-rw-------  1 root wheel    620 Dec 17 09:41 master.passwd
-rw-r--r--  1 root wheel     53 Sep 19 15:42 networks
-rw-r--r--  1 root wheel    132 Sep 19 16:29 notify.conf
-rw-r--r--  1 root wheel    565 Dec 17 09:41 passwd
drwxr-xr-x  2 root wheel     68 Sep 22 06:37 ppp
-rw-r--r--  1 root wheel    199 Dec 17 06:24 profile
-rw-r--r--  1 root wheel   5766 Sep 19 15:42 protocols
drwxr-xr-x  5 root wheel    170 Sep 22 06:30 racoon
lrwxr-xr-x  1 root wheel     20 Sep 22 07:11 resolv.conf ->  /var/run/resolv.conf
-rw-r--r--  1 root wheel 572625 Sep 19 15:42 services
-rw-r--r--  1 root wheel   1418 Dec 17 07:43 ssh_config
-rw-------  1 root wheel    672 Dec 17 07:52 ssh_host_dsa_key
-rw-r--r--  1 root wheel    590 Dec 17 07:52 ssh_host_dsa_key.pub
-rw-------  1 root wheel    963 Dec 17 07:51 ssh_host_key
-rw-r--r--  1 root wheel    627 Dec 17 07:51 ssh_host_key.pub
-rw-------  1 root wheel   1675 Dec 17 07:51 ssh_host_rsa_key
-rw-r--r--  1 root wheel    382 Dec 17 07:51 ssh_host_rsa_key.pub
-rw-r--r--  1 root wheel   3230 Dec 17 07:43 sshd_config
-rw-r--r--  1 root wheel   2497 Sep 19 15:42 ttys

/private/var

# ls -al /private/var
total 8
drwxr-xr-x 16 root   wheel   612 Dec 17 06:24 .
drwxr-xr-x  6 root   wheel   204 Dec 17 06:17 ..
-rw-r--r--  1 root   wheel  6148 Nov  3 20:41 .DS_Store
drwxr-xr-x  6 root   wheel   306 Dec 17 06:17 .svn
drwxr-xr-x  3 root   wheel   102 Dec 17 06:24 cron
drwxr-xr-x  4 root   admin   170 Dec 17 06:10 db
drwxr-xr-x  2 root   sys      68 Sep 19 15:42 empty
drwxr-xr-x  4 root   wheel   204 Dec 17 08:05 log
drwxr-xr-x  3 root   wheel   102 Dec 17 06:59 logs
drwxr-x---  3 mobile wheel   136 Sep 19 15:42 mobile
drwxr-xr-x  2 root   wheel    68 Sep 19 15:42 msgs
drwxr-xr-x  2 root   wheel   102 Dec 17 06:52 preferences
drwxrwxrwx  9 root   wheel   374 Dec 17 07:27 root
drwxrwxr-x  3 root   daemon  578 Dec 17 09:41 run
drwxrwxrwt  6 root   wheel   204 Dec 17 09:25 tmp
drwxr-xr-x  2 root   wheel    68 Sep 19 15:42 vm

/private/var/root

1.1.3以降は /private/var/mobile

# ls -al /private/var/root
total 744
drwxrwxrwx  9 root wheel    374 Dec 17 07:27 .
drwxr-xr-x 16 root wheel    612 Dec 17 06:24 ..
drwxrwxrwx  2 root wheel    102 Dec 17 07:27 .AppleDesktop
drwxrwxrwx  2 root wheel    102 Dec 17 07:27 .AppleDouble
-rw-r--r--  1 root wheel   6148 Nov  3 20:41 .DS_Store
drwxr-xr-x  6 root wheel    306 Dec 17 06:17 .svn
drwxrwxrwx 22 root wheel    782 Dec 17 07:17 Library
drwxr-xr-x  5 root wheel    238 Dec 17 07:54 Media
drwxrwxrwx  3 root wheel    102 Dec 17 07:27 Network Trash Folder
drwxrwxrwx  3 root wheel    102 Dec 17 07:27 Temporary Items
-rwxr-xr-x  1 root wheel 752965 Dec 17 06:17 root.zip

/private/var/root/Media

# ls -al /private/var/root/Media
total 8
drwxr-xr-x 5 root wheel  238 Dec 17 07:54 .
drwxrwxrwx 9 root wheel  374 Dec 17 07:27 ..
-rw-r--r-- 1 root wheel 4724 Dec 17 06:17 AppSnapp.log
drwxr-xr-x 2 root wheel  102 Dec 17 07:40 Downloads
-rw-r--r-- 1 root wheel    0 Dec 17 06:13 com.apple.itunes.lock_sync
drwxr-xr-x 5 root wheel  170 Dec 17 06:13 iTunes_Control

/private/var/root/Media/iTunes_Control

# ls -al /private/var/root/Media/iTunes_Control
total 0
drwxr-xr-x  5 root wheel 170 Dec 17 06:13 .
drwxr-xr-x  5 root wheel 238 Dec 17 07:54 ..
drwxr-xr-x  2 root wheel 102 Dec 17 06:18 Artwork #ここにArtworkDBファイル
drwxr-xr-x 16 root wheel 544 Dec 17 06:10 Music   #ここに曲とか一式。
drwxr-xr-x  2 root wheel 204 Dec 17 06:18 iTunes

/private/var/root/Media/iTunes_Control/iTunes

# ls -al /private/var/root/Media/iTunes_Control/iTunes
total 44
drwxr-xr-x 2 root wheel   204 Dec 17 06:18 .
drwxr-xr-x 5 root wheel   170 Dec 17 06:13 ..
-rw-r--r-- 1 root wheel  1140 Dec 17 06:11 IC-Info.sidv
-rw-r--r-- 1 root wheel     0 Dec 17 06:10 iTunesControl
-rw-r--r-- 1 root wheel 35680 Dec 17 06:18 iTunesDB
-rw-r--r-- 1 root wheel   256 Dec 17 06:18 iTunesPrefs

/private/var/root/Library

# ls -la /private/var/root/Library
total 8
drwxrwxrwx 22 root wheel  782 Dec 17 07:17 .
drwxrwxrwx  9 root wheel  374 Dec 17 07:27 ..
-rw-r--r--  1 root wheel 6148 Nov  3 20:55 .DS_Store
drwxr-xr-x  6 root wheel  306 Dec 17 06:17 .svn
drwx------  2 root wheel  102 Dec 17 06:12 AddressBook
drwxr-xr-x  5 root wheel  170 Dec 17 07:41 Caches
drwx------  2 root wheel  102 Dec 17 06:08 Calendar
drwx------  2 root wheel  102 Dec 17 06:08 CallHistory
drwx------  2 root wheel  102 Dec 17 06:16 Cookies
drwxr-xr-x 34 root wheel 1156 Dec 17 07:01 Customize
drwxr-xr-x  3 root wheel  102 Dec 17 06:59 DockSwap
drwxr-xr-x  4 root wheel  272 Dec 17 09:43 Installer
drwx------  2 root wheel  102 Dec 17 06:40 Keyboard
drwxr-xr-x  2 root wheel  102 Dec 17 06:08 Keychains
drwxr-xr-x  4 root wheel  238 Dec 17 06:11 Lockdown
drwxr-xr-x  5 root wheel  204 Dec 17 06:46 MobileFinder
drwxrwxrwx  3 root wheel  612 Dec 17 09:19 Preferences
drwx------  2 root wheel  102 Dec 17 06:08 SMS
drwxr-xr-x  2 root wheel  136 Dec 17 07:42 Safari
drwxr-xr-x  3 root wheel  102 Dec 17 06:43 SummerBoard
drwx------  2 root wheel  102 Dec 17 06:08 Voicemail