• 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: Getting a read call before open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a read call before open


  • Subject: Re: Getting a read call before open
  • From: "shailesh jain" <email@hidden>
  • Date: Wed, 25 Jun 2008 18:54:00 -0700

When I try to run executable over my filesystem, it just hangs (i.e shell prompt never returns) when I tried to do implicit open in the read call to my filesystem.

Digging through the source code, I found that execve calls vn_rdwr() and subsequently, VOP_READ() call. This read is invoked to load PAGESIZE bytes (4096) which my filesystem delivers it properly. However, I do not get read call to load remaining bytes.  I can't seem to decipher that.

/Shail

On Wed, Jun 25, 2008 at 4:12 PM, shailesh jain <email@hidden> wrote:
Is it legitimate for a filesystem to get a read call before open call ? Also, how should a filesystem
handle such behavior (implicit opens and close ?)

/Shail

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Getting a read call before open
      • From: Terry Lambert <email@hidden>
References: 
 >Getting a read call before open (From: "shailesh jain" <email@hidden>)

  • Prev by Date: Getting a read call before open
  • Next by Date: Re: kextload link/load error
  • Previous by thread: Getting a read call before open
  • Next by thread: Re: Getting a read call before open
  • Index(es):
    • Date
    • Thread