Thank you guys. I removed
Code:
<bookmark href="file:///mnt/1TB/Temp/Adila/info.txt" ...
from /home/gigi/.local/share/recently-used.xbel and for the moment gedit seems to no longer interrupt the HDD sleeping. Anyway in order for this to be considered the solution (the removal of any bookmarks pointing to sleeping HDD) I'll have to wait this night to pass - so the computer to rest untouched few hours - and after it to test again with strace and gedit.
Considering
OpenDocumentSelector: fix fetching of recents (see previous @norobro post) I guess gedit reads the last access time for all the recent opened files (listed in recently-used.xbel) which is
hitting all HDDs on which they are stored. The gedit fix doesn't seems to me to solve my particular problem - what do you think?
@rknichols
Maybe
Code:
open("/var/lib/dbus/machine-id", O_RDONLY) = 14