Fri Dec  9 02:20:53 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* dev.c: Use mach_msg_type_number_t in place of unsigned int and
        int.

Thu Nov 24 18:38:34 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* dev.c (NDISKS): Define with sizeof, not literal.

Wed Nov 23 17:52:08 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* dev.c (disknames): Add fd0, fd1.

Wed Nov  2 10:17:48 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (disknames): New global variable.
	(disks): Allocate nine slots.  New member PORT.
	(ALTDISKNAME): Deleted macro.
	(init_disk_vars): Initialize all the slots in DISKS from DISKNAMES.
	(disk0_port, disk1_port): Deleted vars.
	(main): Don't use disk0_port and disk1_port.  Initialize
	PORT members of DISKS after calling init_disk_vars.
	(S_dir_lookup): Omit cases for DISKNAME and ALTDISKNAME.
	Add loop scanning through disknames.  Change N macro to use
	strlen.
	(S_dir_readdir): Omit DISKNAME and ALTDISKNAME from dirlist.
	Add names from DISKNAMES after others.
	(S_io_write): Omit PT_DISK0 and PT_DISK1 cases; accept
	any disk.
	(S_io_read): Likewise.
	(S_io_seek): LIkewise.
	(S_io_stat): Likewise.

Thu Oct 20 20:39:26 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (raw_disk_write): Only call device_write for
	page-aligned requests; use device_write_inband otherwise.

