Re: mountd(8) leaving filesystems exported

2001-12-18 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Terry Lambert writes: >> One nasty bug is that the code for un-exporting filesystems checks >> to see if the filesystem is among a list of supported types, but >> the code for exporting doesn't. This list of supported filesystems >> does not include ext2fs or hpfs,

Re: mountd(8) leaving filesystems exported

2001-12-15 Thread Terry Lambert
David O'Brien wrote: > On Fri, Dec 14, 2001 at 10:17:43PM -0800, Terry Lambert wrote: > > The problem is that the exported FSs exports are managed in the > > per FS mount code, and they really ought to be managed in higher > > level code (above the VFS layer, but still in the kernel). > > > > This

Re: mountd(8) leaving filesystems exported

2001-12-15 Thread David O'Brien
On Fri, Dec 14, 2001 at 10:17:43PM -0800, Terry Lambert wrote: > The problem is that the exported FSs exports are managed in the > per FS mount code, and they really ought to be managed in higher > level code (above the VFS layer, but still in the kernel). > > This is incidently what prevents us

Re: mountd(8) leaving filesystems exported

2001-12-14 Thread Terry Lambert
Ian Dowse wrote: > > There are quite a few assumptions in mountd(8) about the layout of > the per-filesystem mount(2) `data' struct, which make the code quite > ugly. It uses a union to ensure that it supplies a large enough > structure to mount(2), but regardless of the filesystem type, it > alw

mountd(8) leaving filesystems exported

2001-12-14 Thread Ian Dowse
There are quite a few assumptions in mountd(8) about the layout of the per-filesystem mount(2) `data' struct, which make the code quite ugly. It uses a union to ensure that it supplies a large enough structure to mount(2), but regardless of the filesystem type, it always initialises the UFS versi