Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 20:52:33 +0400
From:      Gleb Popov <6yearold@gmail.com>
To:        Matthias Andree <mandree@freebsd.org>
Cc:        ports-committers <ports-committers@freebsd.org>, svn-ports-all <svn-ports-all@freebsd.org>,  svn-ports-head <svn-ports-head@freebsd.org>
Subject:   Re: svn commit: r549723 - head/sysutils/e2fsprogs
Message-ID:  <CALH631mgVexqbvmJRZkyS8jg_k3Yh4sqxzk-Wr8eXs5zLakXDA@mail.gmail.com>
In-Reply-To: <202009231244.08NCiHUQ090692@repo.freebsd.org>
References:  <202009231244.08NCiHUQ090692@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 23, 2020 at 4:44 PM Matthias Andree <mandree@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mgVexqbvmJRZkyS8jg_k3Yh4sqxzk-Wr8eXs5zLakXDA>