Re: nfs, exportfs feature?

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Tue Jun 13 2000 - 23:24:42 EST


On Tuesday June 13, rsousa@grad.physics.sunysb.edu wrote:
> Hi,
>
> I just realized that exporting a directory with an already mounted
> file system pins it down and it's not possible to umount it. That is:
>
> mount /dev/hda1 /tmp
> exportfs -r <-- export /tmp
> umount /tmp <-- fails (/tmp busy)
> exportfs -au
> umount /tmp <-- succeeds
>
> But if I do:
>
> exportfs -r
> mount /tmp
> umount /tmp <-- succeeds
>
> Is this right? Or not a kernel issue?
>
> This is kernel 2.2.16, knfsd-1.4.7-7 and RedHat 6.1
>
> Rui Sousa

Yep, thats right.
Same as if you cd to the directory, or hold open a file in the mounted
filesystem or ....
How do you expect knfsd to export something that isn't mounted?

Do you have a specific problem with this, or were you just wondering?

NeilBrown

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:30 EST