Skip to content

Instantly share code, notes, and snippets.

@tgck
Last active December 20, 2015 13:44
Show Gist options
  • Save tgck/a58c203875abe39d819a to your computer and use it in GitHub Desktop.
Save tgck/a58c203875abe39d819a to your computer and use it in GitHub Desktop.
cloudBit ディスクのマウントとアンマウント @ OS X 10.9
ファイルシステムを読書するツールのインストール
  • OSXFuse
  • fuse-ext2
ディスクの認識
  • mount コマンドでドライブのイメージパスを取得。
    ここでは "/dev/disk1s3" が osxfusefs_ext2 読取専用イメージであることがわかる

    Volumes:1164$ mount
    /dev/disk0s2 on / (hfs, local, journaled)
    devfs on /dev (devfs, local, nobrowse)
    /dev/disk0s4 on /Volumes/DataTM (hfs, local, journaled)
    /dev/disk0s5 on /Volumes/Data (hfs, local, journaled)
    /dev/disk0s6 on /Volumes/Disk2 (hfs, local, journaled)
    map -hosts on /net (autofs, nosuid, automounted, nobrowse)
    map auto_home on /home (autofs, automounted, nobrowse)
    localhost:/8lQ-6-S4zX5rIK1_0H6MOz on /Volumes/MobileBackups (mtmfs, nosuid, read-only, nobrowse)
    /dev/disk1s3 on /Volumes/littleRoot 2 (osxfusefs_ext2, local, read-only, synchronous)
    
読書権限ありでマウント
  • fuse-ext2 -o コマンドを使う

    mkdir /Volumes/little
    sudo fuse-ext2 -o force /dev/disk1s3 /Volumes/little
    cd /Volumes/little
    
アンマウント
  • umount コマンドを使う

    Volumes:1163$ sudo umount little
    Password:
    Volumes:1164$ 
    
参考先
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment