[arch-dev-public] Recreate empty missing filesystem directories

Dan McGee dpmcgee at gmail.com
Tue Nov 15 15:40:36 EST 2011


On Tue, Nov 15, 2011 at 2:27 PM, Andrea Scarpino <andrea at archlinux.org> wrote:
> On Tuesday 15 November 2011 12:29:08 Dan McGee wrote:
>> This is fixed in pacman 4.0, but thought people might find this super
>> simple script helpful. A lot of people will find `/etc/cron.hourly/`
>> missing due to the removal of the adjtime cronjob; but at least on my
>> system there were a few more missing directories found.
> I sporadically run `pacman -Qk | grep "No such file"` which found 3~5 missing
> files everytime. Obviously /var/run dirs doesn't count.
> Just my two cents.

Does -Qk find directories? If so, I'm an idiot and could have just used that...

-Dan


More information about the arch-dev-public mailing list