RE: Use of hdiutil in a launchdaemon?
RE: Use of hdiutil in a launchdaemon?
- Subject: RE: Use of hdiutil in a launchdaemon?
- From: Nathan Herring <email@hidden>
- Date: Mon, 11 May 2009 13:02:45 -0700
- Acceptlanguage: en-US
- Thread-topic: Use of hdiutil in a launchdaemon?
I came up with the same idea, and it does in fact, avoid the issue. We needn't be using journaled on this disk image anyway.
-----Original Message-----
From: Soren Spies [mailto:email@hidden]
Sent: Friday, May 08, 2009 11:19 PM
To: Nathan Herring
Cc: Dev Darwin
Subject: Re: Use of hdiutil in a launchdaemon?
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