Hello, I''m taking a look at the B-tree level of btrfs. I have a dir item which is a symlink and I''m wondering where I can get the symlink''s target from. I hope anyone can tell me? Is there a bloody technical documentation of btrfs somewhere out there that can answer me questions like this? Thanks! Joachim -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Nov 01, 2011 at 02:29:50PM +0000, email@joachim-neu.de wrote:> I''m taking a look at the B-tree level of btrfs. I have a dir item which > is a symlink and I''m wondering where I can get the symlink''s target > from.The symlink target is stored as inline data, inside the leaf, see btrfs_symlink how it''s constructed.> I hope anyone can tell me? Is there a bloody technical documentation of > btrfs somewhere out there that can answer me questions like this?Nope, I wish there were. Some bits were at the wiki. david -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Nov 01, 2011 at 02:29:50PM +0000, email@joachim-neu.de wrote:> > Hello, > > I''m taking a look at the B-tree level of btrfs. I have a dir item > which is a symlink and I''m wondering where I can get the symlink''s > target from.I''m not 100% certain about the btrfs implementation from memory, but doesn''t a symlink simply have file contents that give the link''s target? For something as small as a symlink, this will probably be an inline extent.> I hope anyone can tell me? Is there a bloody technical documentation > of btrfs somewhere out there that can answer me questions like this?It''s all documented in some detail on the wiki[1], which is currently down after the kernel.org hack. We''re expecting it to be back by the end of this week. (And if it''s not, we''re told we''ll get a dump of the database, so we can have it back up somewhere else shortly after that). Hugo. [1] http://btrfs.wiki.kernel.org/ -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk == PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Is it true that "last known good" on Windows XP --- boots into CP/M?