mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adam Sampson <azz@us-lot.org>
To: urban@teststation.com
Cc: linux-kernel@vger.kernel.org
Subject: Odd st_blocks values from smbfs in 2.6.0-test8
Date: Fri, 24 Oct 2003 22:44:44 +0100	[thread overview]
Message-ID: <20031024214444.GA23948@cartman.at.fivegeeks.net> (raw)

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

                 reply	other threads:[~2003-10-24 22:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031024214444.GA23948@cartman.at.fivegeeks.net \
    --to=azz@us-lot.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=urban@teststation.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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