Re: "Ignore Ownership on this volume" check-box status
Re: "Ignore Ownership on this volume" check-box status
- Subject: Re: "Ignore Ownership on this volume" check-box status
- From: Sherm Pendley <email@hidden>
- Date: Thu, 8 Apr 2004 12:06:28 -0400
On Apr 8, 2004, at 11:30 AM, Lorenzo wrote:
Hi CHarles,
I have just made some test on vsdbutil and I would like to pose some
questione more.
I wrote
vsdbutil -c '/Volumes/MyVolume'
and it returned the string
Just to pick nits - it doesn't *return* a string, it *prints* a string.
There's a difference.
If you want to work with the output string, capture the 'vsdbutil'
tool's stdout stream - see -setStandardOutput: if you're using NSTask
to launch it. You might also be interested in its stderr stream - see
setStandardError:.
To get the integer returned when the task exits, use NSTask's
-terminationStatus method.
Having said that, I have no idea whether vsdbutil returns a useful
integer value on exit or not. There's no man page for it. ;-(
sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.