VOGONS


mount samba shares

Topic actions

First post, by pinoy_steal

User metadata
Rank Newbie
Rank
Newbie

hi sir,

I install dosbox on my ubuntu box. We have windows xp machine then i try to mount windows share on my dos box.

i execute this command on ubuntu to access windows share.
mount -t smbfs -o username=username,password=password,uid=user,gid=domain //windowsxp/samba /mnt2/samba

then on dosbox i try this command to mount widows share
mount c: /mnt2/samba

But dosbox cannot find this path. In ubuntu i succesfully read and write windows share.

Please help me. Thanks

Reply 1 of 9, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie
pinoy_steal wrote:

mount c: /mnt2/samba

But dosbox cannot find this path. In ubuntu i succesfully read and write windows share.

You probaly have to enter 'mount c /Volumes/mnt2/samba/'

Klimawandel.

Reply 2 of 9, by pinoy_steal

User metadata
Rank Newbie
Rank
Newbie

@IIGS_User

Sir when i executed "pwd" command on my mount directory. It shows /mnt2/samba. How I can include "/Volumes" options. I think Dos Box cannot see samba shares. because when i mount my home directory on samba or "/mnt2" it works. But when i try to mount "/mnt2/sambat" dos box cannot find this path. Thanks

Reply 3 of 9, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie

I've no idea further, knight. 😉

Klimawandel.

Reply 4 of 9, by TeaRex

User metadata
Rank Member
Rank
Member

maybe this isn't the point but I think you have to give the drive letter without a colon; so mount c <path> not mount c: <path>.

tearex

Reply 5 of 9, by pinoy_steal

User metadata
Rank Newbie
Rank
Newbie

Hi TeaRex,

I try also to mount without the ":" on drive letter. But its not works. Thanks

Reply 6 of 9, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

can you type
stat /mnt2/samba
(in a linux terminal)

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

Reply 7 of 9, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie
pinoy_steal wrote:

Sir when i executed "pwd" command on my mount directory. It shows /mnt2/samba. How I can include "/Volumes" options.

The Mac OS X ':Volumes:' property is known as ' /mnt/' on Linux,
so my hint was totally wrong.

Found that in the Language Reference of the programming language I use.

Klimawandel.

Reply 8 of 9, by pinoy_steal

User metadata
Rank Newbie
Rank
Newbie

@Qbix
This is the result of "stat /mnt2/samba"
File: `/mnt2/samba'
Size: 98304 Blocks: 192 IO Block: 16384 directory
Device: 18h/24d Inode: 562949953874800 Links: 1
Access: (0755/drwxr-xr-x) Uid: (16777216/netadm02) Gid: (16777224/domain admins)
Access: 2010-03-08 09:54:56.979056400 +0800
Modify: 2010-03-08 09:54:56.979056400 +0800
Change: 2010-03-08 09:54:56.979056400 +0800

Thanks for the help.

Reply 9 of 9, by flowirin

User metadata
Rank Newbie
Rank
Newbie

any solution for this?

i have the same problem. dosbox does not recognise my mounted network share. makes no difference if use cifs or smbfs.

is there a mounting option i've missed?