From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b516b9dd1a8607e3 X-Google-Attributes: gidfee84,public From: werme@alingo.zk3.dec.com (Eric Werme) Subject: Re: device special files across NFS Date: 1997/05/06 Message-ID: #1/1 X-Deja-AN: 239735288 Distribution: inet References: <33655553.2781@mml.usyd.edu.au> Organization: Digital Equipment Corporation Reply-To: werme@zk3.dec.com Newsgroups: comp.unix.osf.osf1 Franc Carter 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 <> <> <> <>