Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What does q-reinitialize do?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1218

PostPosted: Sun Jun 20, 2010 8:52 am    Post subject: What does q-reinitialize do? Reply with quote

This is the message that I got after updating portage-utils:
Code:
/etc/portage/postsync.d/q-reinitialize has been installed for convenience
If you wish for it to be automatically run at the end of every --sync:
   # chmod +x /etc/portage/postsync.d/q-reinitialize
Normally this should only take a few seconds to run but file systems
such as ext3 can take a lot longer.  To disable, simply do:
   # chmod -x /etc/portage/postsync.d/q-reinitialize


This sounds nice, but it does not say what does q-reinitialize do. Looking at the file, it calls command "q", but I am not familiar with "q". Can someone shed more light on this? Is "q-reinitialize" something I want to run after every sync?

Thanks.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Sun Jun 20, 2010 11:31 am    Post subject: Reply with quote

It updates the cache used by the portage-utils package (qfile, qdepends, qpkg, ...). If you don't use those you don't need to run q-reinitalize either.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri Feb 08, 2013 3:50 pm    Post subject: Reply with quote

was wondering the same

thanks for the short and concise description :)

(necro - I know - I know :roll: )
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Sat Feb 09, 2013 3:19 pm    Post subject: Reply with quote

Does anyone know who actually named the 'q' command, and whether or not
they have been shot for it? I sometimes invoke it via a typing error, and it
really has to be the most stupid piece of naming ever, even better that the
current networking renaming.

Will
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum