Displaying 5 results from an estimated 5 matches for "smb_proc_close_inode".
2002 Dec 16
1
Create time changing by itself?
Are there some known problems related to ctime changing by itself? I
didn't find anything with google at least. tar seems to be complaining
about it all the time:
[cras@hurina] ~% tar cf test.tar /mnt/cygwin/home
tar: Removing leading `/' from member names
tar: /mnt/cygwin/home/Timo Sirainen/xxx/xxxxx.xxx: file changed as we read it
This happens with my Debian/unstable (samba
2002 Aug 19
1
Caching along linux->win smbmount?
Hi all -
If this is in the wrong group kindly direct me where to post.
I have an odd problem using rsync across an smbmount (via fstab) of
a WinNT drive to Linux Redhat 7.1. I have samba 2.0.10-2 (though smbd is
not running) and rsync 2.4.6-2.
I use the Linux machine to rsync folders on the WinNT machine to
folders on our production webservers. This allows clients to update
2002 Oct 28
3
SMBFS files receiving incorrect timestamps
Hello all.
Our system consists of two linux machines, each running Red Hat 7.1
(kernel 2.4.9-34), using SMB to mount multiple shares hosted by a
Windows 2000 Advance Server. smbclient from Samba 2.2.5 is used to do
the actual mounting.
Over the weekend, a number of files on these SMBFS shares were created
with incorrect timestamps (modification times). In some cases, the
timestamps were off by
2002 Dec 21
0
Re: samba digest, Vol 1 #2006 - 24 msgs (Out of the office - Returning Monday, Jan. 6th)
...0) 725-3273 fax 723-0033
--__--__--
Message: 18
To: samba@lists.samba.org
From: "Jacob Anawalt" <anawaltaj@hotmail.com>
Date: Fri, 20 Dec 2002 18:14:14 -0700
Subject: [Samba] Re: Create time changing by itself?
>Find fs/smbfs/proc.c in your kernel source tree.
>Search for smb_proc_close_inode().
>See if changing any of the operations it does there helps.
> - remove the code after the "Kludge alert"
I did this, and still tar thinks the file was modified. Now I'm seeing
the
ctime drift like Timo noticed when I stat. The first stat showed one
ctime
and then the next...
2003 Dec 01
0
No subject
...hen closing a file you need to make it set the
attributes if SMB_F_LOCALWRITE is set.
The patch below is a starting point. It may work, but it probably doesn't.
The diff is vs a 2.4.7-pre6 kernel but it should be possible to make the
same changes to whatever kernel you use.
The changes are to smb_proc_close_inode.
/Urban
--- linux-2.4.7-pre6-orig/fs/smbfs/proc.c Wed Jul 4 17:09:28 2001
+++ linux/fs/smbfs/proc.c Fri Jul 13 13:15:37 2001
@@ -1111,6 +1111,12 @@
struct smb_fattr fattr;
smb_get_inode_attr(ino, &fattr);
smb_proc_setattr_ext(server, ino, &fattr);
+
+ /* set the archive bi...