Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the '10.5: Set up Time Machine on a NAS in three easy steps' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.5: Set up Time Machine on a NAS in three easy steps
Authored by: ngb on Fri, Apr 25 2008 at 11:31AM PDT
There are some problems with the command as posted.
  • there is no -library option for hdiutil (according to the man page)
  • the default size in in blocks, but can be specified in gigabytes using "g"
  • the -fs option should be "HFS+J", not "Journaled HFS+"
  • the -volname option was left out, but should be "Backup of $MACHINENAME" (see the link in the second comment)
With these corrections, the command should read like this:

hdiutil create -size $SIZEg -fs HFS+J -type SPARSEBUNDLE -volname "Backup of $MACHINENAME" $MACHINENAME_$MACADDRESS.sparsebundle

[ Reply to This | # ]

10.5: Set up Time Machine on a NAS in three easy steps
Authored by: theilgaard on Fri, Apr 25 2008 at 11:59AM PDT

As from reading the man-page for hdiutil, I think, that -library SPUD, actually meant -layout SPUD (at least this option has a SPUD parameter).

So the full command will be:

hdiutil create -size $SIZEg -fs HFS+J -type SPARSEBUNDLE -layout SPUD -volname "Backup of $MACHINENAME" $MACHINENAME_$MACADDRESS.sparsebundle

[ Reply to This | # ]
Correction to the corrections
Authored by: paulio on Fri, Apr 25 2008 at 3:19PM PDT
This will give you info on the library option:

hdiutil create -help

No, it is not in the man page.

[ Reply to This | # ]