OK. Here's my input, since I was thinking about the subject a few months ago.
Like Dan I initially considered the idea of equating the samba mount point with a drive and using the drive. However that is a hack; Windows doesn't require a UNC to equate to a drive. Therefore whatever is done needs to involve extending the "equate a DOS filename to a unix filename" functionality.
There is one further consideration; equating Samba and nfs (and that would possibly require something in the config file as suggested by Eric). The complication is byte locking (which I know we don't do yet but maybe one day soon we will). The complication is that although nfs does handle it to the best of my knowledge smbfs doesn't (and isn't smbfs unavailable on any unix other than Linux?). Therefore to do locking we would need to equate a UNC to a mount point that was actually supported through nfs or some other mechanism (I presume smb and nfs are not the only options).
Bill
p.s. sorry the following isn't indented; I guess it must be a bug in this software; I wonder who wrote it!
"Eric Pouech" eric.pouech@voila.fr wrote in message news:GNVG3O$IKHRrlPpaoNcdoc1ChrVFo0MINvfoZP2RYjDdEuZ6ItjYcXBiYr@voila.fr... I think we should need some kind of configuration for this (to provide a bit more flexibility to end users) this would means,for example, allow or not automatic UNC operations (for now only binding a UNC name to a mounted SMB share). As in Wine, we don't allow mounting, as a default, all the file hierarchy, it would be interesting to provide the same type of functionnalities (bazed on host names for example... but I fear this would be a bit too complex to do). But as a starter, the option to enable binding should be made available.
A+
Hello,
as suggested awhile ago from Dan Kegel on cemw.
If Wine handled UNC paths as follows: Given a UNC path \foo\bar, look at /etc/mtab for a matching smbfs mount. If one is found, look at .wine/config for a drive letter mapped to
that mount.
If one is found, convert the UNC path to be relative to that drive
letter.
ChangeLog
- files/file.c:
Stefan.Leichter@camLine.com implemented UNC filenames using samba shares mounted according to /etc/mtab
--------------- Eric Pouech (http://perso.wanadoo.fr/eric.pouech/) The future will be better tomorrow, Vice President Dan Quayle
____________________________________________________________ Faites un voeu et puis Voila ! www.voila.fr Avec Voila Mail, consultez vos e-mails sur votre mobile Wap.