| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I can get the vnode pointing to the current directory, and that is good... Sort of. I need to be able to translate this vnode to a path name to be used in user space. I have poured through the kernel and not found a way to do that. In desperation I downloaded the code for Libc and looked at the getcwd code. Horror! If you want to spend some sleepless nights having nightmares look at Libc/gen/getcwd.c. Obviously that type of solution is not practical for the kernel.
Any ideas how to translate a vnode to a path?
| References: | |
| >Re: Current Directory of a Process (From: Robert Sandilands <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.