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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/media.mount, but that would probably be 
> > overwritten on update or something. How are these things meant to be 
> > customized?
> 
> /media is for temporary mounts and this design is OK
> mount your drive somewhere else

I think you confuse "temporary mounts" term  with tmpfs.

http://en.wikipedia.org/wiki/Tmpfs
...
It is intended to appear as a mounted file system, but stored in volatile memory
instead of a persistent storage device.
...
On reboot, everything in tmpfs will be lost.
...

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 - it is a pure nonsense.

> 
> > (2) Why is /media being mounted like this? If I reconfigure it back to
> > ext4, is 
> > anything else going to break?
> 
> 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 mounts with a hughe amount of files
> 
> 
> 

The place to prune /media is as under F14, that is by path and NOT by fs:
# cat /etc/updatedb.conf-orig 
...
PRUNEPATHS = "/afs /media /net /sfs /tmp /udev /var/cache/ccache /var/spool/cups
/var/spool/squid /var/tmp"
#

JB


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux