Re: updatedb

2024-02-10 Thread Javier Perez
I learned something today  On Sat, Feb 10, 2024 at 12:14 PM José Matos wrote: > On Sat, 2024-02-10 at 10:09 -0500, David King wrote: > > At some point in the past mlocate must > > have been upgraded/replaced by plocate on my system. I'm not sure > > when that happened. The last time I

Re: updatedb

2024-02-10 Thread José Matos
On Sat, 2024-02-10 at 10:09 -0500, David King wrote: > At some point in the past mlocate must > have been upgraded/replaced by plocate on my system.  I'm not sure > when that happened.  The last time I looked, a long time ago, I was > using mlocate and now it's plocate. > > -- > David King I

Re: updatedb

2024-02-10 Thread David King
On 2/10/24 07:52, Patrick Dupre via users wrote: Sorry, It is in /usr/sbin/updatedb Hello, what replace? /usr/bin/updatedb I'm not sure I understand what you are asking.  Nothing replaced that file.  Doing "sudo dnf whatprovides /usr/sbin/updatedb" on Fedora 39 shows that

Re: updatedb

2024-02-10 Thread Patrick Dupre via users
Sorry, It is in /usr/sbin/updatedb > > > Hello, > > what replace? > > /usr/bin/updatedb > > Thanks > > === > Patrick DUPRÉ

updatedb

2024-02-10 Thread Patrick Dupre via users
Hello, what replace? /usr/bin/updatedb Thanks === Patrick DUPRÉ | | email: pdu...@gmx.com

Re: Why is updatedb running now?

2023-04-27 Thread Barry Scott
> On 26 Apr 2023, at 20:51, Tom Horsley wrote: > > I copied /usr/lib/systemd/system/plocate-updatedb.timer to > /etc/systemd/system/plocate-updatedb.timer and changed > RandomizedDelaySec from 12h to 2h which is supposed to mean > it runs sometime between midnight and 2am. > > It did work

Why is updatedb running now?

2023-04-26 Thread Tom Horsley
I copied /usr/lib/systemd/system/plocate-updatedb.timer to /etc/systemd/system/plocate-updatedb.timer and changed RandomizedDelaySec from 12h to 2h which is supposed to mean it runs sometime between midnight and 2am. It did work that way of fedora 37, yet with the same changes in fedora 38 it is

Re: updatedb

2022-08-10 Thread Barry
> On 10 Aug 2022, at 06:29, Patrick O'Callaghan wrote: > > On Wed, 2022-08-10 at 13:57 +0930, Tim via users wrote: >>> On Tue, 2022-08-09 at 08:00 -0700, stan via users wrote: >>> RandomizedDelaySec=30m >> >> Just as an aside: I hate variable names like that. What does "sec" >> mean?

Re: updatedb

2022-08-09 Thread Patrick O'Callaghan
On Wed, 2022-08-10 at 13:57 +0930, Tim via users wrote: > On Tue, 2022-08-09 at 08:00 -0700, stan via users wrote: > > RandomizedDelaySec=30m > > Just as an aside:  I hate variable names like that.  What does "sec" > mean?  Seconds?  Security?  Something else? > > They didn't bother to

Re: updatedb

2022-08-09 Thread Tim via users
On Tue, 2022-08-09 at 08:00 -0700, stan via users wrote: > RandomizedDelaySec=30m Just as an aside: I hate variable names like that. What does "sec" mean? Seconds? Security? Something else? They didn't bother to abbreviate the other words, so you can tell what they mean without having to

Re: updatedb

2022-08-09 Thread Doug Herr
On Tue, Aug 9, 2022, at 12:44 PM, Tom Horsley wrote: > On Tue, 9 Aug 2022 15:09:27 -0400 > Charles Dennett wrote: > >> On my F36 system there is mlocate-updatedb rather than >> plocate-updatedb. > > Maybe you did an upgrade from f35 instead of a clean install? > plo

Re: updatedb

2022-08-09 Thread Tom Horsley
On Tue, 9 Aug 2022 15:09:27 -0400 Charles Dennett wrote: > On my F36 system there is mlocate-updatedb rather than > plocate-updatedb. Maybe you did an upgrade from f35 instead of a clean install? plocate is the new default in f36. ___ users m

Re: updatedb

