• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Ignore Ownership on this volume" check-box status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: "Ignore Ownership on this volume" check-box status
      • From: Lorenzo <email@hidden>
References: 
 >Re: "Ignore Ownership on this volume" check-box status (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: Hyphenation?
  • Next by Date: Re: Lost IBOutlet.
  • Previous by thread: Re: "Ignore Ownership on this volume" check-box status
  • Next by thread: Re: "Ignore Ownership on this volume" check-box status
  • Index(es):
    • Date
    • Thread