Hi,
Thanks for the bug report.
On Wed, 25 Apr 2007 [EMAIL PROTECTED] wrote:
> while testing my fusefs-ntfs port update for FreeBSD i find the following bug:
>
> File ntfs-3g.c (Line 137)
> static char def_opts[] = "silent,allow_other,nonempty,";
>
> should be:
> static char def_opts[] = "silent,allow_other,noempty,";
>
> Replace 'nonempty' with 'noempty' and everything works.
The correct option is 'nonempty'. There is no 'noempty' option, so at the
end of the option parsing chain (ntfs-3g -> fuse -> kernel) it's just
ignored as if it didn't exist at all.
I guess you meant under not "everything works" that block devices can be
mounted now multiple times on FreeBSD (not on Linux 2.6.20+ kernels).
Yes, removing the 'nonempty' option solves the issue on FreeBSD but it's
not correct because for instance there are mount helpers which rely on
the fact that the mount point is not always empty and by not using the
'nonempty' option they fail. Linux in-kernel file systems behave the same
way as ntfs-3g with the 'nonempty' option.
However the possible multiple mounts of the same device is indeed a problem
for almost anything else. There are several protections in the driver to
prevent this but they are not robust enough yet.
Szaka
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel