Skip to content

Instantly share code, notes, and snippets.

View Tiggar's full-sized avatar

Jan Brückmann Tiggar

View GitHub Profile
iahonair:~ root# hdiutil detach /dev/disk1s2
"disk1" unmounted.
"disk1" ejected.
journal_replay(/dev/disk1s2) returned 0
** /dev/rdisk1s2
Using cacheBlockSize=32K cacheTotalBlock=1024 cacheSize=32768K.
Executing fsck_hfs (version diskdev_cmds-557~393).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
The volume name is Time Machine Backups
** Checking extents overflow file.
** Checking catalog file.
** Rebuilding catalog B-tree.
hdiutil attach -nomount -noverify -noautofsck /Volumes/TMBackup/IahOnAir.sparsebundle
/dev/rdisk5s2: fsck_hfs run at Thu Mar 7 16:55:02 2013
/dev/rdisk5s2: ** /dev/rdisk5s2 (NO WRITE)
/dev/rdisk5s2: Executing fsck_hfs (version diskdev_cmds-557~393).
QUICKCHECK ONLY; FILESYSTEM CLEAN
tail -f /var/log/fsck_hfs.log
sudo su -
[jan@iahonair:~]$ sudo ls -alh /Volumes/TMBackup (03-07-2013 16:58)
total 0
drwx------ 1 root wheel 264B 7 Mär 2013 .
drwxrwxrwt@ 6 root admin 204B 7 Mär 16:53 ..
drwxrwxrwx@ 1 root wheel 296B 7 Mär 16:58 IahOnAir.sparsebundle
iahonair:~ root# fsck_hfs -drfy -c 750 /dev/disk1s2
iahonair:~ besucher$ cd /Volumes/
iahonair:Volumes besucher$ mkdir TMBackup