NetBSD/sys/sys
cgd 8a761f189a brought in fixed/renamed/matching MS-DOS FS code, from Jeff Polk
<polk@bsdi.com>.  His notes are as follows:
------------------------------------------------------------------------------

 July 22, 1993

 - Changed name of entire package from PCFS to MSDOSFS

 - Fixed bugs:
      root directory size in clusters instead of bytes
      growing directory didn't update in-core size
      link, symlink, mknod didn't free locked parent (deadlock)
      lookup returned real error on create and rename instead of EJUSTRETURN
      rename changed `.' entry in child instead of name entry in parent
      rename removed `.' entry in child instead of removing entry in
              parent when moving a directory from one dir to another
      createde() left new node locked when write of parent failed (deadlock)
      removede() decremented refcount even on error (rmdir's which failed
              due to write errors left in-core cache entries inconsistent)
      changed validation for filesystem to not check for the boot signature
              since some disks (e.g., mtools) aren't bootable
      directories are always show current time as modify time
              (needed for NFS export since DOS never updates dir mod times --
               ctime is true create time).

 - Added support for cookies changes to the readdir() vnode
      interface (#ifdef __bsdi__)

 - Punted on the whole problem of inode generation numbers.  This means
   that there's a chance of using a stale file handle to access a new
   file, but it doesn't appear to be the common case, and I don't see
   how to generate reasonable generation numbers without changing something
   on the disk (which is the way the SVR4 filesystem survival kit guys
   did it).  I don't think it would be very safe to change the on-disk
   format.

        Jeff Polk (polk@BSDI.COM)

------------------------------------------------------------------------------
1993-08-13 11:35:58 +00:00
..
acct.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
acctbuf.h fix ugliness of missing _ characters 1993-06-02 01:44:10 +00:00
buf.h replace jolitz's vfs__bio with a better one from CMU via mw. 1993-07-19 16:39:23 +00:00
callout.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
cdefs.h add "dead" and "pure" declarations, as provided by new db code 1993-05-26 14:52:56 +00:00
cdio.h Normalize play_msf changes with 386bsd patch. 1993-08-04 19:33:38 +00:00
chio.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
clist.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
conf.h Change "#endif FOO" to "#endif /* FOO */", to keep gcc -Wall, lint, etc. 1993-07-29 21:42:19 +00:00
dir.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
disklabel.h Change "#endif FOO" to "#endif /* FOO */", to keep gcc -Wall, lint, etc. 1993-07-29 21:42:19 +00:00
dkbad.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
dkstat.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
dmap.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
domain.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
errno.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
exec.h MID_MACHINE values for 4K and 8K m68k machines. Please use. 1993-08-09 05:55:39 +00:00
fcntl.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
fifo.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
file.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
filedesc.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
filio.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
gprof.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
ioctl_compat.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
ioctl.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
ipc.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
kernel.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
kinfo_proc.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
kinfo.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
ktrace.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
lkm.h add support for terry lambert's loadable kernel modules. 1993-06-07 19:51:59 +00:00
malloc.h merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:53:27 +00:00
map.h add map defn's from net/2 to the tree, 1993-07-06 00:25:46 +00:00
mapmem.h Add RCS identifiers (this time on the correct side of the branch), and 1993-08-01 19:22:24 +00:00
mbuf.h getting rid of some "warning: `/*' within comment" problems 1993-08-03 01:50:21 +00:00
mman.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
mount.h brought in fixed/renamed/matching MS-DOS FS code, from Jeff Polk 1993-08-13 11:35:58 +00:00
msgbuf.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
mtio.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
namei.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
param.h incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 02:20:34 +00:00
proc.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
protosw.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
ptrace.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
reboot.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
resource.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
resourcevar.h some prototypes that weren't __P() protected; the pseudo-advantages 1993-06-22 00:56:35 +00:00
select.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
shm.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
signal.h SIG_ERR is not in the POSIX namespace, move it to an ifndef _POSIX_SOURCE 1993-06-16 22:15:06 +00:00
signalvar.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
socket.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
socketvar.h Fixed a nested comment to make things gcc -Wall clean. 1993-06-12 23:35:14 +00:00
specdev.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
stat.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
syscall.h multiple-inclusion-protect and fix version string problem. 1993-05-20 16:20:49 +00:00
syslimits.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
syslog.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
systm.h change exit() to kexit(), and remove proto for fdopen() 1993-07-04 23:30:58 +00:00
tablet.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
termios.h patch from David Greenman and Rod Grimes (davidg@implode.rain.com and 1993-06-05 22:40:40 +00:00
time.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
timeb.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
times.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
tprintf.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
trace.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
tty.h Move flushq() macro into tty.h. 1993-07-19 05:52:27 +00:00
ttychars.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
ttydefaults.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
ttydev.h patch from David Greenman and Rod Grimes (davidg@implode.rain.com and 1993-06-05 22:37:56 +00:00
types.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
ucred.h Change "#endif FOO" to "#endif /* FOO */", to keep gcc -Wall, lint, etc. 1993-07-29 21:42:19 +00:00
uio.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
un.h ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
unistd.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
unpcb.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
user.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
utsname.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
vadvise.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
vcmd.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
vlimit.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
vmmeter.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
vnode.h Change di_urdev and va_rdev back to u_longs for now. 1993-08-08 12:10:05 +00:00
vsio.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
vtimes.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
wait.h add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00