attrib +A doesn't work
i thought 3.6 support attribs (or at least some of them), but A isn't working. i ran touch test; chattr +A test; stat test; cat test; stat test; the second stat showed an updated atime.
is there some undocumented mount option to enable attribs?
Signature · 2 lines
Tom Vier <[email protected]> DSA Key ID 0xE6CB97DA
Quoted 5 lines · Tom Vier
i thought 3.6 support attribs (or at least some of them), but A isn't working. i ran touch test; chattr +A test; stat test; cat test; stat test; the second stat showed an updated atime.
is there some undocumented mount option to enable attribs?
Yes.
Support for inode attributes was introduced between 2.4.18 and 2.4.19. Take latest reiserfsprogs from ftp.namesys.com, run /sbin/reiserfsck --clean-attributes /your-device, and after that finishes mount with -attrs option.
Quoted 4 lines
Signature · 3 lines
-- Tom Vier <[email protected]> DSA Key ID 0xE6CB97DA
Nikita.
Hello!
Quoted 4 lines · Nikita Danilov
Support for inode attributes was introduced between 2.4.18 and 2.4.19. Take latest reiserfsprogs from ftp.namesys.com, run
/sbin/reiserfsck--clean-attributes /your-device, and after that finishes mount with -attrs option.
mount -o attrs in fact.
Bye,
Oleg
Quoted 1 line
mount -o attrs in fact.
I'm not sure if this is the right place to report this...
The 'attrs' mount option is broken with kernels 2.4.20-pre2 through -pre5 (the latest as of this email).
See "license cleanup" patch found here:
ftp://ftp.namesys.com/pub/reiserfs-for-2.4/2.4.19.pending/01-license_cleanup.diff
It contains a re-work of reiserfs_parse_options() in super.c that removes the 'attrs' option. Perhaps a merge error or simple omission.
Trivial fix:
fs/reiserfs/super.c +1 -0
@@ -560,6 +560,7 @@char * pos;opt_desc_t opts[] = { {"tails" ,'t' , tails,-1 }, + {"attrs" ,0 ,0 ,REISERFS_ATTRS }, {"notail" ,0 ,0 ,-1 },/* Compatibility stuff, so that -o notail for old setups still work */ {"conv" ,0 ,0 ,REISERFS_CONVERT }, {"nolog" ,0 ,0 ,-1 },
--Allen Ibara
Hello!
Quoted 2 lines · Allen H. Ibara
Quoted 1 line
mount -o attrs in fact.
I'm not sure if this is the right place to report this...
Sure it is.
Quoted 6 lines
The 'attrs' mount option is broken with kernels 2.4.20-pre2 through -pre5 (the latest as of this email).
See "license cleanup" patch found here:
ftp://ftp.namesys.com/pub/reiserfs-for-2.4/2.4.19.pending/01-license_cleanup.diff It contains a re-work ofreiserfs_parse_options()insuper.cthat removes the 'attrs' option. Perhaps a merge error or simple omission.
Thanks a lot for letting us know.
Somehow this omission got past our testing.
Bye,
Oleg
[Old thread.]
Quoted 7 lines · Oleg Drokin
Quoted 4 lines · Nikita Danilov
Support for inode attributes was introduced between 2.4.18 and 2.4.19. Take latest reiserfsprogs from ftp.namesys.com, run
/sbin/reiserfsck--clean-attributes /your-device, and after that finishes mount with -attrs option.mount -o attrs in fact.
Should -o attrs be used just once, or every time afterwards?
paul
Quoted 4 lines · Paul Jarc
[Old thread.]
Quoted 1 line · Oleg Drokin
On Thu, Sep 05, 2002 at 01:57:34PM +0400, Nikita Danilov wrote:
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Support for inode attributes was introduced between 2.4.18 and 2.4.19. Take latest reiserfsprogs from ftp.namesys.com, run
/sbin/reiserfsck--clean-attributes /your-device, and after that finishes mount with -attrs option.mount -o attrs in fact.
Should -o attrs be used just once, or every time afterwards?
On each mount. Does attribute support actually works for you?
Quoted 2 lines
paul
Nikita.
Quoted 4 lines · Nikita Danilov
Quoted 1 line · Paul Jarc
Should -o attrs be used just once, or every time afterwards?
On each mount. Does attribute support actually works for you?
I just did a quick test with chattr +A, and it seemed to work. Out of curiosity, what would happen if I forgot to use attrs once? I'm guessing attributes would not take effect and could not be changed until I remounted, but once I did, the stored attributes wouldn't be lost, right? Also, is there any way to make attrs and notail show up in /proc/mounts?
paul
Quoted 4 lines · Paul Jarc
Quoted 3 lines · Nikita Danilov
Quoted 1 line · Paul Jarc
Should -o attrs be used just once, or every time afterwards?
Quoted 8 lines
Quoted 1 line
On each mount. Does attribute support actually works for you?
I just did a quick test with chattr +A, and it seemed to work. Out of curiosity, what would happen if I forgot to use attrs once? I'm guessing attributes would not take effect and could not be changed until I remounted, but once I did, the stored attributes wouldn't be lost, right? Also, is there any way to make attrs and notail show up in
/proc/mounts?
Only after Halloween, I am afraid.
Quoted 3 lines
paul
Nikita.