Commit Graph

29 Commits

Author SHA1 Message Date
cgd
ebcaebd335 MIN -> min, MAX -> max 1994-05-24 02:35:53 +00:00
cgd
d071d1cf05 some prototype cleanup, eliminate/replace bogus types (e.g. quad and
u_quad) -> use better types (e.g. quad_t & u_quad_t in inodes),
some cleanup.
1994-04-25 03:49:27 +00:00
cgd
4917d8beec make fs types consistent over new kernels. also, some proto foo. 1994-04-23 07:54:38 +00:00
cgd
3dda0064a5 Convert mount, vnode, and buf structs to use <sys/queue.h>. Also,
some knf and structure frobbing to do along with it.
1994-04-21 07:47:31 +00:00
cgd
933495ac33 typo, pointed out by ws. 1994-04-20 17:10:59 +00:00
cgd
93159ea799 fs types are names now. 1994-04-14 04:05:45 +00:00
cgd
dce8f4f821 add support for being user-mounted. add support for setting uid and
gid of files, as well as mask for file perms.  this code desperately needs
cleanup.
1994-04-07 07:30:23 +00:00
cgd
e6a6d0ec1b fix from nnd@KremlSun.ussr.EU.net for lookup/conversion bug 1994-04-07 02:24:17 +00:00
cgd
304e374292 expand uid_t/gid_t/off_t 1994-03-27 09:08:02 +00:00
mycroft
cf69754fa3 Fix minor bogon from last change. 1994-03-08 01:56:24 +00:00
paulus
7c687a255f msdos filesystem now works on big-endian machines. 1994-03-03 00:51:30 +00:00
mycroft
a893329d3b Kill useless comment. 1994-02-14 21:47:57 +00:00
mycroft
94b2718bd1 PARANOID --> DIAGNOSTIC for inexpensive tests. 1994-02-14 21:43:33 +00:00
cgd
0b5ba5176a be sure to clear pm_fmod when mounting the FS, and be a bit more careful
when setting it.  The former allows one to unmount readonly-mounted file
systems, the latter is good style.
1994-02-07 23:14:16 +00:00
pk
9916da00fe Initialize variable in mountmsdosfs(). 1994-01-20 09:46:40 +00:00
cgd
0e116508d4 check cross-device renames 1994-01-12 03:33:33 +00:00
mycroft
b8cd510204 Canonicalize all #includes. 1993-12-18 00:50:51 +00:00
mycroft
95b048b53a Canonicalize all #includes. 1993-12-18 00:40:47 +00:00
cgd
bc0ee80f7b don't do the exflags thing. 1993-12-02 06:23:48 +00:00
cgd
755a93789b indent Id properly 1993-12-01 22:42:29 +00:00
cgd
4909e76819 update from Jeff Polk; better validation 1993-12-01 10:35:21 +00:00
cgd
facd69a0ee do something better with lookup return values; suggested by BSDI's msdosfs mod 1993-11-20 09:40:32 +00:00
cgd
76dbc1192b new specfs.h and fifo.h locations 1993-11-12 05:54:12 +00:00
cgd
20d926b4e9 change ni_rdir to ni_rootdir in #ifdef PARANOID. from rgrimes 1993-10-18 22:42:14 +00:00
cgd
cf6729f6fe patch from ws via brezak, to fix the "don't panic, but can't see
anything in subdirs" problem.
1993-09-17 01:21:46 +00:00
ws
019b759766 Fix a bug in local (non-NFS) directory reading 1993-09-14 13:13:45 +00:00
ws
053f138dae Changes to VFS readdir semantics
NFS changes for better cookie support
ISOFS changes for better Rockridge support and support for generation numbers
1993-09-07 15:40:14 +00:00
cgd
90fe4cc799 make the EJUSTRETURN return in the lookup function be #ifdef __bsdi__,
because they did some strange hacks in vfs_lookup...
1993-09-03 04:36:25 +00:00
cgd
54eb3b1f88 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:13 +00:00