Re: Use of hdiutil in a launchdaemon?
Re: Use of hdiutil in a launchdaemon?
- Subject: Re: Use of hdiutil in a launchdaemon?
- From: Soren Spies <email@hidden>
- Date: Fri, 8 May 2009 23:18:58 -0700
On May 8, 2009, at 16:46, Nathan Herring wrote:
diskimages-helper[xxx:yyy] _checkJournalBeforeCopy: trying to
DISABLE journaling on disk2s2
As Damien mentioned, the bootstrap contexts are different when running
"in the background" (whether it be from 'cron', with 'nohup', or in a
LaunchDaemon) so many subsystems that expect certain services or user
contexts may not behave correctly.
In this particular case, it looks like you're running into the fact
that we use 'diskutil' to disable journaling during the copy phase of
creating a disk image from a source folder. A workaround might be to
pass '-fs HFS+' to 'hdiutil' instead of letting it default to matching
the source filesystem (which sounds like it is HFS+J).
--
Soren Spies
CoreOS::DiskImages
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden