Re: [cifs-discuss] "previous versions" internals

2010-05-06 Thread Edward Ned Harvey
> From: Alan Wright [mailto:alan.wri...@oracle.com] > > ... Thank you. FWIW, I'm aware of the difference in behavior if finding snapshots based on inode versus assuming unchanged pathname/filename. The path/filename is much more easily implemented, due to the general lack of ability to reverse

Re: [cifs-discuss] "previous versions" internals

2010-05-06 Thread Alan Wright
Edward Ned Harvey wrote: From: Afshin Salek [mailto:afshin.sa...@oracle.com] Here are some pointers: usr/src/uts/common/fs/smbsrv/smb_vss.c (smb kernel module) usr/src/cmd/smbsrv/smbd/smbd_vss.c (smbd daemon) Is it really difficult just to say "It's based on path and filename" or "It's based

Re: [cifs-discuss] "previous versions" internals

2010-05-05 Thread Edward Ned Harvey
> From: Afshin Salek [mailto:afshin.sa...@oracle.com] > > Here are some pointers: > > usr/src/uts/common/fs/smbsrv/smb_vss.c (smb kernel module) > usr/src/cmd/smbsrv/smbd/smbd_vss.c (smbd daemon) Is it really difficult just to say "It's based on path and filename" or "It's based on inodes" or "

Re: [cifs-discuss] "previous versions" internals

2010-05-05 Thread Afshin Salek
Here are some pointers: usr/src/uts/common/fs/smbsrv/smb_vss.c (smb kernel module) usr/src/cmd/smbsrv/smbd/smbd_vss.c (smbd daemon) Afshin On 05/ 5/10 01:17 PM, Edward Ned Harvey wrote: From: Afshin Salek [mailto:afshin.sa...@oracle.com] Solaris is open source, you can always take a look at t

Re: [cifs-discuss] "previous versions" internals

2010-05-05 Thread Peter Tribble
On Wed, May 5, 2010 at 8:57 PM, Afshin Salek wrote: > Solaris is open source, you can always take a look at the > code to see what it does ;-) Easy to say, but I suspect that trawling through what, 20 million lines of unfamiliar code, or is it more now, is likely to prove frustrating to most. Ha

Re: [cifs-discuss] "previous versions" internals

2010-05-05 Thread Edward Ned Harvey
> From: Afshin Salek [mailto:afshin.sa...@oracle.com] > > Solaris is open source, you can always take a look at the > code to see what it does ;-) That's not helpful. ;-) I've been trying to do that, but I'm overwhelmed by the massive code, and total unfamiliarity with all the thousands of sour

Re: [cifs-discuss] "previous versions" internals

2010-05-05 Thread Afshin Salek
Solaris is open source, you can always take a look at the code to see what it does ;-) Afshin On 05/ 5/10 10:17 AM, Edward Ned Harvey wrote: From: Alan Wright [mailto:alan.wri...@oracle.com] Sent: Tuesday, May 04, 2010 6:28 PM Is this a curiosity question or are you trying to implement support

Re: [cifs-discuss] "previous versions" internals

2010-05-05 Thread Edward Ned Harvey
> From: Alan Wright [mailto:alan.wri...@oracle.com] > Sent: Tuesday, May 04, 2010 6:28 PM > > Is this a curiosity question or are you trying to implement > support for Previous Versions? > > Have you looked at the spec and/or what Windows clients do > when you view Previous Versions? I don't kno

Re: [cifs-discuss] "previous versions" internals

2010-05-04 Thread Alan Wright
Is this a curiosity question or are you trying to implement support for Previous Versions? Have you looked at the spec and/or what Windows clients do when you view Previous Versions? Alan On 05/ 4/10 06:02 AM, Edward Ned Harvey wrote: This may be a simple question, or it may be hugely complex.