Extending the UNIX pathname syntax
H. Morrow Long [Systems Center]
long at ittvax.UUCP
Tue Apr 23 23:55:10 AEST 1985
In <10102 at brl-tgr.ARPA> Stephen C. Crawley (mcvax!ukc!camjenny!scc ) writes
> In a message on labelled tapes, Doug Gwyn writes
> > This is getting silly. How are you going to specify a label to
> > something like:
> > myprog > /dev/rmt0
>
> What about
> myprog > /dev/rmt0/thelabel
>
> In more general terms, it ought to be possible to pass device or socket
> specific parameters in the open() pathname. .......
In the chaosnet implementation for 4.1bsd the nami.c routine has been
modified to check to see if the inode obtained (so far) in parsing the
filename is a character special file with the setuid bit on (a unique
usage) and, if so, stop decoding and pass the remainder of the filename
back to open() and allow the chaos driver to use the network address.
This would allow the following: return_code = open ("/chaos/2002",2);
--
H. Morrow Long
ITT-ATC Systems Center,
1 Research Drive Shelton, CT 06484
Phone #: (203)-929-7341 x. 634
path = {allegra bunker ctcgrafx dcdvaxb dcdwest ucbvax!decvax duke eosp1
ittral lbl-csam milford mit-eddie psuvax1 purdue qubix qumix
research sii supai tmmnet twg uf-cgrl wxlvax yale}!ittvax!long
More information about the Comp.unix.wizards
mailing list