From: Eric Cook <llua@gmx.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] portable mechanism to determine noatime
Date: Sat, 5 Dec 2015 13:17:30 -0500 [thread overview]
Message-ID: <56632A3A.6000002@gmx.com> (raw)
In-Reply-To: <566272DD.6010305@gmx.com>
On 12/05/2015 12:15 AM, Eric Cook wrote:
> On 12/04/2015 06:22 PM, Baptiste Daroussin wrote:
>> Hello,
>>
>> While updating the FreeBSD package to 5.2, I got a failure when
>> running the testsuite. Actually it was not a real failure are the said
>> test is known to not work on a noatime filesystem which is my case.
>>
>> The way to test for noatime rely on /etc/mtab which we do not have
>>
>> Here is a patch to use the mount command instead:
>> https://people.freebsd.org/~bapt/0001-Use-a-portable-mechanism-to-determine-if-the-filesys.patch
>>
>> Best regards,
>> Bapt
>>
> This patch doesn't work on illumos/solaris systems.
>
Well, it isn't just unique to illumos/solaris.
If you build zsh in a directory that is on your root partition (say you don't have a separate /home partition)
`df .' returns `/', `grep /' matches every mount point and if any mount point is mounted noatime, the final grep succeeds.
But that problem still exist with the use of /etc/mtab.
next prev parent reply other threads:[~2015-12-05 18:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-04 23:22 Baptiste Daroussin
2015-12-05 5:15 ` Eric Cook
2015-12-05 18:17 ` Eric Cook [this message]
2015-12-05 20:00 ` Matthew Martin
2015-12-06 1:25 ` Oliver Kiddle
2015-12-10 8:48 ` Bart Schaefer
2015-12-10 8:55 ` Bart Schaefer
2015-12-11 4:21 ` Oliver Kiddle
2015-12-12 6:49 ` Bart Schaefer
2015-12-13 2:13 ` Oliver Kiddle
2015-12-13 16:22 ` Bart Schaefer
2015-12-18 2:45 ` Oliver Kiddle
2015-12-18 4:40 ` Bart Schaefer
2015-12-30 17:49 ` Oliver Kiddle
2015-12-30 22:43 ` Bart Schaefer
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=56632A3A.6000002@gmx.com \
--to=llua@gmx.com \
--cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).