linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dev over nfs
@ 2014-05-29 17:53 riya khanna
  2014-05-29 21:45 ` NeilBrown
  0 siblings, 1 reply; 3+ messages in thread
From: riya khanna @ 2014-05-29 17:53 UTC (permalink / raw)


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?

Thanks,
Riya

^ permalink raw reply	[flat|nested] 3+ messages in thread

* dev over nfs
@ 2014-05-29 17:53 riya khanna
  0 siblings, 0 replies; 3+ messages in thread
From: riya khanna @ 2014-05-29 17:53 UTC (permalink / raw)


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?

Thanks,
Riya

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dev over nfs
  2014-05-29 17:53 dev over nfs riya khanna
@ 2014-05-29 21:45 ` NeilBrown
  0 siblings, 0 replies; 3+ messages in thread
From: NeilBrown @ 2014-05-29 21:45 UTC (permalink / raw)
  To: riya khanna; +Cc: NFS

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-29 21:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-29 17:53 dev over nfs riya khanna
2014-05-29 21:45 ` NeilBrown
  -- strict thread matches above, loose matches on Subject: below --
2014-05-29 17:53 riya khanna

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).