Re: A couple of questions and some patches

From: Andrew Valencia <vandys_at_nospam.org>
Date: Fri Jan 14 1994 - 09:03:47 PST

[Dave Hudson <dave@humbug.demon.co.uk> writes:]

>Am I right in thinking that the messages "FS_STAT" and "FS_WSTAT" replace
>the UNIX "ioctl" function - I'm a bit short of information to go on here,...

Yes, this is exactly what they replace. FS_STAT is used to retrieve the
current information, and FS_WSTAT is used to modify one or more values.
The stat code is written so it's easy to share the common chores, and add
device-specific functions. The messages are structured as "name=value"
sequences, separated by newlines.

>Last question - is there any sort of spec for namer registration, ie what a
>server registers itself as? (Or is it a bit of a free for all?).

It's a bit of a free-for-all, unfortunately. Mouse is in srv/mouse, so
perhaps srv/joystick would the ticket. Filesystems (as in, file storage
on a non-volatile block-oriented device) are in fs/, and the block devices
themselves go in disk/. The null block server could well be misplaced, since
it's in the root of the nameserver hierarchy.

>OK, now for the patches - whilst I was wandering around the code I spotted
>what I guess are some typos (I'd guess that the changes are related to where
>the code used to be). The changes are all one liners and I've tagged them
>on below.
>...

Thanks! I'll apply them soon.

                                                Andy
Received on Fri Jan 14 09:18:18 1994

This archive was generated by hypermail 2.1.8 : Wed Sep 21 2005 - 21:01:53 PDT