Menu

#74 environment variable substitution

added_in_v1.3
closed
UNIX only (6)
5
2012-10-15
2001-09-19
No

The little ~ symbol isn't recognized/expanded by bochs
to the complete path.

I have a file named /home/eks/ext2.flp and trying to
access it using ~/ext2.flp while being logged in as
"eks" generates:

Event type: PANIC
Device: [HD ]
Message: [HD ] could not open hard drive image file
'~/ext2.flp'

Discussion

  • Bryce Denney

    Bryce Denney - 2001-10-02

    Logged In: YES
    user_id=185114

    This should be very easy to implement. Marking for v1.3.

     
  • Bryce Denney

    Bryce Denney - 2001-11-11

    Logged In: YES
    user_id=185114

    Ok, I didn't add recognition of ~/stuff but I did add
    environment variable substitution. You can just do

    $HOME/ext2.flp

    I believe his is more generally useful, and I intend to use
    it for other things than just home directories.


    revision 1.78
    date: 2001/11/11 05:44:40; author: bdenney; state: Exp;
    lines: +28 -7
    - do environment variable substitutions on any strings in
    the .bochsrc


     
  • Bryce Denney

    Bryce Denney - 2001-11-18

    Logged In: YES
    user_id=185114

    Changed name of this item to "environment variable substitution" since that's what got implemented.

     

Log in to post a comment.