LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2012, 02:26 AM   #1
zanier
LQ Newbie
 
Registered: Nov 2011
Distribution: ubuntu/debian
Posts: 29

Rep: Reputation: Disabled
BTRFS system file


hi. i have some question about the processes that happen in BTRFS systemfile.

1-how inode allocation happen in BTRFS? i want to know what parts are corporating with it exactly. for example super block? or acl or......
 
Old 07-11-2012, 02:58 AM   #2
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

Rep: Reputation: 79
Hi Zanier,

I didn't get your question exactly but here are some clues.
Don't use "df" command with btrfs (it will lie to you) but use "btrft filesystem df" command insted, but it will not give you the inode.

From WikiPedia:
Quote:
User-visible files and directories all live in a file system tree. File and directory objects all have inode items. Extended attributes and ACL entries are stored alongside in separate items.
From https://btrfs.wiki.kernel.org/index...._design#Inodes:
Quote:
Inodes are stored in struct btrfs_inode_item at offset zero in the key, and have a type value of one. Inode items are always the lowest valued key for a given object, and they store the traditional stat data for files and directories. The inode structure is relatively small, and will not contain embedded file data or extended attribute data. These things are stored in other item types.
From https://btrfs.wiki.kernel.org/index.php/Changelog (V3.2 bug fix):
Quote:
ioctl for resolving logical->inode and inode->path
Additional resource (very interesting presentation) https://www.youtube.com/watch?v=hxWuaozpe2I

I hope that will help,
Angel.

Last edited by angel115; 07-11-2012 at 03:16 AM.
 
Old 07-24-2012, 09:21 AM   #3
Mercury305
Member
 
Registered: Jul 2012
Location: Rockville, MD
Distribution: CrunchBang / Ubuntu
Posts: 540

Rep: Reputation: Disabled
Has anyone tried Btrfs to compare to ext4... is it usable yet?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BTRFS file system zanier Linux - Kernel 3 05-27-2012 04:54 PM
LXer: Btrfs File-System For Old Computers? LXer Syndicated Linux News 1 10-03-2011 11:45 AM
LXer: Btrfs May Be The Default File-System For Fedora 16 LXer Syndicated Linux News 0 02-28-2011 07:30 PM
LXer: Ubuntu 10.10's New File System: btrfs, A Closer Look LXer Syndicated Linux News 0 08-04-2010 05:10 AM
LXer: The Btrfs file system LXer Syndicated Linux News 0 07-17-2009 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration