| Summary: | sys-apps/util-linux does not search for mount helpers in /usr/bin ($PATH) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bruce Schultz <brulzki> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | katabami |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2889 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
upstream has accepted my patch for --enable-fs-paths configure options and will be in the next release. it's easier if we just wait for that. i'm lazy. *** Bug 307853 has been marked as a duplicate of this bug. *** |
mount -t fuse.ntfs fails because mount can't find the helper program mount.fuse.ntfs which is in /usr/bin. According to the mount man page, it should be in /sbin. # mount -t fuse.ntfs /dev/sdd2 /mnt/tmp mount: wrong fs type, bad option, bad superblock on /dev/sdd2, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Creating the symlink in /sbin fixes the error above # ln -s /usr/bin/ntfsmount /sbin/mount.fuse.ntfs For some reason, the ntfsprogs-2.0.0-r1.ebuild is moving the mount helper program links from /sbin to /usr/bin. That seems to be the causes of the problem. src_install() { ... mv "${D}"/sbin/mount.{fuse.ntfs,ntfs-fuse} "${D}"/usr/bin/ || die ... } Reproducible: Always