VOGONS


First post, by czezz

User metadata
Rank Newbie
Rank
Newbie

Using smbmount I have mounted one of smb/cifs share to /root/test.
This share has RW access and no authentication is required.
Now, under DOSBox, whenever I try to mount /root/test I get this error (mount c /root/test).

 Directory /root/test doesn't exist.

Any other directories, which are not smb/cifs I can easly mount.

Moreover: I have tried to do this same operation under WinXP and it just works.
Does anyone know how to fix it or what is wrong ?

Reply 1 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I recall it is some setting of samba. I think it was earlier discussed on the forum or on IRC

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 7, by toughluck

User metadata
Rank Newbie
Rank
Newbie

Are you running DOSBox as root? You need rwx permissions on /root and /root/test before you can access the directory, plus there's the required option to set uid and guid on a samba share for the user that is trying to use the share.

Reply 3 of 7, by czezz

User metadata
Rank Newbie
Rank
Newbie

Hi,
@Qbix: you are right, this topic was already discussed here:
http://www.vogons.org/viewtopic.php?t= ... c&start=0
The solution is to add option "noserverino" to smbmount.

@toughluck: good suggestion but I have already did it.

Now:
mouinting resource with "noserverino" will allow to mount share under DOSBox. However, I share a dBase application.
This is multi user application which means that more people on other computer works with this same database.
What is odd:
- if on DOSbox I made a changes it will overwrite database and changes done on other computers will be erased.
- all changes done on other computers are not viewable on BOSbox

Any idea why it is happaning ?

Reply 5 of 7, by czezz

User metadata
Rank Newbie
Rank
Newbie

Yes, "directio" partly solved problem.
The database seems to be shared now. Changes made on other nodes appears also at the dosbox node. Also changes made on dosbox does not overwrite database.

However, if I create file on SMB/CIFS server then i can execute that file but I can not list it. Thats so odd.

So that afraid me a bit to move this solution to production... too bad 😒

Reply 6 of 7, by toughluck

User metadata
Rank Newbie
Rank
Newbie

Well, dosbox will never be production grade software...

As for your configuration, I was only guessing before, but you piqued my interest, so I have a few questions:
1. What OS are you running on the CIFS server?
2. What OS are you running on the CIFS client?
3. Are you running more than one copy of dosbox on the shared drive?

Reply 7 of 7, by SquallStrife

User metadata
Rank l33t
Rank
l33t

Nah, DOSBox doesn't handle that too well. Create/delete files within DOSBox is fine, but adding/removing/changing files outside DOSBox while its running messes stuff up.

The usual disclaimer applies, DOSBox isn't designed to run your non-game application.

VogonsDrivers.com | Link | News Thread