2022-08-09 Thread Charles Dennett
On 8/9/22 09:56, Patrick Dupre wrote: Every thing seems OK -rw-r--r--. 1 root root 0 Aug 9 13:01 /var/lib/systemd/timers/stamp-plocate-upd atedb.timer systemctl list-unit-files | grep updatedb plocate-updatedb.service static

Re: updatedb

2022-08-09 Thread stan via users
On Tue, 9 Aug 2022 07:52:14 -0700 stan wrote: > On Tue, 9 Aug 2022 15:31:43 +0200 > Patrick Dupre wrote: > > > [Timer] > > OnCalendar=daily > > This means that it only runs once a day. You could change that to > something like (not checked) > OnCalendar=4h > and it should run every 4

Re: updatedb

2022-08-09 Thread stan via users
On Tue, 9 Aug 2022 15:31:43 +0200 Patrick Dupre wrote: > [Timer] > OnCalendar=daily This means that it only runs once a day. You could change that to something like (not checked) OnCalendar=4h and it should run every 4 hours. ___ users mailing list

Re: updatedb

2022-08-09 Thread Patrick Dupre
Every thing seems OK -rw-r--r--. 1 root root 0 Aug 9 13:01 /var/lib/systemd/timers/stamp-plocate-upd atedb.timer systemctl list-unit-files | grep updatedb plocate-updatedb.service static - plocate-updatedb.timer

Re: updatedb

2022-08-09 Thread Tom Horsley
b/systemd/timers/stamp-plocate-updatedb.timer So an ls -l on that should show when it last ran. systemctl list-unit-files | grep updatedb should show if the units are both enabled ___ users mailing list -- users@lists.fedoraproject.org To unsubscri

Re: updatedb

2022-08-09 Thread Patrick Dupre
=== > Sent: Tuesday, August 09, 2022 at 3:23 PM > From: "Tom Horsley" > To: users@lists.fedoraproject.org > Subject: Re: updatedb > > On Tue, 9 Aug 2022 15:13:23 +0200 > Patrick Dupre wrote: > > > updatedb is not run periodi

Re: updatedb

2022-08-09 Thread Tom Horsley
On Tue, 9 Aug 2022 15:13:23 +0200 Patrick Dupre wrote: > updatedb is not run periodically. > > What should I do to have it run? > cron ? On my system it was automagically set up to run via: /usr/lib/systemd/system/plocate-updatedb.timer (and was very annoying because it always ran

updatedb

2022-08-09 Thread Patrick Dupre
Hello, updatedb is not run periodically. What should I do to have it run? cron ? Thank === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9

Re: beat updatedb over the head?

2022-07-19 Thread stan via users
of disk io when I wanted to do other things. I changed the updatedb.timer file by adding OnBootSec=3h and changed the AccuracySec=1h instead of the 24 hours it had originally. That starts updatedb sometime between 2 and 4 hours after boot. I don't know the internals of systemd, but I assume tha

Re: beat updatedb over the head?

2022-07-19 Thread Tom Horsley
On Tue, 19 Jul 2022 08:48:12 -0400 Ben Cotton wrote: > (If you're fine with it running at midnight, you can use OnCalendar=daily) So maybe if I just changed the "RandomizedDelaySec=12h" in the existing unit to something like "RandomizedDelaySec=2h" it would run some time between midnight and

Re: beat updatedb over the head?

2022-07-19 Thread Ben Cotton
On Tue, Jul 19, 2022 at 8:05 AM Tom Horsley wrote: > > Anyone have an example of a systemd timer that runs at a specific > time of day (like 1AM) so I can avoid thinking too hard? :-). I have the following in a timer to run a prune of my backup at 6 AM Mondays: OnCalendar=Mon *-*-* 06:00:00 So

beat updatedb over the head?

2022-07-19 Thread Tom Horsley
The timer installed by plocate insists on running updatedb at maximally inconvenient times. I looked at the docs for systemd timers and my brain screamed at me: "I don't feel like thinking hard enough to get this right!" Anyone have an example of a systemd timer that runs at a spe

Re: updatedb/locate in F35

2021-12-10 Thread Eyal Lebedinsky
On 11/12/2021 08.13, Roger Wells wrote: In F34 the command locate *.xyz finds all expected files after updating from F34->F35 it seems to only report the ones located from $PWD on down. It is likely that the pattern has a match in $PWD so the 'locate' gets the full filename. Probably you

updatedb/locate in F35

2021-12-10 Thread Roger Wells
In F34 the command locate *.xyz finds all expected files after updating from F34->F35 it seems to only report the ones located from $PWD on down. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-19 Thread Patrick O'Callaghan
On Fri, 2021-08-20 at 02:59 +0930, Tim via users wrote: > On Wed, 2021-08-18 at 18:59 +0200, francis.montag...@inria.fr wrote: > > Commenting PRUNE_BIND_MOUNTS = "yes" in /etc/updatedb.conf solves > > this problem. > > So, does that mean it'll also scan through other areas it shouldn't? > > Or

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-19 Thread Tim via users
On Wed, 2021-08-18 at 18:59 +0200, francis.montag...@inria.fr wrote: > Commenting PRUNE_BIND_MOUNTS = "yes" in /etc/updatedb.conf solves > this problem. So, does that mean it'll also scan through other areas it shouldn't? Or are the other prunes enough to take care of them? (I just couldn't

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-19 Thread Patrick O'Callaghan
On Thu, 2021-08-19 at 12:40 +0200, Roberto Ragusa wrote: > On 8/19/21 12:05 AM, Patrick O'Callaghan wrote: > > > Looks like it. My /home is a BTRFS subvolume. Extraordinary that > > this > > hasn't been fixed, given that F34 uses BTRFS by default. > > Being forced to have all the bind mounts

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-19 Thread Roberto Ragusa
On 8/19/21 12:05 AM, Patrick O'Callaghan wrote: Looks like it. My /home is a BTRFS subvolume. Extraordinary that this hasn't been fixed, given that F34 uses BTRFS by default. Being forced to have all the bind mounts scanned because BTRFS subvolumes are similar to bind mounts is annoying. The

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-19 Thread Patrick O'Callaghan
On Wed, 2021-08-18 at 21:51 -0500, Dave Ulrick wrote: > On 8/18/21 2:16 PM, Jan-Henrik Sorsimo via users wrote: > > > I see the same behavior since using a btrfs subvol for / > > > > > > Commenting PRUNE_BIND_MOUNTS = "yes" in /etc/updatedb.conf solves > > > this > > > problem. > > Indeed, that

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-18 Thread Dave Ulrick
On 8/18/21 2:16 PM, Jan-Henrik Sorsimo via users wrote: I see the same behavior since using a btrfs subvol for / Commenting PRUNE_BIND_MOUNTS = "yes" in /etc/updatedb.conf solves this problem. Indeed, that was it for me at least. Looks like the issue has been written about:

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-18 Thread Patrick O'Callaghan
On Wed, 2021-08-18 at 18:59 +0200, francis.montag...@inria.fr wrote: > > Hi. > > On Wed, 18 Aug 2021 16:34:50 +0100 Patrick O'Callaghan wrote: > > > On Wed, 2021-08-18 at 15:25 +, Jan-Henrik Sorsimo via users > > wrote: > > > > I took a look at the service unit file > > >

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-18 Thread Jan-Henrik Sorsimo via users
> I see the same behavior since using a btrfs subvol for / > > Commenting PRUNE_BIND_MOUNTS = "yes" in /etc/updatedb.conf solves this > problem. Indeed, that was it for me at least. Looks like the issue has been written about: https://pagure.io/mlocate/issue/36

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-18 Thread Francis . Montagnac
Hi. On Wed, 18 Aug 2021 16:34:50 +0100 Patrick O'Callaghan wrote: > On Wed, 2021-08-18 at 15:25 +, Jan-Henrik Sorsimo via users wrote: >> I took a look at the service unit file >> (/usr/lib/systemd/system/mlocate-updatedb.service). It has some >> sandboxing features set. When I set the

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-18 Thread Patrick O'Callaghan
On Wed, 2021-08-18 at 15:25 +, Jan-Henrik Sorsimo via users wrote: > > I have several binaries matching /usr/bin/myth*. When mlocate- > > updatedb > > runs via a timer, the / file system is skipped so no files under > > /usr/bin are listed when I run "locate bin

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-18 Thread Jan-Henrik Sorsimo via users
> I have several binaries matching /usr/bin/myth*. When mlocate-updatedb > runs via a timer, the / file system is skipped so no files under > /usr/bin are listed when I run "locate bin/myth". I'm experiencing the same issue. I took a look at the service unit file (/usr

Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-02 Thread Dave Ulrick
:/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ ... minute hour * * * /usr/libexec/mlocate-run-updatedb I set hour to the current hour and minute to one minute in the future, then I waited for the time to occur, checked to see if /var/lib/mlocate/mlocate.db showed a new timestamp, and ran

Root file system skipped when mlocate (updatedb) is run via systemd timer

2021-08-02 Thread Dave Ulrick
I have several binaries matching /usr/bin/myth*. When mlocate-updatedb runs via a timer, the / file system is skipped so no files under /usr/bin are listed when I run "locate bin/myth". $ locate bin/myth /home/mythtv/bin/mythconverg-create /home/mythtv/bin/mythconverg-drop /home/

Re: updatedb

2017-10-30 Thread Ed Greshko
On 10/30/17 19:56, Eyal Lebedinsky wrote: > On 30/10/17 22:32, Patrick Dupre wrote: >> Hello, >> >> updatedb does not run periodically. >> Where should I initiate it (cron ?). > > I was wondering the same question earlier today when 'locate' failed to show > a

Re: updatedb

2017-10-30 Thread Patrick Dupre
> Subject: Re: updatedb > > On 30/10/17 22:32, Patrick Dupre wrote: > > Hello, > > > > updatedb does not run periodically. > > Where should I initiate it (cron ?). > > I was wondering the same question earlier today when 'locate' failed to show &

Re: updatedb

2017-10-30 Thread Ed Greshko
On 10/30/17 19:32, Patrick Dupre wrote: > updatedb does not run periodically. > Where should I initiate it (cron ?). systemctl enable mlocate-updatedb.timer systemctl start mlocate-updatedb.timer -- Fedora Users List - The place to go to speculate endlessly signature.asc Descr

Re: updatedb

2017-10-30 Thread Eyal Lebedinsky
On 30/10/17 22:32, Patrick Dupre wrote: Hello, updatedb does not run periodically. Where should I initiate it (cron ?). I was wondering the same question earlier today when 'locate' failed to show a file I knew exists. I noticed that there is a related service: $ sudo systemctl status

updatedb

2017-10-30 Thread Patrick Dupre
Hello, updatedb does not run periodically. Where should I initiate it (cron ?). Thank. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère

Re: mlocate updatedb not running from cron, mlocate.cron not installed

2015-12-23 Thread Doug H.
On Wed, 2015-12-23 at 10:48 -0500, Neal Becker wrote: > I noticed mlocate updatedb is not running.  I believe there should > be  > mlocate.cron installed into /etc/cron.daily > > repoquery reports no such file. > > How do I get fedora's version of mlocate package to run u

mlocate updatedb not running from cron, mlocate.cron not installed

2015-12-23 Thread Neal Becker
I noticed mlocate updatedb is not running. I believe there should be mlocate.cron installed into /etc/cron.daily repoquery reports no such file. How do I get fedora's version of mlocate package to run updatedb daily? Why isn't it installed this way? -- users mailing list users

Re: last updatedb

2015-06-01 Thread Stephen Berg (Contractor)
On 06/01/2015 08:56 AM, Kevin Wilson wrote: Hi, Is there a way to know when the last updatedb was performed on a system ? Regards, Kevin Maybe the timestamp on /var/lib/mlocate/mlocate.db? -- Stephen Berg Systems Administrator NRL Code: 7320 Office: 228-688-5738 stephen.berg

last updatedb

2015-06-01 Thread Kevin Wilson
Hi, Is there a way to know when the last updatedb was performed on a system ? Regards, Kevin -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org

Re: Why updatedb doesn't traverse my external HD?

2011-12-25 Thread T.C. Hollingsworth
/teraipo type ext4 (rw,nosuid,nodev,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered,uhelper=udisks) the external HD is mounted as ext4 on in /media/teraipo, but /media itself is mounted(???) as tmpfs, and consequently updatedb doesn't traverse it. Look for the start up stuff that makes

Re: Why updatedb doesn't traverse my external HD?

2011-12-25 Thread Rahul Sundaram
On 12/25/2011 01:51 AM, JB wrote: Anything mounted on /media has to be of actual type of that media. Btw, a CD mounted on /media, even if temporarily, represents a persistent storage device, and certainly NOT volatile memory (e.g. of type shm). I think systemd devs need to remove it -

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Marko Vojinovic
for the suggestion, somehow I overlooked this option in the man page. I did a updatedb --debug-pruning, here goes the relevant part of the output: quote Checking whether filesystem `/media' is excluded: `/', type `rootfs' = type matches, dir `/' `/proc', type `proc' = type matches, dir `/proc' `/sys

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread G.Wolfe Woodbury
looking at the output of the mount command on F16, it lists tmpfs on /media. This is different from F14 and Gentoo, where /media is a regular directory. Look for the start up stuff that makes the mount and disable it, then /media will just be a directory. However, the USB subsystem may not

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Marko Vojinovic
=ordered,uhelper=udisks) the external HD is mounted as ext4 on in /media/teraipo, but /media itself is mounted(???) as tmpfs, and consequently updatedb doesn't traverse it. Look for the start up stuff that makes the mount and disable it, then /media will just be a directory. However, the USB

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Reindl Harald
Am 24.12.2011 19:58, schrieb Marko Vojinovic: (1) What is the proper place to customize this configuration? I want /media to be ext4, so that it doesn't get excluded by updatedb. I know I could reconfigure the /lib/systemd/system/media.mount, but that would probably be overwritten

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread JB
Reindl Harald h.reindl at thelounge.net writes: Am 24.12.2011 19:58, schrieb Marko Vojinovic: (1) What is the proper place to customize this configuration? I want /media to be ext4, so that it doesn't get excluded by updatedb. I know I could reconfigure the /lib/systemd/system

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread T.C. Hollingsworth
On Sat, Dec 24, 2011 at 1:21 PM, JB jb.1234a...@gmail.com wrote: Anything mounted on /media has to be of actual type of that media. Btw, a CD mounted on /media, even if temporarily, represents a persistent storage device, and certainly NOT volatile memory (e.g. of type shm). I think systemd

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Rahul Sundaram
On 12/25/2011 12:28 AM, Marko Vojinovic wrote: (1) What is the proper place to customize this configuration? I want /media to be ext4, so that it doesn't get excluded by updatedb. I know I could reconfigure the /lib/systemd/system/media.mount, but that would probably be overwritten

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Joe Zeff
On 12/24/2011 12:39 PM, T.C. Hollingsworth wrote: /media is on tmpfs simply because it's faster to keep the mountpoints in memory than on disk. Thanx! That explains something I was wondering about. I'm trying to troubleshoot an issue with mounting flash drives on my desktop and found

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Rahul Sundaram
On 12/25/2011 02:27 AM, Joe Zeff wrote: On 12/24/2011 12:39 PM, T.C. Hollingsworth wrote: /media is on tmpfs simply because it's faster to keep the mountpoints in memory than on disk. Thanx! That explains something I was wondering about. I'm trying to troubleshoot an issue with mounting

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Joe Zeff
On 12/24/2011 12:59 PM, Rahul Sundaram wrote: /mnt is better for that purpose At the time, I was trying to mimic the default behavior as closely as possible. In the future, if I need to create persistent mount points, I'll use /mnt for exactly that reason. -- users mailing list

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Aaron Konstam
On Sat, 2011-12-24 at 13:39 -0700, T.C. Hollingsworth wrote: On Sat, Dec 24, 2011 at 1:21 PM, JB jb.1234a...@gmail.com wrote: Anything mounted on /media has to be of actual type of that media. Btw, a CD mounted on /media, even if temporarily, represents a persistent storage device, and

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Reindl Harald
Am 24.12.2011 21:21, schrieb JB: Reindl Harald h.reindl at thelounge.net writes: Am 24.12.2011 19:58, schrieb Marko Vojinovic: (1) What is the proper place to customize this configuration? I want /media to be ext4, so that it doesn't get excluded by updatedb. I know I could reconfigure

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread JB
the /media to not be tmpfs? Or is there any way to force updatedb to traverse the contents of /media regardless of pruning rules? I was wondering about this: updatedb.conf(5) ... PRUNE_BIND_MOUNTS One of the strings 0, no, 1 or yes. If PRUNE_BIND_MOUNTS is 1

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread T.C. Hollingsworth
On Sat, Dec 24, 2011 at 2:42 PM, Aaron Konstam akons...@sbcglobal.net wrote: People keep saying that /media is mounted on tmpfs, but what the mount tells me is that tmpfs is mounted on /media. Which sounds screwy to me. tmpfs is a filesystem type, like ext4. Because it's not associated with a

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread JB
T.C. Hollingsworth tchollingsworth at gmail.com writes: On Sat, Dec 24, 2011 at 1:21 PM, JB jb.1234abcd at gmail.com wrote: Anything mounted on /media has to be of actual type of that media. Btw, a CD mounted on /media, even if temporarily, represents a persistent storage device, and

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Reindl Harald
Am 24.12.2011 23:07, schrieb JB: T.C. Hollingsworth tchollingsworth at gmail.com writes: On Sat, Dec 24, 2011 at 1:21 PM, JB jb.1234abcd at gmail.com wrote: Anything mounted on /media has to be of actual type of that media. Btw, a CD mounted on /media, even if temporarily, represents a

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Reindl Harald
Am 24.12.2011 23:03, schrieb JB: I was wondering about this: updatedb.conf(5) ... PRUNE_BIND_MOUNTS One of the strings 0, no, 1 or yes. If PRUNE_BIND_MOUNTS is 1 or yes, bind mounts are not scanned by updatedb(8). All file systems

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread JB
Reindl Harald h.reindl at thelounge.net writes: ... On Sat, Dec 24, 2011 at 1:21 PM, JB jb.1234abcd at gmail.com wrote: Anything mounted on /media has to be of actual type of that media. Btw, a CD mounted on /media, even if temporarily, represents a persistent storage device, and

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Reindl Harald
Am 24.12.2011 23:31, schrieb JB: You are a clueless TROLL. if you definition of a troll is peopole knowing more like you - maybe Practice your Linux in your neck of the woods, but do not pretend to understand UNIX and its development. i started use unix-systems at times where you was

[SOLVED] Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Marko Vojinovic
On Saturday 24 December 2011 13:33:57 T.C. Hollingsworth wrote: On Sat, Dec 24, 2011 at 11:58 AM, Marko Vojinovic vvma...@gmail.com wrote: (1) What is the proper place to customize this configuration? I want /media to be ext4, so that it doesn't get excluded by updatedb. I know I could

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Marko Vojinovic
On Saturday 24 December 2011 20:07:20 Reindl Harald wrote: Am 24.12.2011 19:58, schrieb Marko Vojinovic: (1) What is the proper place to customize this configuration? I want /media to be ext4, so that it doesn't get excluded by updatedb. I know I could reconfigure the /lib/systemd/system

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Marko Vojinovic
On Sunday 25 December 2011 02:14:01 Rahul Sundaram wrote: On 12/25/2011 12:28 AM, Marko Vojinovic wrote: (1) What is the proper place to customize this configuration? https://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add _a_custom_unit_file.3F Thanks for the link,

Re: Why updatedb doesn't traverse my external HD?

2011-12-24 Thread Reindl Harald
is precisely the place where this drive should be mounted. and that is why it is not traversed by updatedb because it makes no sense to updatedb temporary mounts like usb-disks, network-mounts and such things since locate-hits are normally useless for them and updatedb runs forever on slow temporary

Why updatedb doesn't traverse my external HD?

2011-12-23 Thread Marko Vojinovic
Please someone explain me the following --- [root@Yoda ~]# updatedb [root@Yoda ~]# locate teraipo /dev/disk/by-label/teraipo [root@Yoda ~]# ll /media/ total 4 drwxr-xr-x. 17 vmarko vmarko 4096 Nov 15 00:49 teraipo In addition, nothing under /media/teraipo/ can be located using locate

Re: Why updatedb doesn't traverse my external HD?

2011-12-23 Thread G.Wolfe Woodbury
On 12/23/2011 10:33 AM, Marko Vojinovic wrote: [root@Yoda ~]# cat /etc/updatedb.conf PRUNE_BIND_MOUNTS = no PRUNEFS = 9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset debugfs devpts ecryptfs exofs fuse fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2

Re: Why updatedb doesn't traverse my external HD?

2011-12-23 Thread Marko Vojinovic
On Friday 23 December 2011 10:36:47 G.Wolfe Woodbury wrote: On 12/23/2011 10:33 AM, Marko Vojinovic wrote: [root@Yoda ~]# cat /etc/updatedb.conf PRUNE_BIND_MOUNTS = no PRUNEFS = 9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset debugfs devpts ecryptfs exofs