Skip to contentSkip to conversation

Symlinked drive

DISCUSSION Scott 3 participants 5 messages Mar 10, 2011 – Mar 11, 2011

lore
Share & tools
lore

Scott

author
#0 lore raw

Hi,

I am running dosemu under ubuntu 10.10 - version 1.4.0.1.

Anyway, I have a samba share mounted as /mnt/di. I have attempted to set that up as drive E: in msdos, by putting a symlink in .dosemu/drives:

e -> /mnt/di

Dosemu fails to start, complaining that "Disk-device/file does not exist".

However, if I make a directory called "/mnt/foo", put in it a symlink to /mnt/di called "link", then dosemu starts fine, and e:/link contains all of the files on the samba share.

e -> /mnt/foo

     /mnt/foo/link -> /mnt/di

However, the application I am trying to run needs to see those files as just e:

How to proceed?

Thanks for any help!

Scott Swanson

#1 lore raw
Quoted 1 line · On Thu, 10 Mar 2011 11:27:40 -0700 Scott wrote:

How to proceed?

How about creating the symlink on dosemu's C: drive, then using the subst command to map it to drive E:?

Signature · 2 lines
MELVILLE THEATRE ~ Melville Sask ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
author
#2 lore raw
Quoted 7 lines · Frank Cox
Quoted 1 line · On Thu, 10 Mar 2011 11:27:40 -0700 Scott wrote:

How to proceed?

How about creating the symlink on dosemu's C: drive, then using the subst command to map it to drive E:?

Oh yeah! Been a *long* time since I've worked with dos other than to use old apps I developed back then. Forgot all about subst!

BUT: it now gives me a "File allocation table bad" error! The symlink still looks fine, just the subst'ed drive e: doesn't work. Strange.

Thanks for the help!

Scott Swanson

#3 lore raw

Hello.
Maybe you can solve it by using the lredir DOSEmu command to map
the directory directly to the E: drive.
Hope this helps!!!

Quoted 26 lines · Scott
Quoted 9 lines · Frank Cox
Quoted 2 lines · On Thu, 10 Mar 2011 11:27:40 -0700 Scott wrote:

How to proceed?

How about creating the symlink on dosemu's C: drive, then using the subst command to map it to drive E:?

Oh yeah! Been a *long* time since I've worked with dos other than to use old apps I developed back then. Forgot all about subst!

BUT: it now gives me a "File allocation table bad" error! The symlink still looks fine, just the subst'ed drive e: doesn't work. Strange.

Thanks for the help!

Scott Swanson
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 9 lines
Ivan Baldo - [email protected] - http://ibaldo.codigolibre.net/
From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: [email protected] - http://go.to/ibaldo

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#4 lore raw
Quoted 5 lines · Ivan Baldo

Hello.
Maybe you can solve it by using the lredir DOSEmu command to map the
directory directly to the E: drive.
Hope this helps!!!

Yes, that seems to work! Muchas gracias! So excellent for some idiot like me in a little town in Montana to get help from good folks in Saskatchewan and Uruguay!

Scott Swanson