[Samba] Problems with offline files and Explorer 'hangs'
don_mccall at hp.com
Wed Mar 20 06:43:54 GMT 2002
I think this whole 'offline' file attribute thing is being misread (maybe by
me...). But I THINK what this is really doing is when you are connected to
a network share, you have the ability to mark files or folders to be
"available offline". And what this REALLY does is make local copies of the
files/folders, so that if you break your network connection, they are still
available locally, and then get synced up later when the network connection
is restored. So the idea of using this for minimizing scan times, etc,
really isn't pertinent; you're not trying to read icon data (or any other
data) off the SERVER version of the file because you are actually accessing
the LOCAL copy of the file...
You can do this on a directory or file on a samba server as well - really
isn't a 'server-side' implementation. Just use a win2k client, bring up
your samba share, and right click on a directory in it, and choose "make
available offline". It will 'syncronize' the directory (for which read
copy every damn file in the directory onto your local hard disk), and now
the icon for the folder will change to have a little double vertical arrow
icon superimopsed over it (indicating an offline capable directory)....
Hope this helps,
From: jra at samba.org [mailto:jra at samba.org]
Sent: Tuesday, March 19, 2002 3:44 PM
To: David.Collier-Brown at Sun.COM
Cc: Damir Dezeljin; samba at lists.samba.org;
samba-technical at lists.samba.org
Subject: Re: [Samba] Problems with offline files and Explorer 'hangs'
On Tue, Mar 19, 2002 at 02:56:29PM -0500, David Collier-Brown wrote:
> Damir Dezeljin wrote:
> > - Starting with NTFS 5, M$ support an "offline" file attribute. If the
> > server is located on Win2k or greater, clients "detect" this attribute
> > don't try to read an icon data from the file (don't trigger a read
> > Is there a way to mark a file on samba share with this attribute? If
> > where I have to hack sources (I'm not familiar with samba sources)?
> Hmmn, this could also be set to mimimize the
> time taken to scan large directories. reading
> files to see which pretty icon to use.
What POSIX call do we use to detect an offline file ?
More information about the samba-technical