/etc/rmt on suns -- does it work? Having trouble, TFM doesn't help

Guy Harris guy at auspex.UUCP
Wed Mar 22 12:53:18 AEST 1989


Oh, BTW:

>O /dev/rst0 438 [me -- note that 438 decimal is 0666 octal]

Note also that the "mode" argument to the "O" command is an *open* mode,
not a file permissions mode - the description says "open the specified
device using the indicated mode", which pertains better to open modes
such as O_RDONLY, etc. than to file-creation modes - so it should be
something like 0 (O_RDONLY), 1 (O_WRONLY), or 2 (O_RDWR), rather than
something like 0666.

(Also, note that it's "Sun", not "SUN" - it's an acronym when it refers to
the Stanford University Network project, but not when it refers to Sun
Microsystems.)



More information about the Comp.unix.wizards mailing list