Today I tried grepping for some stuff in a large Maildir and received the aforementioned error.
A nice workaround is to use:
grep -r "blah blah" /path/to/dirinstead of
grep "blah blah" /path/to/dir/*
HTH!
grep -r "blah blah" /path/to/dirinstead of
grep "blah blah" /path/to/dir/*
The file /boot/grub/stage1 not read correctlyIt turns out grub failed to install due to differences in the ext4 filesystem (either inode size, features and so on); on the origin server it was ext4 with CentOS 6 defaults, while the VM's was prepared from a CentOS 7 LiveCD. `tune2fs -l` should be able to show all this info.
- Motorola Moto G - Wileyfox SwiftThe set of features I was looking for was:
- open (unlocked) bootloader so I can fiddle with it (I'm a fiddler :> ) - 5" or smaller (hard to find non-enormous devices any more) - CHEAP (I'm also cheap :> ) - reasonable quality
After navigating around for info, reviews and so on I have chosen Wileyfox Swift, especially because of pricing and specs.
Motorola Moto G 3rd Gen 1GB RAM, 8GB disk is ~£150.- dual micro-sim - never again shall I buy a single-sim device! - decent battery life, it gets me through the day easily and charges fast (still a long way from the 3200mAh of the XT910) - good build quality, considering the price - crisp and bright display - pretty fast, I'm yet to experience any lag - though I don't use any heavy apps such as games - good control of the apps via Privacy Guard, really Android should have had this from the beginning - default OS is nice and clean, without the usual crapware and some great additions - easily hackable, trivial to play with the ROMs etc - great for developers and techies! - holding the back button pressed for slightly longer kills the current app. How I craved for something like this!
- the camera - it's the biggest let-down of this device, 13MP and 5 lens, but it's mediocre at best, can be enough for some quick snaps for Twitter etc, but nowhere near the quality of the e.g. Galaxy S4 one and in many cases worse than the camera in my old 2011 Motorola XT910. For a while I thought there is some sort of film covering the lens, alas not, it's just crappy. :) - the dual SIM experience is OK-ish, but surprisingly less so than the Nokia Asha 503, not as much control, I hope future Android releases will improve this
wget http://builds.cyngn.com/factory/crackling/cm-12.1-YOG4PAS1T1-crackling-signed-fastboot.zip unzip cm-12.1-YOG4PAS1T1-crackling-signed-fastboot.zip sudo fastboot -i 0x2970 flash boot boot.img sudo fastboot -i 0x2970 flash system system.img sudo fastboot -i 0x2970 flash recovery recovery.img sudo fastboot -i 0x2970 rebootProblem solved!
- reboot in recovery mode (adb reboot recovery) - get a shell (adb shell) - check /proc/partitions and /proc/mounts for your "data" partition and resize the filsystem on it to use 32Mb less space (just substract 32768 from the number shown in /proc/partitions), this WILL WIPE YOUR DATA. e.g. ~# mke2fs -T ext4 -L data /dev/block/mmcblk0p31 12951023 - reboot and you're done, once the phone is up and running you can encrypt it again!
No whois server is known for this kind of object
yum -y install https://repo.varnish-cache.org/redhat/varnish-3.0.el6.rpm yum install varnishOut of the box it will listen on port 6081 and will not do much caching. If you want to modify how it works you need to edit 2 files:
/etc/sysconfig/varnish /etc/varnish/default.vclThe first file tells Varnish what kind of cache to use and how big, also on which ports to listen to.
iptables -t nat -I PREROUTING -i lo -j ACCEPT iptables -t nat -I PREROUTING -s LOCAL_IP -p tcp -m tcp --dport 80 -j ACCEPT iptables -t nat -I PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 6081
backend default { .host = "LOCAL_IP"; .port = "80"; }
smbpasswd -r $AD-server -U $AD-username