svn commit: r549723 - head/sysutils/e2fsprogs

Gleb Popov 6yearold at gmail.com
Wed Sep 23 16:53:04 UTC 2020


On Wed, Sep 23, 2020 at 4:44 PM Matthias Andree <mandree at freebsd.org> wrote:

> Author: mandree
> Date: Wed Sep 23 12:44:16 2020
> New Revision: 549723
> URL: https://svnweb.freebsd.org/changeset/ports/549723
>
> Log:
>   - make /sbin/e2fsck and /sbin/fsck_ext2fs visible in pkg catalog/"pkg
> which",
>     so that "pkg which /sbin/e2fsck" yields the proper result.
>
>     * this entails symlinking from $PREFIX/sbin to /sbin, and the
> pkg-install
>       script will attempt to replace the symlinks by hard links if
> possible.
>       pkg 1.15.4 cannot deal with packaged hard links and will fail.
>
>     * Note that it is unavoidable that these be in /sbin because
> /usr/local or
>       /usr may not be mounted and consequently ext2 file systems could not
>       be fsck-ed or mounted from /etc/fstab.
>
>     There will be no port option to avoid /sbin installs for now. We have
> too
>     many options already and the testing effort increases exponentially.
>
>   - make sure pkg-message appears on both install and upgrade
>
>   - clean up and document/comment pkg-install so that armchair experts
>     will not pester me with meaningless change requests
>
>   - bugfix/change: logic of mke2fs.conf upgrade handling to present less
> work for
>     users on port/package upgrades
>
>   - bump PORTREVISION
>
>   PR:   249284 (related)
>

At $WORK I'm using "mountprog=/usr/local/bin/ntfs-3g" as an argument in the
/etc/fstab, so I didn't ever stumbled on the original problem. Can't the
same approach be used for e2fs? This way we don't need to put anything
above /usr/local


More information about the svn-ports-all mailing list