Difference between bsize and frsize in statvfs?

From: Subotai (subotai_at_aol.com)
Date: 02/10/05

  • Next message: Ian Zimmerman: "Re: Version Control for conf/rc/... files"
    Date: Thu, 10 Feb 2005 00:28:04 -0700
    
    

    Does anyone know what the difference between the bsize and frsize values in
    the statvfs() call are? From various man pages on different flavors of Unix,
    all I can gather is that frsize is the "fundamental filesystem block size"
    and bsize is "preferred file system block size" Does anyone actually know
    what this means?

    I would assume that frsize would return the actual block size used by the
    system. But I have found a cases where it doesn't and bsize does. I am not
    sure if bsize always will contain the block size used by the system or not.

    Does anyone know which value will absolutely hold the block size used by the
    system?

    Thanks


  • Next message: Ian Zimmerman: "Re: Version Control for conf/rc/... files"

    Relevant Pages

    • Difference between bsize and frsize in statvfs?
      ... From various man pages on different flavors of Unix, ... all I can gather is that frsize is the "fundamental filesystem block size" ... and bsize is "preferred file system block size" Does anyone actually know ...
      (comp.unix.solaris)
    • Difference between bsize and frsize in statvfs?
      ... From various man pages on different flavors of Unix, ... all I can gather is that frsize is the "fundamental filesystem block size" ... and bsize is "preferred file system block size" Does anyone actually know ...
      (comp.unix.programmer)
    • Re: Difference between bsize and frsize in statvfs?
      ... Although if you're actually talking about "shrinking" a file I'm ... from bsize to frsize. ... > calls so that the I/O size is a multiple of bsize and the offset ...
      (comp.unix.solaris)
    • Re: Difference between bsize and frsize in statvfs?
      ... > multiples of bsize bytes. ... This is what frsize is. ... user of a filesystem in struct statvfs, then they are of some use ...
      (comp.unix.solaris)
    • Re: Difference between bsize and frsize in statvfs?
      ... > Does anyone know what the difference between the bsize and frsize ... all I can gather is that frsize is the "fundamental ... The UFS filesystem may split a "filesystem block" in ... smaller "fragments" of frsize bytes, if a file cannot fit exactly in ...
      (comp.unix.solaris)