updatedb?

Ответить
Аватара пользователя
Gerardll51
Сообщения: 1423
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R11 release 2016.1 for x86_64
KDE 4.14.37
4.15.0-desktop-68.5rosa-x86_64
NVIDIA GP107 [GeForce GTX 1050 Ti]. NVIDIA 430.50. ROSA X.org 11.0
Intel Core i5-9600KF. 16 Go RAM. SSD 500 Gio

updatedb?

Сообщение Gerardll51 » 24 июн 2017, 10:39

Bonjour,

Est-ce que la commande updatedb fonctionne par défaut de temps en temps toute seule ou est-ce qu'il nous faut la lancer manuellement?

Voyant mon disque dur tourner comme un malade, en cherchant je me suis rendu compte que c'est cette commande qui fonctionnait.
Voilà, si vous avez cinq minutes. :)
Très bien la distribution Rosa!

Аватара пользователя
sylvainsjc
Сообщения: 1276
Зарегистрирован: 28 июн 2012, 20:39
Operating system: ROSA Linux
Контактная информация:

Re: updatedb?

Сообщение sylvainsjc » 24 июн 2017, 14:31

Hello,
Oui c'est la mise à jour de la commande "locate"
Tu devrais trouver la mise à jour dans un fichier contenu dans "/etc/cron.daily" normalement :)

Аватара пользователя
Gerardll51
Сообщения: 1423
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R11 release 2016.1 for x86_64
KDE 4.14.37
4.15.0-desktop-68.5rosa-x86_64
NVIDIA GP107 [GeForce GTX 1050 Ti]. NVIDIA 430.50. ROSA X.org 11.0
Intel Core i5-9600KF. 16 Go RAM. SSD 500 Gio

Re: updatedb?

Сообщение Gerardll51 » 25 июн 2017, 00:45

Ah tiens salut Sylvain!

Ah ok merci de l'info.
Je savais que c'était pour mettre à jour la base de donnée de la commande locate. Mais je ne savais pas que cette commande démarrait toute seule.
Jusqu'à présent je la lançais avant de lancer une commande locate quand ça faisait un bout de temps que je ne l'avais pas fait.
Visiblement là, ça fonctionne tout seul d'après ce que j'ai vu.

Sinon, j'ai ça dans /etc/cron.daily :

Код: Выделить всё

[gerard@linux cron.daily]$ ll
total 48
-rwxr-xr-x 1 root root   109 sept. 15  2014 0anacron-timestamp*
-rwxr-xr-x 1 root root 15142 mai    9 06:44 google-chrome*
-rwxr-xr-x 1 root root     1 oct.   6  2016 google-earth*
-rwxr-xr-x 1 root root   256 avril 15  2016 logrotate*
-rwxr-xr-x 1 root root   553 août  29  2014 man-db.cron*
-rwxr-xr-x 1 root root   136 août  29  2014 mlocate.cron*
-rwxr-xr-x 1 root root   187 févr. 26  2015 rkhunter*
-rwxr-xr-x 1 root root    50 oct.  13  2016 rpm*
-rwxr-xr-x 1 root root   491 janv. 11  2016 tmpwatch*
Bon je ne sais pas à quel fichier correspond la mise à jour pour la fonction locate là-dedans.
Très bien la distribution Rosa!

Аватара пользователя
sylvainsjc
Сообщения: 1276
Зарегистрирован: 28 июн 2012, 20:39
Operating system: ROSA Linux
Контактная информация:

Re: updatedb?

Сообщение sylvainsjc » 25 июн 2017, 00:52

C'est ce fichier :

Код: Выделить всё

-rwxr-xr-x 1 root root   136 août  29  2014 mlocate.cron*
Si tu le supprimes, updatedb ne sera plus lancé automatiquement :)

Аватара пользователя
Gerardll51
Сообщения: 1423
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R11 release 2016.1 for x86_64
KDE 4.14.37
4.15.0-desktop-68.5rosa-x86_64
NVIDIA GP107 [GeForce GTX 1050 Ti]. NVIDIA 430.50. ROSA X.org 11.0
Intel Core i5-9600KF. 16 Go RAM. SSD 500 Gio

Re: updatedb?

Сообщение Gerardll51 » 25 июн 2017, 10:35

Ah ok, merci de l'info. C'est bon à savoir.
Pour l'instant je vais quand même laisser comme ça. La commande locate me sert quand même de temps en temps.
Très bien la distribution Rosa!

Ответить

Вернуться в «ROSA Desktop»