Downloads directory with "I" attribute (lsattr)

If none of the more specific forums is the right place to ask

Downloads directory with "I" attribute (lsattr)

Postby swirler » 2017-02-28 11:44

I was digging around trying to figure out why some application was misbehaving and accidentally found that my Downloads directory in Jessie has this "I" attribute according to the lsattr command

Code: Select all
----------I--e-- /home/debian/Downloads


which, accordingly to the lstattr manpage, means that this directory
is being indexed using hashed trees
by the htree function of the ext4 filesystem - if I got this right.

My question being, is that normal (to have this one directory indexed) on a regular installation of a Debian Jessie desktop system ?
swirler
 
Posts: 166
Joined: 2013-11-24 11:19

Re: Downloads directory with "I" attribute (lsattr)

Postby phenest » 2017-02-28 20:19

I wasn't aware of this indexing. I checked my $HOME directory and found both ./videos and ./downloads directories have this attribute.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Downloads directory with "I" attribute (lsattr)

Postby swirler » 2017-03-14 07:50

I've checked on other systems and I've found other directories indexed like that too, different ones on different systems : I'd imagine the system decides which directories need to be indexed based on their contents?

Also, in this case my Downloads directory is listed like that
Code: Select all
----------I--e-- /home/debian/Downloads
but, actually, it's just one subdirectory containing many zip files that is indexed - not the whole Downloads directory.
swirler
 
Posts: 166
Joined: 2013-11-24 11:19


Return to General Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable