Hey,

I would mount the server under Linux the same way it is done under MAC...
So either MAC and Linux come with /Volumes/company....
This way asking for Posix vs NT makes sense...
I know this is a bit of workaround here... but it will save some more headaches (not just for nuke I guess)
"man 8 mount" should give you all options regarding mounting devices....

And I think Linux is better to mimic MAC than the other way round...
or maybe just setting a symlink to the mnt (although I think this is not a good idea...)
ln -s /mnt/ /Volumes/
...
cheers
johannes


On 01/24/2013 06:14 PM, adam jones wrote:
hey all

ok what am I doing wrong here.

I have several mac to pc and mac to mac path fixes and visa versa, all work perfectly, but when I try and set up mac to linux and PC to linux for that matter.

bring consistency to pathing with UNC is just not going to happen at this stage..

s = s.replace('/Volumes/company/Projects/', '/mnt/', 1)

nothing just does not work, I am guessing it might have some thing to do with this

if os.name <http://os.name/> == "nt":

but I just don't know


def filenameFix(s):
     if os.name <http://os.name/> == "nt":
         #print 'Applying dirmap: /Volumes/project/ --> S:/'
        s = s.replace('/Volumes/company/Projects/project/', 'S:/', 1)
         s = s.replace('/Volumes/company/Projects/', '/mnt/', 1)
     else:
         #print 'Applying dirmap: S:/ --> /Volumes/project/'
         s = s.replace('S:/', '/Volumes/company/Projects/project/', 1)
         s = s.replace('/mnt/', '/Volumes/company/Projects/', 1)
     return s

It was all cool in Nuke 7.0Vxx but we have had to role back to 6.3Vxx due to some issues with 7

-adam




_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


--
STUDIO RAKETE GmbH
Johannes Hezer, Compositing TD
Schomburgstr. 120
D - 22767 Hamburg

[email protected]
Tel:+49 (0)40 - 380 375 69 - 0
Fax:+49 (0)40 - 380 375 69 - 99

------------------------------------------------------
Pflichtangaben laut Handelsgesetzbuch und GmbH-Gesetz:

STUDIO RAKETE GmbH
Schomburgstr. 120 D - 22767 Hamburg

www.studiorakete.de / [email protected]

Geschaeftsfuehrer: Jana Bohl / Hans-Martin Rickers

Die Gesellschaft ist eingetragen im Handelregister des
Amtsgerichts Hamburg unter der Nummer HR B 95660
USt.-ID Nr.: DE 245787817

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to