jeff...@aosc.io wrote on 3/19/21 7:03 AM:
Greetings,

While building NTFS-3G, I found that despite specifying --sbindir=/usr/bin, a good few executables are still installed in /usr/sbin. Grepping around the tree, it seems that in many Makefile.am, `/sbin' is specified as hard-coded paths.

A list of offending Makefile.am are as follows:

ntfsprogs/Makefile.am:  $(RM) -f $(DESTDIR)/sbin/mkfs.ntfs
src/Makefile.am:        $(MKDIR_P) "$(DESTDIR)/sbin"
src/Makefile.am:        $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/sbin/mount.ntfs-3g" src/Makefile.am:        $(LN_S) -f "$(rootbindir)/lowntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g" src/Makefile.am:        $(RM) -f "$(DESTDIR)/sbin/mount.ntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g"

AFAIK /sbin is hardcoded in mount(8). Quoting from the manual :
"In order to make it possible to treat all types in a uniform
way,  mount  will execute the program /sbin/mount.type (if
that exists) when called with type type".

mkfs.ntfs might however be located elsewhere.

Jean-Pierre


Best Regards,
Mingcong Bai



_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to