2010/3/9 Martin Langhoff <[email protected]>

> 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).
>

In that case I should modify bitfrost code, right?

>
> 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.
>

 Could I navigate these directories as any python program
(open('/versions/boot/current/myfile', 'r')) ?


> 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