On Sat, 17 May 2008, Szabolcs Szakacsits wrote:
> 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).

Sorry, my patch is not ok. Apparently your problem is with the hard coded 
'/sbin'. The question is why? By definition the mount helpers must be at 
'/sbin/mount.<filesystem>'. This is hard coded in mount.c.

Thanks,
           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
> 

--
NTFS-3G:  http://ntfs-3g.org




-------------------------------------------------------------------------
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

Reply via email to