chs
aeda8d3b77
Initial integration of the Unified Buffer Cache project.
2000-11-27 08:39:39 +00:00
jdolecek
24c327fe78
Add an option to do case-insensitive lookups even on Rock-Ridge CD-ROMS.
...
Add 'rrcaseins' option to mount_cd9660(8).
This addresses kern/2419 by Jason Downs.
2000-07-15 21:40:42 +00:00
jdolecek
943f329ed7
add a new mount flag ISOFSMNT_NOCASETRANS - if set, the file names are not
...
translated to lower case
2000-05-27 16:03:55 +00:00
scw
f27dcc92e2
Apply a late patch submitted by the author of PR kern/7951 (Joachim
...
Kuebart) which modifies the behaviour of cd9660 filesystem support to
favour using RockRidge extensions in place of Joliet if both formats
are present on a CD-ROM.
2000-05-10 20:35:35 +00:00
augustss
1469ed1614
Kill more register declarations.
2000-03-30 12:13:30 +00:00
simonb
bd11640b2c
Remove redundant decl of rootvp - it's in <sys/systm.h>.
2000-03-29 04:03:08 +00:00
jdolecek
89015c4648
Add new VFS op routine - vfs_done and call it on filesystem detach
...
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.
For each leaf filesystem, add appropriate vfs_done routine.
2000-03-16 18:08:17 +00:00
scw
ebb1e2f6d4
Add calls to vn_lock() and VOP_UNLOCK() around the VOP_CLOSE() call
...
in iso_mountfs() to avoid a "panic: lockmgr: locking against myself"
when vrele() is called due to the mount having failed.
This fixes PR/9058.
2000-01-11 09:04:50 +00:00
fvdl
0b1963121a
Add Kirk McKusick's soft updates code to the trunk. Not enabled by
...
default, as the copyright on the main file (ffs_softdep.c) is such
that is has been put into gnusrc. options SOFTDEP will pull this
in. This code also contains the trickle syncer.
Bump version number to 1.4O
1999-11-15 18:49:07 +00:00
enami
fee96e1746
Check if the type of device node isn't VBAD before touching v_specinfo. If
...
the device vnode is revoked, the field is NULL and touching it causes null
pointer derefercence.
1999-10-20 14:32:09 +00:00
wrstuden
e682a080e9
In spec_close(), if we're not doing a non-blocking close and VXLOCK is
...
not set, unlock the vnode before calling the device's close routine and
relock it after it returns. tty close routines will sleep waiting for
buffers to drain, which won't happen often times as the other side needs
to grab the vnode lock first.
Make all unmount routines lock the device vnode before calling VOP_CLOSE().
1999-10-16 23:53:26 +00:00
wrstuden
976aedb7ac
Adjust mountroot routines to vrele rootvp in case of mount error. Closes
...
PR 7977 by Neil Carson, <neil@brini.com>.
1999-07-17 01:08:28 +00:00
scw
801242dfdc
From patch supplied in PR-7951 by Joachim Kuebart:
...
Add support for Microsoft Joliet long filename extensions to the
cd9660 filesystem.
1999-07-13 11:12:05 +00:00
wrstuden
379a26972f
Modify file systems to deal with struct lock in struct vnode. All leaf
...
fs's other than nfs use genfs_lock() for locking.
Modify lookup routines to set PDIRUNLOCK when they unlock the parrent.
1999-07-08 01:05:58 +00:00
wrstuden
862a56e88b
Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now
...
only handles the file handle to vnode conversion, and a new call,
vfs_checkexp(), performs the export verification.
1999-02-26 23:44:43 +00:00
is
bfb7f2aaf3
Multisession-CD-Support, by Torsten Duwe <duwe@ns.lst.de>.
1999-01-04 15:32:08 +00:00
mycroft
68a70a83ba
Check permissions on device to be mounted.
1998-09-05 04:34:47 +00:00
thorpej
cf6b3d3ec9
Use the pool allocator and the "nointr" pool page allocator for cd9660 nodes.
1998-09-01 03:40:19 +00:00
perry
e1601dc2ca
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 20:36:58 +00:00
jonathan
d275e56dee
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
...
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
sommerfe
7ba7fbbb23
Always include fifos; "not an option any more".
1998-06-24 20:58:44 +00:00
sommerfe
becaafeea0
defopt for options FIFO
1998-06-22 22:00:59 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
thorpej
b5bf2ed6d0
Place a pointer to an array of our vnodeopv_desc *'s in our vfsops
...
structure, for use by vfs_attach().
1998-02-18 07:05:47 +00:00
pk
b769cc2fb1
Remove initialization of `swapdev_vp' from mountroot().
1997-06-13 15:38:58 +00:00
thorpej
f41783799b
- Add cd9660_mountroot to cd9660_vfsops.
...
- Only attempt to mount root if root_device is a DV_DISK class device.
1997-01-31 02:23:25 +00:00
cgd
9586277088
update for iso.h/cd9660_extern.h header changes
1997-01-24 00:27:29 +00:00
cgd
90688fce27
Change the second and third args to struct vfsops' (*vfs_mount)() to
...
'const char *', and 'void *', respectively. The second arg is taken directly
from user arguments, and is const there, so must be const in the prototypes
and functions. The third arg is also taken directly from user arguments.
It doesn't have to be changed, but since it's cleaner to keep the type
the same as the user arg's type, and I'm already making the 'const char *'
change...
1996-12-22 10:10:12 +00:00
christos
e44c1d1f33
backout previous kprintf changes
1996-10-13 02:28:58 +00:00
christos
c514106b9d
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:39:39 +00:00
christos
245d8c1eb2
isofs prototypes
1996-02-09 21:31:50 +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
mycroft
2f805fa51b
copy*str() should use size_t.
1995-03-09 12:05:21 +00:00
cgd
aac6b08302
use u_long for copyin*
1995-03-08 01:33:20 +00:00
mycroft
f8bce247fa
Fix typo in previous.
1995-01-18 09:26:18 +00:00
mycroft
ac152cdeb3
Clean up the code to frob mnt_stat a bit. Eliminate im_fsmnt.
1995-01-18 09:23:18 +00:00
mycroft
6afe4059be
Turn mountlist into a CIRCLEQ, and handle setting and checking of MNT_ROOTFS
...
differently.
1995-01-18 06:14:00 +00:00
cgd
55300e7b13
various cleanups suggested by James Jegers, some then fixed up by me.
1994-12-24 15:30:03 +00:00
mycroft
b4aa6d3a28
Call foo_statfs() from a common place when mounting.
1994-12-15 19:46:08 +00:00
mycroft
7beacb354f
This *doesn't* need dkbad.h.
1994-12-14 13:42:18 +00:00
mycroft
8c03c53858
Sync with CSRG.
1994-12-13 22:33:10 +00:00
mycroft
8e8b6c5b10
Not that it matters, but don't assume we're two's-complement.
1994-07-19 15:27:40 +00:00
mycroft
f8fae0f555
More redux.
1994-07-19 15:07:36 +00:00
mycroft
1656a89476
Clean up a bit:
...
Implement cd9660_blkatoff() and use it.
Reduce lots of multiplies and divides to shifts.
Make some macros look more like UFS.
Make isodirino() return the inumber rather than poke it into the abyss.
1994-07-19 14:14:08 +00:00
mycroft
258fcca13b
For VOP_VGET(), pretend that relocated directories don't exist, for now.
1994-07-18 08:07:50 +00:00
mycroft
0c2e843ee1
Implement cd9660_vget(). Clean up a bit.
1994-07-13 22:30:07 +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
89e331dcad
new standard, minimally intrusive ID format
1994-06-27 19:40:57 +00:00
mycroft
39f627ae40
b_un.b_addr -> b_data
1994-06-14 23:54:44 +00:00
mycroft
76da4f6f36
From 4.4-Lite, with local changes.
1994-06-08 11:22:45 +00:00