I have a directory that is synchronized between my windows and linux installations via dropbox. In Windows Vista, it appears as X:\ drive, in Linux (latest xubuntu), it's mounted as /x/ directory.

The problem is that I'd like this directory to have the same path in both systems, so my Eclipse installation can understand it properly. I can imagine that using some kind of trick might exist to tell Linux to dig 'x:\' syntax, or vice versa. Thanks

link|improve this question

70% accept rate
feedback

1 Answer

up vote 4 down vote accepted

NTFS supports symlinks, so you might be able link C:/x/,D:/x/ etc to X:/, and then you can omit the disk prefix and it will assume that you mean the current disk, find the symlink, and go look in X:/. Horribly cludgy, of course, but it's the best I can think of.

mklink /d C:\x X:\
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.