From: Anatol P. <ana...@gm...> - 2013-04-19 15:27:17
|
Hi On Fri, Apr 19, 2013 at 6:27 AM, Bharath Narayan <bha...@gm...> wrote: > Hi, > > I was aware of the settings in Nautilus. I have tried turning that off, but > I still get a call in read(), I am guessing that Nautilus even though the > thumbnails are turned off, tries to fetch the thumbnail and cache it > expecting to display those immediately when the setting is changed to > display thumbnails. The point is that I am looking for a solution that would > work across file browsers, I would like to be able to have a fuse based file > system that doesn't support thumbnails. It need not be a fuse option, > perhaps something sent to mount. I doubt that thumbnail management is part of any standard. Some file browsers might use files that look like *.thumbnail some other would use extended attributes to store thumbnails. You can find what exactly Nautilus does by enabling debug for your filesystem ("-d") and checking what requests come from it. Then you can add a special case to your filesystem to return an error when Nautilus tries to create/open a thumbnail file. > Bharath Narayan M G > > > On Fri, Apr 19, 2013 at 6:39 PM, Anatol Pomozov <ana...@gm...> > wrote: >> >> Hi >> >> On Thu, Apr 18, 2013 at 9:51 PM, Bharath Narayan <bha...@gm...> >> wrote: >> > Hello, >> > >> > I have a file system that has strict requirements on performance. >> > Reading >> > of files for creating thumbnails is not an option and that affects the >> > performance of our application that uses fuse. I have debugged the code >> > and >> > when I open the file browser (Nautilus), I get a read() request for all >> > the >> > files that are available. When I try to view/copy a file from my file >> > system to another, I get the same read() request to retrieve the data. >> >> It is not a fuse issue, it is the Nautilus one. Here is similar >> question >> https://lists.ubuntu.com/archives/ubuntu-users/2011-January/238685.html >> >> >> >> > Another reason why showing thumbnails is not an option for me is that my >> > file system is basically a collection of file systems built on the >> > meta-data read from the storage. At any given point of time, meta-data >> > is >> > made available to the user and only when the user tries to access the >> > data >> > of a particular file, that I communicate with the actual storage to >> > retrieve the data. >> > >> > Is there anyway via fuse I can disable calls to create thumbnails? I >> > tried >> > un-checking the option in Nautilus but I still get a call (I am guessing >> > Nautilus does that to cache thumbnails for each file and display them >> > quickly if and when the user enables the option). >> > >> > Thanks, >> > -- >> > *ಭರತ್ ನಾರಾಯಣ್ ಮೈ ಗೋ* >> > Bharath Narayan M G >> > >> > ------------------------------------------------------------------------------ >> > Precog is a next-generation analytics platform capable of advanced >> > analytics on semi-structured data. The platform includes APIs for >> > building >> > apps and a phenomenal toolset for data science. Developers can use >> > our toolset for easy data analysis & visualization. Get a free account! >> > http://www2.precog.com/precogplatform/slashdotnewsletter >> > _______________________________________________ >> > fuse-devel mailing list >> > fus...@li... >> > https://lists.sourceforge.net/lists/listinfo/fuse-devel > > |