[PVFS-developers] code drop

Daniel C. Nurmi nurmi@mcs.anl.gov
Tue, 24 Oct 2000 00:55:05 -0500 (CDT)


Greetings,


On Mon, 23 Oct 2000, Robert Ross wrote:
> 
> I will happily accept patches to this code to fix problems/add
> functionality, especially anything we've been talking about on the TODO
> list.  Of particular interest are:
> - finishing up "mount" support

No patches yet, but I did notice hat in the newest mount.c from
util-linux-2.10p, in the check_special_mountprog() function (which dealt
with smb and ncp explicitly in the past) now deals with arbitrary external
executables based on the file system type passed to mount...

sprintf(mountprog, "/sbin/mount.%s", type);

So after throwing mount.pvfs in /sbin on my redhat7.0 workstation, I could
seemlessly mount pvfs filesystems with a line like

mount -t pvfs mach:/pvfs /pvfs

mount itself returns after calling 'mountprog' without writing to
/etc/mtab...i'll wager that smbmount opens and writes to mtab itself.
I'll take a look tommorrow and possibly add /etc/mtab writing code to
mount.pvfs if it seems like i'm on the right track!

Thanks,
-Dan

p.s.  From redhat 7.0, doing a 'df /pvfs' on a mounted file system (which
doesn't appear in /etc/mtab) does not show pvfs statistics like it does
under rh6.1/2 systems. just thought I would mention it.