All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
To: kovlensky@interia.pl
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: mounting windows shares with path exactly like on windows
Date: Fri, 29 Aug 2008 09:03:27 +0100	[thread overview]
Message-ID: <48B7AD4F.1070504@tuffmail.co.uk> (raw)

kovlensky@interia.pl wrote:

> I'm sorry to be slightly off topic, when it comes to this list, but I have
> no clue where to look for that and I think it can be doe on kernel level
> only.
>
> In short - I've got bunch of applications running both on windows and
> linux and these applications exchange links to files mounted on both
> sides. The problem is that these paths are different, i.e. like
> D:/dir/file on windows and /mountpoint/dir/file on Linux. What I need is
> unifying them. So my idea is to have path translator on anything on kernel
> level, which will make Linux open call to D:/dir/file on Linux work and
> open /mountpoint/dir/file. Was anything close to that ever incorporated in
> kernel?

Um, no.

More likely solutions are ptrace (intercept system calls using debugging
interface) or similar LD_PRELOAD magic (see fakeroot for an example).

> Applications are, as usual, closed source, and support for them, also as
> usual, answers "won't be fixed, switch to Windows, please". Very helpful.
>
> Any other ideas of solving this problem are also warmly welcomed. Also on
> windows side.

I thought modern windows supported unix-like mounts, a bit like the old
SUBST.EXE in dos.  So you could then mount all other drive letters as
subdirectories on the main drive.  Don't ask me how to do it though :-).

Alan

             reply	other threads:[~2008-08-29  8:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-29  8:03 Alan Jenkins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-29 10:54 mounting windows shares with path exactly like on windows kovlensky
2008-08-29 11:11 ` Al Viro
2008-08-29  8:50 Tomasz Chmielewski
2008-08-29  9:13 ` Thorsten Kranzkowski
2008-08-29  8:18 Tomasz Chmielewski
2008-08-29  8:40 ` Alan Jenkins
2008-08-28  9:59 kovlensky
2008-08-29  9:36 ` el es
2008-08-29  9:49 ` Walter Franzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48B7AD4F.1070504@tuffmail.co.uk \
    --to=alan-jenkins@tuffmail.co.uk \
    --cc=kovlensky@interia.pl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.