On Fri, 16 May 2008, Georg Lukas wrote:
> while trying to create an openembedded package of ntfs-3g, I found a bug
> in the install-exec-local part of src/Makefile.am. It is triggered when
> $(rootsbindir) is set to another value than "/sbin", and makes the
> subsequent call to $(LN_S) fail.
>
> The attached patch should fix the problem.
Hi Georg,
Thank you for the bug report and patch.
May I ask why do you install mount.ntfs-3g and ntfs-3g to somewhere else
and where?
If mount.ntfs-3g is not in /sbin and they are not on the root file system
then typically something will surely break, e.g. mount via fstab, automount
during boot, etc. These problems are not always reproducible, depend on the
environment and can be very frustrating for users. Typically mount helpers
must be on the root file systems and mount(8) looks for them in /sbin.
Recently even mount(8) in busybox added support for mount helpers.
Didn't you intend to submit the patch below? Would this fix you problem?
(Note, this could still result mount failures if ntfs-3g is not on the root
filesystem).
Thank you,
Szaka
--- src/Makefile.am.orig 2008-05-16 19:15:03.391214841 +0200
+++ src/Makefile.am 2008-05-16 23:51:11.937123811 +0200
@@ -39,7 +39,7 @@
install-exec-local:
$(INSTALL) -d "$(DESTDIR)$(rootsbindir)"
- $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/sbin/mount.ntfs-3g"
+ $(LN_S) -f "$(DESTDIR)$(rootbindir)/ntfs-3g"
"$(DESTDIR)/sbin/mount.ntfs-3g"
install-data-local:
$(INSTALL) -d "$(DESTDIR)$(man8dir)"
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel