• 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: Jumping Volumes Batman!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jumping Volumes Batman!


  • Subject: Re: Jumping Volumes Batman!
  • From: Dan Markarian <email@hidden>
  • Date: Tue, 11 Sep 2007 16:15:23 -0400

Hey Jim,

You can catch the disk in DADiskMountApprovalCallback to let us know not to mount it. We unfortunately do not provide a library to edit a partition map programmatically yet. It is feasible to edit the partition map of the root volume in Tiger, however, not through /usr/ sbin/gpt. You must open the disk with O_SHLOCK and make the edits manually.

Dan

On 11 Sep 2007, at 3:26 PM, Jim O'Connor wrote:

I'm munging a disk with gpt commands. Doing some removing, adding back with different hints, etc using the gpt tool.

After each operation the volume gets re-mounted. Since this is asynchronous I have to wait for it to happen, then dismount it again. The Finder movement is visually noisy. The process takes longer than it ought to. And generally it is just sloppy.

Is there a way to make the system ignore the disk I'm operating on until I've sewn it back up and wheeled it out of the OR and into Recovery?

I also need to be able to resize the root partition (doable) then change its content hint. I don't need anyone to actually pay attention to the changed hint until a reboot. Is this possible?

Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Jumping Volumes Batman! (From: Jim O'Connor <email@hidden>)

  • Prev by Date: Jumping Volumes Batman!
  • Next by Date: subscribe
  • Previous by thread: Jumping Volumes Batman!
  • Next by thread: subscribe
  • Index(es):
    • Date
    • Thread