On Tue, Mar 9, 2010 at 1:56 PM, Esteban Bordón <[email protected]> wrote:
> can I read a file located in flash card from initrd?
> if my file is in /boot I could read it from /bootpart directory?

If your file is in /security, it's easy (have a look at the code that
reads the leases, for example).

If your file is in /boot or anywhere else in what becomes the "root"
partition, you have to navigate the /versions directory and follow the
'current' symlinks.

hth,



m
-- 
 [email protected]
 [email protected] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to