From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: "L.A. Walsh" <xfs@tlinx.org>
Cc: Linux-Xfs <linux-xfs@vger.kernel.org>
Subject: Re: xfsprogs-4.16; scrubbing and files w/o /usr dependencies...
Date: Fri, 2 Nov 2018 21:52:53 -0700 [thread overview]
Message-ID: <20181103045253.GT4135@magnolia> (raw)
In-Reply-To: <5BDD1D19.7030208@tlinx.org>
On Fri, Nov 02, 2018 at 08:59:21PM -0700, L.A. Walsh wrote:
> I was noticing in a newer version of xfsprogs that it puts some non-/usr-lib
> dependent files in /sbin, specifically fsck.mfs(shell), mkfs.xfs, xfs_repair
> xfs_scrub, and xfs_scrub_all.
>
> What was the decider for putting these files in /sbin? The reason I ask is
> that the last one 'xfs_scrub_all' has a heavy dependency on /usr as it needs
> #!/usr/bin/python3 to run. So wouldn't it be happier in /usr/sbin?
Hmm, good point, scrub should move to /usr/sbin.
(Granted with many of the distros moving towards /sbin -> /usr/sbin
these days it might not make that much difference... :/ )
> I also note that it has dependencies on systemd. Will it work for
> systems not running systemd or will systemd be required for newer-versioned
> xfs maintenance?
/usr/lib/xfsprogs/xfs_scrub_all.cron is a sample cronjob that will get
installed automatically some years from now when scrub is stable and
ready to be autoconfigured as a background job. The goal is to be able
to handle both systemd and cron environments, and I'm not picking sides.
:)
(Note that xfs_scrub is still experimental...)
--D
> Thnx...
>
>
>
next prev parent reply other threads:[~2018-11-03 14:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-03 3:59 xfsprogs-4.16; scrubbing and files w/o /usr dependencies L.A. Walsh
2018-11-03 4:52 ` Darrick J. Wong [this message]
2018-11-04 20:50 ` L A Walsh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181103045253.GT4135@magnolia \
--to=darrick.wong@oracle.com \
--cc=linux-xfs@vger.kernel.org \
--cc=xfs@tlinx.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox