mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Odd st_blocks values from smbfs in 2.6.0-test8
@ 2003-10-24 21:44 Adam Sampson
  0 siblings, 0 replies; only message in thread
From: Adam Sampson @ 2003-10-24 21:44 UTC (permalink / raw)
  To: urban; +Cc: linux-kernel

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/>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-24 22:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-24 21:44 Odd st_blocks values from smbfs in 2.6.0-test8 Adam Sampson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome