<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                獅子的安裝會自動在硬盤中生成一個650MB的恢復盤分區,這個分區在正常的GUI界面中是看不見的。使用下面的語句可以看見硬盤的分區情況: diskutil list 這樣可以看到這個隱藏的分區的名稱是Recovery HD 使用命令來安裝到GUI中(比如我的是disk1s4): diskutil mount disk1s4 進入后,下面是它的根里面的內容: d-wx-wx-wt@ 3 root? _unknown? hidden 102? 2 Jul 22:52 .Trashes drwxr-xr-x@ 3 root? admin???? -????? 102? 2 Jul 16:16 .fseventsd -rw-r--r--@ 1 root? admin???? -??????? 0? 2 Jul 16:16 .metadata_never_index drwxr-xr-x@ 9 root? admin???? -????? 306? 2 Jul 16:17 com.apple.recovery.boot 在com.apple.recovery.boot目錄里面的內容: total 930040 drwxr-xr-x@ 9 root? admin??????? 306? 2 Jul 16:17 . drwxrwxr-x? 8 root? admin??????? 340? 2 Jul 16:16 .. -rw-r--r--@ 1 root? admin??????? 749? 2 Jul 16:17 .disk_label -rw-r--r--@ 1 root? wheel? 451307798? 2 Jul 16:07 BaseSystem.dmg -rw-r--r--@ 1 root? wheel?????? 2245 15 Jun 19:06 PlatformSupport.plist -r--r--r--@ 1 root? wheel??????? 475 29 Jun 21:42 SystemVersion.plist -rw-r--r--@ 1 root? wheel???? 858800 30 Jun 00:04 boot.efi -rw-r--r--@ 1 root? admin??????? 361? 2 Jul 16:17 com.apple.Boot.plist -rw-r--r--@ 1 root? wheel?? 23992189 29 Jun 23:41 kernelcache 這里就是啟動盤的所有內容了。 看看每個文件的內容: SystemVersion.plist : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> ?? ?<key>ProductBuildVersion</key> ?? ?<string>11A511</string> ?? ?<key>ProductCopyright</key> ?? ?<string>1983-2011 Apple Inc.</string> ?? ?<key>ProductName</key> ?? ?<string>Mac OS X</string> ?? ?<key>ProductUserVisibleVersion</key> ?? ?<string>10.7</string> ?? ?<key>ProductVersion</key> ?? ?<string>10.7</string> </dict> </plist> PlatformSupport.plist 它和安裝盤中的是一樣的內容,里面是所支持的硬件主板id號列表 com.apple.Boot.plist :是控制如何使用這個BaseSystem.dmg文件來啟動系統恢復程序的 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> ?? ?<key>Kernel Cache</key> ?? ?<string>\com.apple.recovery.boot\kernelcache</string> ?? ?<key>Kernel Flags</key> ?? ?<string>rp=file:///com.apple.recovery.boot/BaseSystem.dmg</string> </dict> </plist> 再將BaseSystem.dmg安裝到GUI中,可以看到這個圖 ![](https://box.kancloud.cn/2016-04-19_57158f50e2b62.gif) 就是一個核心系統,它自動運行Insall Mac OS X Lion.app程序,來恢復系統。不過這個恢復的過程需要從App Store下載安裝的方式。 Install Mac OS X Lion.app運行的畫面就是在安裝過程中的畫面: ![](https://box.kancloud.cn/2016-04-19_57158f51132f6.gif) 回頭看看ESD安裝盤的內容,上面的這些文件都可以在ESD安裝盤上找到: total 960568 drwxrwxr-t? 20 root????? admin?????????? 748? 2 Jul 15:48 . drwxrwxrwt@? 9 root????? admin?????????? 306? 2 Jul 22:58 .. -rw-r--r--@? 1 dd??????? admin???????? 15364? 2 Jul 23:17 .DS_Store drwx------?? 5 _unknown? _unknown??????? 170? 2 Jul 17:27 .Spotlight-V100 d-wx-wx-wt@? 3 _unknown? _unknown??????? 102? 2 Jul 21:59 .Trashes -rwxr-xr-x@? 1 root????? wheel??????????? 82 13 Jun 12:47 ._Instructions.localized -rw-r--r--@? 1 root????? admin?????????? 581 30 Jun 00:55 .disk_label drwx------?? 6 _unknown? _unknown??????? 204? 2 Jul 17:53 .fseventsd -rw-r--r--@? 1 root????? admin????????? 1876 30 Jun 00:55 BaseSystem.chunklist -rw-r--r--@? 1 root????? admin???? 451307798 30 Jun 00:47 BaseSystem.dmg drwxr-xr-x@? 3 root????? wheel?????????? 102 29 Jun 20:24 Install Mac OS X Lion.app drwxr-xr-x@? 4 root????? wheel?????????? 136? 2 Jul 23:17 Library -r--r--r--@? 1 root????? wheel???????? 46516? 8 Jun? 2010 MacOSX_Media_Background.png drwxr-xr-x@ 51 root????? wheel????????? 1734 30 Jun 00:55 Packages drwxr-xr-x@? 3 root????? wheel?????????? 102 16 Jun 17:07 System -rw-r--r--@? 1 root????? admin??????? 858800 30 Jun 00:52 boot.efi -rw-r--r--@? 1 root????? admin????? 23992189 30 Jun 00:54 kernelcache -rw-r--r--@? 1 root????? wheel????? 15565140 18 Jun 13:59 mach_kernel drwxr-xr-x@? 3 root????? wheel?????????? 102 16 Jun 16:57 private drwxr-xr-x@? 4 root????? wheel?????????? 136 30 Jun 00:52 usr 對比一下10.6和10.7的boot.efi文件的大小: 10.6的Boot.efi文件大小是332464 bytes,而Lion的是858800 bytes. ESD中的com.apple.Boot.plist在/Library/Preferences/SystemConfiguration/里面 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> ?? ?<key>Kernel Flags</key> ?? ?<string>root-dmg=file:///BaseSystem.dmg</string> ?? ?<key>Kernel Cache</key> ?? ?<string>\kernelcache</string> </dict> </plist> 它和上面的恢復盤的內容有些差別,路徑不一樣,而且參數也不一樣,一個是root-dmg一個是rp 另外,Lion增加了一個硬盤檢測的程序叫做hwmond 安裝盤的硬件檢測部分: /System/Library/Launchdaemons/com.apple.hwmond.plist cat /Volumes/Mac\ OS\ X\ Install\ ESD/System/Library/LaunchDaemons/com.apple.hwmond.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> ?? ?<key>Label</key> ?? ?<string>com.apple.hwmond</string> ?? ?<key>OnDemand</key> ?? ?<false/> ?? ?<key>Program</key> ?? ?<string>/usr/sbin/hwmond</string> ?? ?<key>ProgramArguments</key> ?? ?<array> ?? ??? ?<string>hwmond</string> ?? ?</array> ?? ?<key>ServiceIPC</key> ?? ?<false/> </dict> </plist> 它的硬件測試返回代碼:/Volumes/Mac\ OS\ X\ Install\ ESD/private/etc/hwmond.SMART 通過比較安裝盤和恢復盤的兩個Install Mac OS X Lion.app是完全一樣的. 這個BaswSystem.dmg對于管理環境中的系統恢復會是比較有用的。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看