Skip to contentSkip to conversation

testing/questions about latest Reiser4

DISCUSSION Grant Miner 4 participants 5 messages Apr 5, 2004 – Apr 13, 2004

lore
Share & tools
lore
#0 lore raw

Does Reiser4 store stat data in real files, or some special way? Are pseudo files just representation of stat data stored a special way? Is it possible to do streams/forks with a plugin easily?

I mounted latest Reiser4 snapshot + linux 2.6.4 with acl and xattr options but when I tried "getfattr" I received "operation not supported"?

I'm using Reiser4 as root fs for some days now, and it is great! Only problem is whenever I run 'make' it always recompiles everything; perhaps this has to do with time stamps? Oh and fibration is cool :) How do I switch to the other fibration plugins for a directory?

#1 lore raw

Hello

Quoted 1 line · Grant Miner

Does Reiser4 store stat data in real files, or some special way?

files are built of items. Every file has item of stat data type. So, reiser4 stores stat data as an item.

Quoted 2 lines

Are
pseudo files just representation of stat data stored a special way?

Pseudo files are not stored anywhere

Quoted 6 lines

Is
it possible to do streams/forks with a plugin easily?

I mounted latest Reiser4 snapshot + linux 2.6.4 with acl and xattr options but when I tried "getfattr" I received "operation not supported"?

reiser4 does not support xattrs. You may try to #define XATTR (1) in fs/reiser4/reiser4.h and try to mount with -o xattr. This code was disabled sometime ago. So, it is not guarantted to work.

Quoted 2 lines

I'm using Reiser4 as root fs for some days now, and it is great! Only problem is whenever I run 'make' it always recompiles everything;

I just tried to compile reiserfsprogs, and it worked as expected. Can you, please, say more how to reproduce this problem?

Quoted 4 lines

perhaps this has to do with time stamps? Oh and fibration is cool :) How do I switch to the other fibration plugins for a directory?

echo -n 'ext-3\0' > ./metas/plugin/fibration

#2 lore raw
Quoted 4 lines · Vladimir Saveliev
Quoted 2 lines

Are
pseudo files just representation of stat data stored a special way?

Pseudo files are not stored anywhere

Subtle distinction here - the data in a pseudo file has to be stored *somewhere* if you want it to persist across reboots, and even for things that don't survive a reboot, the data has to be saved *someplace* in memory, even if it's only in a variable or a dentry structure or something like that....

So more accurate might be to say "The content of pseudo files is created on the fly from metadata that is managed (and possibly saved) by the file system".

(Sorry to be pedantic, but it's a point that will cause a lot of confusion if you don't really understand it)...

#3 lore raw

Hello

Quoted 7 lines · On Tue, 2004-04-06 at 03:00, [email protected] wrote:
Quoted 4 lines · Vladimir Saveliev
Quoted 2 lines

Are
pseudo files just representation of stat data stored a special way?

Pseudo files are not stored anywhere

Quoted 8 lines

Subtle distinction here - the data in a pseudo file has to be stored *somewhere* if you want it to persist across reboots, and even for things that don't survive a reboot, the data has to be saved *someplace* in memory, even if it's only in a variable or a dentry structure or something like that....

So more accurate might be to say "The content of pseudo files is created on the fly from metadata that is managed (and possibly saved) by the file system".

Yes, thanks, I should have said something like that

Quoted 2 lines

(Sorry to be pedantic, but it's a point that will cause a lot of confusion if you don't really understand it)...

#4 lore raw
In reply to Grant Miner
Quoted 1 line · Grant Miner

Does Reiser4 store stat data in real files, or some special way?

It presents stat data to user space as a file (or via stat()), but below the fs interface it stores it in a stat item, which you can think of as a compressed format for stat files.

Quoted 6 lines

Are pseudo files just representation of stat data stored a special
way? Is it possible to do streams/forks with a plugin easily?

I mounted latest Reiser4 snapshot + linux 2.6.4 with acl and xattr options but when I tried "getfattr" I received "operation not supported"?

I'm using Reiser4 as root fs for some days now, and it is great! Only problem is whenever I run 'make' it always recompiles everything; perhaps this has to do with time stamps?

Probably, talk to vs about it, ok?

Quoted 4 lines

Oh and fibration is cool :) How do I switch to the other fibration
plugins for a directory?

Signature · 1 line
Hans