Score:0

Cache basic files properties of a disk?

in flag

I have a large BTRFS disk on my Linux Samba server. The content of the disk is rarely accessed, so most of the time the disk is sleeping. When I need to check if to see basic properties, not the file content, like file name/date/size using Windows File Explorer, there is a significant delay before the directory opens because the disk begins to spin up.

But if all I need are directory structure, file name/date/size, the size of those data is relatively small, so can't it be cached and shown to the SMB client without waking up the disk? I wonder if there is a way to cache those data for sleeping disks.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.