Re: Extended attributes lastCrawlAttr
- From: Julian Satchell <j satchell eris qinetiq com>
- To: dashboard-hackers gnome org
- Subject: Re: Extended attributes lastCrawlAttr
- Date: Tue, 02 Nov 2004 14:11:58 +0000
In my opinion, the use of Extended Attributes is a bad design choice.
Not all file systems support extended attributes. More importantly, it
means that you cannot index read-only devices, filesystems or
directories.
The correct design, in my opinion, is to hold the data that is currently
written to the EAs inside Beagle's indices. This not only allows for
read-only data sources, it also provides some of the infrastructure for
time based queries (what files was I working with at this date?).
Julian
On Tue, 2004-11-02 at 06:39 -0600, Kyle Maxwell wrote:
> On Tue, 02 Nov 2004 13:27:24 +0100, Raphaël Slinckx <raf raf wol be> wrote:
> > When trying to set the extended attribute on my folder (don't know what
> > it is exactly ?) it fails ! Here is the trace (happens only one time
> > when scanning for the first directory in my case, the home directory):
>
> You need to enable extended attributes on the mount point. For
> example, if you mount /home as its own partition, then in /etc/fstab,
> add user_xattr to the options for that entry. Mine looks like this:
>
> /dev/hdb1 /home ext3
> defaults,user_xattr 1 2
>
> The key is the user_xattr in the fourth field. The other entries might
> vary slightly for you, but you get the idea. If you don't have a
> separate /home partition, you'll probably need to add it to the /
> partition. I think you can just remount with the option specified
> without having to reboot (see man mount(8)); the change to /etc/fstab
> will be effective the next time the system is restarted.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]