* device special files across NFS
@ 1997-04-29 4:00 Franc Carter
1997-05-06 4:00 ` Eric Werme
0 siblings, 1 reply; 2+ messages in thread
From: Franc Carter @ 1997-04-29 4:00 UTC (permalink / raw)
I am trying to access a tape device on a machine running osf1 V3.0
from a machine running DU 4.0B by mountinga directory containing
the device drivers onto the latter machine.
Regardless of wether I specify the dev or nodev option I get
rmt0h: No such device or address
which indicated that it is trying to access the device special file
as if it is local.
Is what I am trying to do possible - I am unclear as to exactly
what the dev and nodev options imply.
Any insights appreciated. Thanks
--
Franc Carter MEMLab, University of Sydney
Ph: 61-2-9351-7819 or 0411-174-106 Fax: 9351-6461
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: device special files across NFS
1997-04-29 4:00 device special files across NFS Franc Carter
@ 1997-05-06 4:00 ` Eric Werme
0 siblings, 0 replies; 2+ messages in thread
From: Eric Werme @ 1997-05-06 4:00 UTC (permalink / raw)
Franc Carter <franc@mml.usyd.edu.au> writes:
>I am trying to access a tape device on a machine running osf1 V3.0
>from a machine running DU 4.0B by mountinga directory containing
>the device drivers onto the latter machine.
Unfortunately, NFS's design all but precludes access to remote devices.
While you can access remote special files, they will refer to _local_
devices.
This design works well for diskless workstations, but that's not the key
problem in accessing remote devices.
>Regardless of wether I specify the dev or nodev option I get
> rmt0h: No such device or address
If you could get to it, each NFS request implies an open and a close.
(The stateless nature of NFS means that there is no open or close
function in the protocol.) That means each access to rmt0h would
result in it rewinding! About the best you could do is get nrmt0h and
issue a rewind call later. (Unfortunately, there's no way to pass ioctl()
information either in the protocol, so the only way you could rewind the
tape would be to access rmt0h.)
If you wanted to skip the first file on the tape, well, you see the
magnitude of the problem.
>Is what I am trying to do possible - I am unclear as to exactly
>what the dev and nodev options imply.
Nodev is a security feature to prevent people from "accidentally" getting
to local devices by mounting a file system with special files that allow
access where the entries in /dev do not.
--
<> Eric (Ric) Werme <> This space under reconstruction <>
<> <werme@zk3.dec.com> <> <>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-05-06 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-29 4:00 device special files across NFS Franc Carter
1997-05-06 4:00 ` Eric Werme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox