bug in ufs?
Dmitry Morozovsky
marck at rinet.ru
Mon Jul 6 20:20:58 UTC 2009
On Mon, 6 Jul 2009, Kostik Belousov wrote:
KB> > KB> My guess that it is due to fragmentation.
KB> > KB> As an experiment, try to create 1-byte file. Does it work on the filesystem
KB> > KB> in described state ?
KB> >
KB> > Doesn't UFS store one-byte (or several-bytes, like PID file) file entirely in
KB> > the inode, not consuming any data blocks?
KB>
KB> No, 1-byte file is stored in fragment. Long write tries to allocate whole
KB> block. This is why I wrote about fragmentation.
KB>
KB> Answering your question, it is short symlinks that are stored in inode
KB> in the data block pointers.
Ah yes, I somehow mixed these two cases, thank you for clarification.
--
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------
More information about the freebsd-stable
mailing list