• 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
Disk Image build in PB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disk Image build in PB


  • Subject: Disk Image build in PB
  • From: Steven Rogers <email@hidden>
  • Date: Fri, 22 Feb 2002 21:58:19 -0600

I tried to implement the script for building a disk image that's in "Mac OS X Developer's Guide" and on the web at:

http://www.stepwise.com/Articles/Technical/2001-05-28.01.html

and the script always hangs on the line:

sudo /sbin/newfs_hfs -w -v ${imageName} -b 4096 ${hdidOutput}

After I added enough "echo"s to the script to see where its hanging, it occurred to me - how's a sudo supposed to work in this context - how does it prompt for the admin password? There must be an obvious answer, since this script seems to be pretty wide spread. At least I *think* its hanging - my image size is only 1 MB and I let it run for a couple of minutes.

Any help from the experienced would be appreciated.

TIA,
Steve
_______________________________________________
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: Disk Image build in PB
      • From: Graeme Hiebert <email@hidden>
  • Prev by Date: Re: bug in drawPageBorderWithSize
  • Next by Date: Re: NSFileManager
  • Previous by thread: Long tale of woe regarding NSPrintInfo, NSPageLayout, etc.
  • Next by thread: Re: Disk Image build in PB
  • Index(es):
    • Date
    • Thread