replacing file contents in a vfs module

Jakub Szarlat jakubjs at wehi.EDU.AU
Sun Apr 19 20:36:47 MDT 2015


I'm writing a vfs module to handle the blocking of file access ot our offline files (we use Quantum Stornext as our file system). Everything is working fine except that unlike windows the Mac has no appreciation of offlien files and does not display an icon overlay to visualize the files status. (Blocking does work)

So the idea I had is to present a different ._ corresponding file which would contain a custom icon when a file is offline. I attempted this by changing the smb_fname->base_name in my vfs open_fn function. However this causes an inode does not match error. How can I redirect which file is open without modifying the original?


The information in this email is confidential and intended solely for the addressee.
You must not disclose, forward, print or use it without the permission of the sender.

More information about the samba-technical mailing list