Commit Graph

39 Commits

Author SHA1 Message Date
mhitch
7327b8ff44 Set file size of a softlink to the length of the symbolic link path,
to match what FFS does.  Fixes PR #2316.
1996-04-28 06:18:12 +00:00
veego
5bdb632088 u_int -> u_long fixes for printf's 1996-04-23 05:18:29 +00:00
mhitch
a0e658617d Add support for OFS, International FileSystems, and blocksizes > 512.
Corrrect floppy rootblock calculation.  Validate filesystem type. (Closes
PR 2232)
Filename hashing requires unsigned characters.  (Closes PR 1026)
Soft link path is null-terminated string, not BSTR.
Use actual file header block info for hard links.
Set nlink to 2 for hard linked files in adosfs_getattr().
Load allocation bitmap and set correct free space.
1996-04-05 05:06:07 +00:00
christos
43854c5755 compiler warning police 1996-02-13 17:05:47 +00:00
christos
3e701ffc5a Add forward decls. 1996-02-10 00:44:18 +00:00
christos
2140eeda0f Adosfs prototyping changes. 1996-02-09 19:06:38 +00:00
mycroft
53fccab940 Fix vop_link, vop_symlink, and vop_remove semantics in several ways:
* Change the argument names to vop_link so they actually make sense.
* Implement vop_link and vop_symlink for all file systems, so they do proper
  cleanup.
* Require the file system to decide whether or not linking and unlinking of
  directories is allowed, and disable it for all current file systems.
1996-02-09 14:45:36 +00:00
jtc
dd05bd5124 Rename struct timespec fields to conform to POSIX.1b 1996-02-01 00:04:52 +00:00
jtc
0cd793449e merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
chopps
b84f35f3f0 make nfsable from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1995-08-18 15:14:33 +00:00
cgd
8f62c773e8 don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN 1995-06-18 14:45:14 +00:00
chopps
dbd3d08cf0 set blocksize in adosfs_getattr(). fixes pr#968 1995-04-17 12:22:08 +00:00
mycroft
2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
cgd
841ab5d975 size should be u_long, kill unneeded variable 1995-03-08 01:26:41 +00:00
mycroft
958b56730a amount -> adosfsmount 1995-01-18 09:17:32 +00:00
mycroft
e4f6d6a7db Clean this up a bit, adding security checks, and copying code from other file
systems.
1995-01-18 09:16:37 +00:00
chopps
31fb8e04bb cleanup a couple botched merges. 1994-12-29 22:06:15 +00:00
chopps
85444a9a0b a couple fixes. Add support for muFS (multi-user adosfs). Default to
case-insesitive lookup.  from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1994-12-28 08:51:56 +00:00
mycroft
609063ce2b Format police. 1994-12-27 19:05:12 +00:00
ws
a40374fa29 Implement and use a common access checking routine 1994-12-24 16:43:32 +00:00
mycroft
6b1a9a5ff9 Call foo_statfs() from a common place when mounting. 1994-12-15 20:47:51 +00:00
mycroft
527b796ff5 Turn lease_check() into a vnode op, per CSRG. 1994-12-13 20:14:30 +00:00
cgd
6ac2bbfc35 be more careful with types, also pull in headers where necessary. 1994-10-30 21:43:03 +00:00
cgd
be8c7b9d80 light clean; make sure headers are properly included, types are OK, etc. 1994-10-29 07:58:24 +00:00
cgd
6b86130410 update for new syscall args description mechanism 1994-10-20 04:22:35 +00:00
cgd
49c34d3337 move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS. 1994-10-14 18:26:22 +00:00
chopps
11a257ac8f fix access check to honor mount arg,
from Michael Hitch (osymh@gemini.oscs.montana.edu)
1994-10-06 18:41:26 +00:00
chopps
41a2d35564 fix uninitialized use of mask. 1994-08-30 23:06:48 +00:00
chopps
183bffdf36 fix a `bug' actually just an interface issue, cache last indirect block
to avoid geometrically increasing access time when reading files.
1994-07-11 05:07:38 +00:00
cgd
cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
cgd
f21254981e new standard, minimally intrusive ID format 1994-06-27 19:27:39 +00:00
chopps
61e3e83691 update to new vfs interface. 1994-06-17 20:06:05 +00:00
chopps
da4d919720 fix an off by one error in hash chain counting code. Also fix "lockup"
bug
1994-06-02 23:42:19 +00:00
chopps
d429d101d9 fix an off by one error hash chain counting code. Also fix "lockup"
bug
1994-06-02 23:40:56 +00:00
chopps
5b60a18823 MIN/min 1994-05-31 03:13:41 +00:00
chopps
11a73d2aae MIN() -> min() 1994-05-25 11:32:38 +00:00
chopps
273045f840 directories wired to have link count 1 not 2, pointed out by Charles. 1994-05-16 05:03:56 +00:00
chopps
9d020030ac some very minor cleanup and fix a bug in adosfs_readdir(). 1994-05-13 04:53:48 +00:00
chopps
780b200e72 First version of AmigaDOS fast file system. needs work, read only. 1994-05-11 18:49:06 +00:00