All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Does XFS support sharing blocks?
@ 2008-06-12 17:07 Bogdan
  2008-06-12 20:16 ` Eric Sandeen
  0 siblings, 1 reply; 2+ messages in thread
From: Bogdan @ 2008-06-12 17:07 UTC (permalink / raw
  To: xfs

  Hello.

  I have a question: does the XFS filesystem support sharing blocks 
between objects (files, symlinks, fifos, ...). I mean, can 2 distinct 
objects have their data inside one physical block? If not, what is the 
"offset" field for in xfs_db output:

xfs_db> inode 19331
xfs_db> bmap -d
data offset 0 startblock 1212 (0/1212) count 1 flag 0

-- 
Pozdrawiam/Regards - Bogdan                     (GNU/Linux & FreeDOS)
Kurs asemblera x86 (DOS, GNU/Linux):http://rudy.mif.pg.gda.pl/~bogdro
Grupy dyskusyjne o asm:  pl.comp.lang.asm alt.pl.asm alt.pl.asm.win32
www.JabberPL.org www.TorProject.org Soft (EN): miniurl.pl/bogdro-soft

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Does XFS support sharing blocks?
  2008-06-12 17:07 Does XFS support sharing blocks? Bogdan
@ 2008-06-12 20:16 ` Eric Sandeen
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Sandeen @ 2008-06-12 20:16 UTC (permalink / raw
  To: Bogdan; +Cc: xfs

Bogdan wrote:
>   Hello.
> 
>   I have a question: does the XFS filesystem support sharing blocks 
> between objects (files, symlinks, fifos, ...). I mean, can 2 distinct 
> objects have their data inside one physical block? If not, what is the 
> "offset" field for in xfs_db output:
> 
> xfs_db> inode 19331
> xfs_db> bmap -d
> data offset 0 startblock 1212 (0/1212) count 1 flag 0

it's simply the block number in the file.

You have a 1 block file, it's first (and only) block is at physical
block 1212 (block 1212 in AG 0)

-Eric

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-12 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12 17:07 Does XFS support sharing blocks? Bogdan
2008-06-12 20:16 ` Eric Sandeen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.