linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: riya khanna <riyakhanna1983@gmail.com>
Cc: NFS <linux-nfs@vger.kernel.org>
Subject: Re: dev over nfs
Date: Fri, 30 May 2014 07:45:48 +1000	[thread overview]
Message-ID: <20140530074548.446a3dcc@notabene.brown> (raw)
In-Reply-To: <CALRD3qKzmrvRqBabQQuvVH7jTb0mexZGw4rXVTBkYS3YRc6NtQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]

On Thu, 29 May 2014 13:53:37 -0400 riya khanna <riyakhanna1983@gmail.com>
wrote:

> Hi,
> 
> I'm trying to access remote devices locally by mounting/exporting /dev
> nodes over NFS. However, looks like the access requests are treated local
> based on major minor numbers (e.g. "cat /mnt-dev-over-nfs/kmg" output is
> same as "cat /dev/kmsg")
> 
> How can I change this behavior? and if it is at all feasible?

You cannot.   Things in /dev are a bit like symlinks.  They point to the real
thing, but they are not the real think themselves.
The actual devices are always local to the client host.  NFS cannot provide
access to remove devices.  It can only provides the "links" which you can
follow to your local devices.

NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  reply	other threads:[~2014-05-29 21:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-29 17:53 dev over nfs riya khanna
2014-05-29 21:45 ` NeilBrown [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-05-29 17:53 riya khanna

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=20140530074548.446a3dcc@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-nfs@vger.kernel.org \
    --cc=riyakhanna1983@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).