• 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
calling open() on an older cd device returns EBUSY??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calling open() on an older cd device returns EBUSY??


  • Subject: calling open() on an older cd device returns EBUSY??
  • From: "David M.Cotter" <email@hidden>
  • Date: Mon, 2 May 2005 23:49:10 -0700

i_fd = open(i_bsd_vol_path, O_RDONLY, 0);

i_bsd_vol_path is "/dev/disk2" which is my cd drive (trust me)
but i_fd == -1 and errno == 16 (EBUSY)

Why is the device busy? Is it really just "not capable"? .

the drive that fails is a "<x-tad-smaller>MATSHITA</x-tad-smaller> CD-RW CW-7121"

this works fine on a modern drive eg: "<x-tad-smaller>MATSHITA DVD-R UJ-815</x-tad-smaller>" or ""
 _______________________________________________
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

  • Follow-Ups:
    • Re: calling open() on an older cd device returns EBUSY??
      • From: Shantonu Sen <email@hidden>
  • Prev by Date: Re: vmmap
  • Next by Date: Re: pty-redir: Slave, Master, and how it all works
  • Previous by thread: Re: vmmap
  • Next by thread: Re: calling open() on an older cd device returns EBUSY??
  • Index(es):
    • Date
    • Thread