Skip to contentSkip to conversation

commandline switch for changing $_hdimage settings?

DISCUSSION Stas Sergeev 2 participants 5 messages Mar 4, 2005

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 2 lines · Christian Fischer
# dosemu -I 'disk { something "/path/to/drives/c" }'
don't work because of missing the right key for "something" in the global.conf doc.

"something" should be a "directory" in
your case. Can also be "hdimage",
"partition" and "wholedisk".

#1 lore raw
Quoted 7 lines · Stas Sergeev
Quoted 3 lines
# dosemu -I 'disk { something "/path/to/drives/c" }'
don't work because of missing the right key for "something" in the
global.conf doc.

"something" should be a "directory" in
your case. Can also be "hdimage",
"partition" and "wholedisk".

Hi Stas,
If i run dosemu as non root i get always configuration file parsing errors. If i run dosemu as root i get in some cases configuration file parsing errors, but it doesn't work at all.

running

# xdosemu -I 'disk { directory 
"/data/imports/nfsroot/dosimages/khk_mufi/drives/c" }'

starts dosemu but without my drive "c". bootlog shows the following:

Parsing commandline statements.
CONF: Parsing commandline file.
device: /data/imports/nfsroot/dosimages/khk_mufi/drives/c type 4 h: -1 s: -1
t: -1 drive D:
CONF: config variable c_comline unset

but i haven't the content of my drive in D:

"hdimage" don't work because drives/c is a directory and no image, "partition" don't work because it is no partition and "wholedisk" don't work because drives/c is a directory.

Without the "c" this is the same (probably i have to give the path as the root of my drives, without the "c")

Do You have any suggestions?

Christian
--

#2 lore raw

Hello.

Quoted 3 lines · Christian Fischer

running

# xdosemu -I 'disk { directory "/data/imports/nfsroot/dosimages/khk_mufi/drives/c" }'
starts dosemu but without my drive "c". bootlog shows the following:

Try setting $_hdimage="" in your dosemu.conf. -I 'disk... stuff only appends the drive to the end of your $_hdimage list, so it won't be c: unless you set $_hdimage to "".
There is probably a better way of doing that of course.

Quoted 1 line

but i haven't the content of my drive in D:

What do you have there? Have you tried the same with lredir?

Quoted 2 lines
Quoted 2 lines

"something" should be a "directory" in
your case. Can also be "hdimage",

^^^^^^^^^^

Quoted 2 lines
Quoted 1 line

"partition" and "wholedisk".

"hdimage" don't work because drives/c is a directory and no image, "partition" don't work because it is no partition and "wholedisk" don't work because drives/c is a directory.

As stated above, it should be a "directory" *in your case*, this is pretty obvious.

#3 lore raw
Quoted 7 lines · Stas Sergeev

Try setting $_hdimage="" in your dosemu.conf. -I 'disk... stuff only appends the drive to the end of your $_hdimage list, so it won't be c: unless you set $_hdimage to "".
There is probably a better way of doing that of course.

Well, that works fine. Is it documented (i haven't read about that in the technical README) that -I 'disk ...' stuff only appends drives? Is this the case only for drives or for -I stuff at all?

Quoted 4 lines
Quoted 1 line

but i haven't the content of my drive in D:

What do you have there? Have you tried the same with lredir?

I haven't tried with lredir. /data/imports/nfsroot/dosimages/khk_mufi/drives/c is an nfs import from an alphaserver 1200 running gentoo linux and contains normal program files (Fakturation software).

I don't know much about lredir. I think it isn't useful for my needs. We have some dosprograms (office programs) used by some users with different permissions, they get the homes and the working directories in it automounted (autofs) from my alphaserver, and they should be able to run multiple dos sessions at the same time on different dos-rootdirectories.

To set $_hdimage = "" (and starting the sessions with -I 'disk ...') is pretty well for me.

And sorry again for my last response.
Christian

#4 lore raw
In reply to Christian Fischer
Quoted 7 lines · Christian Fischer
Quoted 3 lines

"something" should be a "directory" in
your case. Can also be "hdimage",
"partition" and "wholedisk".

"hdimage" don't work because drives/c is a directory and no image, "partition" don't work because it is no partition and "wholedisk" don't work because drives/c is a directory.

Sorry Stas, i misunderstood your comment. Only "directory" can be a solution in my case.

The logentry is not right, volume D: is /root, not the nfs share.

device: /data/imports/nfsroot/dosimages/khk_mufi/drives/c type 4 h: -1 s: -1
t: -1 drive D: