Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,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 whoever 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 Apr 25, '08 11:31:03AM
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 Apr 25, '08 11:59:55AM

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 Apr 25, '08 03:19:18PM
This will give you info on the library option:

hdiutil create -help

No, it is not in the man page.

[ Reply to This | # ]