Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] portable mechanism to determine noatime
- X-seq: zsh-workers 37374
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] portable mechanism to determine noatime
- Date: Thu, 10 Dec 2015 00:55:16 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=8VEiQnL8jB3zPE3nPhxkuBNl/hxLym0f0SGaIn30DwU=; b=o33osx6s0rmkt2syfLell4Hnt/+46YwaEwPu6RB/JCskMBGWUblATvh46l8KyWanx3 TfRM+hxKEfrhycStPVZe7fzfwl4WuB0uWJ5Xutgx9OzxdmQyGIbfL85BUC8WgcIuVSgC zeNOdIi0lSYYCts5waEUlors4Sw0C7PSTlvEul5SVLXCooFwqt2DFlA+lDL3PPHW/k4B gDKRdYBMPTdolVz01URvLMKrT8fEeS7c+X1l3BGagBaZwPnLH3Cd0eKAa/La5WeNbCUu 798+3d5lSYQ9VPH8XeWNDG/0GKYddhZefwuWbNHkKhrCRyuKJBotI2fx9xMhrNvpi7Y6 54mw==
- In-reply-to: <151210004823.ZM29850@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAPKC6oKUAu0LWzfWuaSbX3iQymhUmZg-35jf9SzrjMv4s=7HQA@mail.gmail.com> <566272DD.6010305@gmx.com> <56632A3A.6000002@gmx.com> <CAGnh9tAC0G7iLenGYWHyJdLNa3VfWZRYQgBqePc=D-HgL3S8DQ@mail.gmail.com> <11850.1449365147@thecus.kiddle.eu> <151210004823.ZM29850@torch.brasslantern.com>
On Dec 10, 12:48am, Bart Schaefer wrote:
>
> { df $(mount || /sbin/mount | awk '/noatime/ {print $1, $3}') | fgrep "$(df .)" } >&/dev/null
Oops, exactly as written that runs df with no arguments if there are no
filesystems with noatime, so tweak it a little:
df ${$(mount || /sbin/mount | awk '/noatime/ {print $1, $3}'):-""}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author