Bug in /etc/cron.d/mlocate.cron or am I crazy?
Matthew Miller
mattdm at mattdm.org
Sun Nov 29 03:18:45 UTC 2009
On Sat, Nov 28, 2009 at 05:34:28PM -0500, Steven W. Orr wrote:
> Now you've jinxed it! I'll betcha a buck that Murphy is subscribed to this
> list and that's the next thing that's going to happen. It'll probably be a
> feature of ZFS. ;-)
I'm willing to bet up to *three* imaginary dollars that ZFS will be
called something like "zfs". :)
> I'm willing to work with this approach, but then the proper way to do it in
> awk would be as follows:
> nodevs=$(< /proc/filesystems awk -F '\t' '/^nodev/ && NF==2 { print $2 }')
Well, I think might as well go with the more straightforward syntax of
nodevs=$(awk -F '\t' '/^nodev/ && NF==2 { print $2 }' < /proc/filesystems)
but yeah. File a bug. :)
--
Matthew Miller <mattdm at mattdm.org>
Senior Systems Architect
Cyberinfrastructure Labs / Instructional & Research Computing
Computing & Information Technology
Harvard School of Engineering & Applied Sciences
More information about the fedora-list
mailing list