Skip to contentSkip to conversation

Does XFS support sharing blocks?

DISCUSSION Bogdan 2 participants 2 messages Jun 12, 2008

lore
Share & tools
lore

Bogdan

author
#0 lore raw

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

Signature · 4 lines
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
#1 lore raw
Quoted 10 lines · Bogdan

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