Fri Sep 30 11:30:05 1994  Michael I Bushnell  <mib@churchy.gnu.ai.mit.edu>

	* dev.c (S_dir_readdir): New member `type' in struct entry;
	initialize it and then set EP->d_type from it.

Fri Sep 16 13:32:51 1994  Michael I Bushnell  <mib@churchy.gnu.ai.mit.edu>

	* dev.c (S_dir_lookup) [retry_trans]: Don't pass flags
	to fsys_getroot unless this is the last component.

Sat Sep 10 04:55:17 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* dev.c (init_disk_vars): Don't bomb if device_open fails; just
	store MACH_PORT_NULL in disks[IDX].device.
	(raw_disk_read, raw_disk_write): If disks[IDX].device is
	MACH_PORT_NULL, return ENXIO.

Fri Sep  9 10:42:41 1994  Michael I Bushnell  <mib@churchy.gnu.ai.mit.edu>

	* dev.c (PT_DISK0): Renamed from PT_DISK.
	(PT_DISK1): New port type.
	(disk_offset, disk_device, disk_size, disk_blksize): Deleted vars.
	(disks): New var.
	(init_disk_vars): Initialize `disks' instead of old vars.
	(raw_disk_write): New arg `index'; all callers changed.
	(raw_disk_read): Likewise.
	(S_io_write): Use disks instead of old vars; understand both disk
	port types.
	(S_io_read): Likewise.
	(S_io_seek): Likewise.
	(S_io_get_openmodes): Likewise.
	(S_io_stat): Likewise.
	(disk0_port): Renamed from disk_port.
	(disk1_port): New var.
	(main): Initialize disk0_port and disk1_port instead of disk_port.
	(S_dir_lookup) [ALTDISKNAME]: New case.
	(S_dir_readdir): Added ALTDISKNAME.
	(S_io_stat): Provide st_size for disks.

Thu Sep  8 12:15:09 1994  Michael I Bushnell  <mib@churchy.gnu.ai.mit.edu>

	* Makefile (CPPFLAGS): Provide $(hurdrootdev) as a CPP macro.
	* dev.c: Change `hd0f' vars, macros, and functions, to be
	`disk'.
	(init_disk_vars): Use DISKNAME instead of hardcoded string.
	(S_dir_lookup) ["hd0f"]: Likewise.
	(S_dir_readdir) [dirlist]: Likewise.

Wed Sep  7 11:41:08 1994  Michael I Bushnell  <mib@churchy.gnu.ai.mit.edu>

	* dev.c (console_lock): Deleted var.
	(S_file_syncfs): Keep local copy of CONTROL; don't use
	CONSOLE_LOCK; hold CONSOLE_LINK.lock while looking inside it.
	(S_dir_lookup) ["console"]: Rewrote translator access in
	similar fashion to libdiskfs/dir-lookup rewrite.
	(S_file_set_translator): Use CONSOLE_LINK.lock instead of
	CONSOLE_LOCK.
	(S_file_get_translator_cntl): Likewise.

Tue Sep  6 12:52:59 1994  Michael I Bushnell  <mib@churchy.gnu.ai.mit.edu>

	* dev.c (S_dir_readdir): Return EOF when we aren't starting at
	the beginning.  Return correct BUFLEN.

Fri Sep  2 21:14:39 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* dev.c (S_fsys_syncfs): Return a value even if !RECURSE.

Fri Sep  2 13:42:29 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (S_dir_lookup): Return correct errors if O_CREAT is set.

Thu Sep  1 15:32:41 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (main): Support passive translator startup.
	(S_fsys_getroot): Set DOTDOT if it's not already set.
	(S_dir_lookup): Don't deallocate FILENAME or DIRNAME.

Wed Aug 31 11:05:59 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (S_fsys_mod_readonly, S_fsys_syncfs): New functions.

Tue Aug 30 13:56:04 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (S_dir_lookup): Renamed from S_dir_pathtrans.

	* dev.c (S_io_stat): Pass ST, not &ST to io_stat.

	* dev.c (main): Use to protocol for file_set_translator.
	(S_file_set_translator): Implement new protocol.

	* dev.c (main): Use file_name_lookup instead of path_lookup.
	Use file_name_split instead of path_split.

	* dev.c (raw_disk_read): Check AMOUNT, not DATALEN.

Mon Aug 29 19:25:53 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (underlying): New global variable.
	(main): Use UNDERLYING instead of (deleted) FILE.
	(S_io_stat): If this is the directory, initialize ST 
	from the underlying node.

Thu Aug 25 12:50:08 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c: Include <device/device.h> and <assert.h>.
	(hd0f_port): New variable.
	(PT_HD0F): New port type.
	(main): Initialize hd0f_port; call init_hd0f_vars.
	(S_dir_pathtrans): Understand "hd0f" and return hd0f_port.
	(S_dir_readdir): Added hdof to dirlist.
	(S_io_write): Switch off of type to allow more than null; call
	raw_disk_write for hd0f.
	(S_io_read): Likewise.
	(S_io_seek): Implement function for hd0f.
	(S_io_get_openmodes): Return O_READ|O_WRITE for hd0f.
	(S_io_stat): Return mode 0666|O_IFCHR for hd0f.
	(hd0f_offset, hd0f_device): New variables.
	(init_hd0f_vars, raw_disk_read, raw_disk_write): New functions.

	* dev.c (S_fsys_getroot): Use FS_RETRY_NORMAL instead of
	FS_RETRY_NONE. 
	(S_dir_pathtrans) ["console"]: Likewise.
	(S_file_syncfs): Check for FS_RETRY_NORMAL with empty path
	instead of FS_RETRY_NONE.
	(S_io_reauthenticate): Use new authentication rendezvous
	protocol.

Mon Aug 22 12:40:24 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (S_dir_pathtrans): Don't do special handling for . and ..
	at front.  Include test for empty name in "." case.  Don't
	allow O_WRITE open to succeed on directory.
	(PT_FDDIR, PT_STDIN, PT_STDOUT, PT_STDERR, PT_TTY): New port types.
	(fddir_port, stdin_port, stdout_port, stderr_port): New variables.
	(main): Initialize fddir_port, stdin_port, stdout_port, tty_port, and 
	stderr_port.
	(S_dir_pathtrans) [stdin, stdout, stderr, tty]: If looking up name
	itself and O_NOTRANS or O_NOLINK, return stdin_port, stdout_port,
	stderr_port, or tty_port, respectively.
	[fd]: Always force retry through PT_FDDIR port.
	(S_dir_pathtrans): Allow PT_FDDIR as well as PT_DIR; process its
	entries too.
	(S_io_stat): Handle PT_FDDIR, PT_STDIN, PT_STDOUT, PT_TTY,
	and PT_STDERR.
	(S_file_get_translator): Handle PT_STDIN, PT_STDOUT, and PT_STDERR.

	* dev.c (S_dir_readdir): Implement function, kludgily.

Mon Aug 22 08:19:53 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* dev.c (S_dir_pathtrans): New local ENDCOMP, set it to end of
	first component in NAME.  Use new macro N to compare only the
	first component of NAME with constant name strings.
	Preserve later components of NAME in retries properly.
	Add /dev/std{in,out,err} and /dev/fd/N support.

Thu Aug 18 11:41:11 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (S_file_check_access): Return O_READ|O_WRITE for the
	underlying console node.
	(S_io_stat): Return mode 0666 for the underlying console node.

Mon Aug 15 14:29:52 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (console_trans): Include argv[1] `console'.
	(S_dir_pathtrans) [translator startup]: Don't hold console_lock
	while starting translator.  Do the Right Thing if we get
	MACH_SEND_INVALID_DEST.

Mon Aug  8 15:44:28 1994  Michael I Bushnell  <mib@churchy.gnu.ai.mit.edu>

	* Makefile: Rewritten in accord with new scheme.

Sat Jul 23 02:58:36 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* Makefile (MIGSFLAGS): Variable removed.

Fri Jul 22 19:48:59 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* Makefile: Removed mig server interface generation rules.

Thu Jul 21 14:58:22 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>

	* dev.c (S_fsys_startup): Removed dotdot args.
	(S_file_syncfs): Added bogus dotdot arg to fsys_getroot call.
	(S_dir_pathtrans): Pass dir port to fsys_getroot.

Tue Jul 19 12:51:22 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* Makefile (clean, relink): Give -f to rm.

	* dev.c (S_fsys_getroot): Added arg dotdot.

	* Makefile (dev): Don't use variable $(link) anymore.

