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
On Thu, 29 May 2014 13:53:37 -0400 riya khanna <[email protected]>
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