FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 11-15-2011, 07:40 PM
Dan McGee
 
Default Recreate empty missing filesystem directories

On Tue, Nov 15, 2011 at 2:27 PM, Andrea Scarpino <andrea@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
 
Old 11-15-2011, 07:47 PM
Andrea Scarpino
 
Default Recreate empty missing filesystem directories

On Tuesday 15 November 2011 14:40:36 Dan McGee wrote:
> Does -Qk find directories? If so, I'm an idiot and could have just used
> that...
Yes, it does. I found it very useful when we were removing the /var/run
directories.

--
Andrea
 

Thread Tools




All times are GMT. The time now is 11:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org