Messages in this thread | | | Date | Fri, 24 Oct 2003 22:44:44 +0100 | From | Adam Sampson <> | Subject | Odd st_blocks values from smbfs in 2.6.0-test8 |
| |
Hiya.
I've just installed 2.6.0-test8 -- it works beautifully, but I did notice this odd bit of behaviour from smbfs that I haven't previously seen. It appears that it's producing an odd value for the st_blocks stat value:
$ smbmount //server/share mnt $ cd mnt $ echo hello >hello $ ls -l hello -rwxr--r-- 1 nobody nogroup 6 Oct 24 22:38 hello $ stat hello File: `hello' Size: 6 Blocks: 1048576 IO Block: 4096 regular file Device: fh/15d Inode: 1641 Links: 1 Access: (0744/-rwxr--r--) Uid: ( 9999/ nobody) Gid: ( 9999/ nogroup) Access: 2003-10-24 22:38:58.000000000 +0100 Modify: 2003-10-24 22:38:58.000000000 +0100 Change: 2003-10-24 22:38:58.000000000 +0100
$ du -a hello 524288 hello $ du -ah hello 512M hello
The server here's Samba 3.0.1pre1, but it does the same with Samba 2 as well.
Thanks,
-- Adam Sampson <azz@us-lot.org> <http://offog.org/> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |