Hi, Al. Recent kernels have a problem with unmounting via the device
file. If I do:
# mknod /mydev b ...
# mount -n /mydev /mnt
# /tmp/kumount /mydev
Error unmounting: /mydev Invalid argument
This used to work. Note that kumount only does a call to umount(2).
If instead I do:
# /tmp/kumount /mnt
it works fine. The problem seems to come from the following check in
fs/super.c:sys_umount():
retval = -EINVAL;
if (nd.dentry!=nd.mnt->mnt_root)
goto dput_and_out;
This problem persists with 2.4.0-test2.
Regards,
Richard....
Permanent: [EMAIL PROTECTED]
Current: [EMAIL PROTECTED]