Em Qui 11 Nov 2004 16:31, Yucatan Costa escreveu:
> Buenas, nem cheguei a re-compilar o e2fsprogs. Dei uma lida na
> documenta��o... e nada se refere ao Reiserfs.
>
> Minha pergunta, Valter, � a seguinte: Tu est�s rodando reiserfs em alguma
> m�quina E com o chattr funcionando beleza?
Eu nunca usei chattr no Reiser! Meus servidores s�o todos com ext3
Mas j� que tocou no assunto.
Eu dei uma googleda e achei o seguinte e-mail
---------------------------------------------------------------------------------------------------------------------------------------------
> Hi,
>
> I want to use chattr in reiserfs, but it works only in ext2.
> Do you know any related program for reiserfs???
It does work, but only if the kernel you're running supports it and if your
reiserfs volume is suitable.
A reiserfs v3.5 volume doesn't support it.
For a reiserfs v3.6 volume to support it, it has to be made with a mkreiserfs
which knows about it or you can make a existing volume suitable by running
reiserfsck --clean-attributes
IIRC you only can run that on a unmounted device.
Ofcourse you also need reiserfs utilities which supports it.
And you need to mount your reiserfs volume with the option attrs, else you can
set the attrs but they won't have any effect.
--
---------------------------------------------------------------------------------------------------------------------------------------------
E depois achei isso no man do resiserfsck
--clean-attributes
This option cleans reserved fields of Stat-Data items.
There were days when there were no extended attributes in reiserfs. When they
were implemented old partitions needed to be cleaned first --
reiserfs code in the kernel did not care about not used fields in its
structures. Thus if you have used one of the old (pre-attrbutes) kernels with
a ReiserFS filesystem and you want to use extented attribues there, you
should clean the filesystem first.
tenta dar um resierfsck --clean-atributes parti��o e veja se funciona
>
> Pois eu at� consigo dar um 'chattr +a arquivo.txt'. Se dou um 'lsattr
> arquivo.txt' ele mostra a "flag" de "append only". Por�m a funcionalidade
> do '+a' n�o rola. D� pra editar o arquivo, apagar conte�do, etc.
>
> Abra�o
>
> Yucatan
>
> Legends tell that on Thursday 11 November 2004 10:40, Yucatan Costa wrote:
> > Estou baixando os fontes do e2fsprogs pra ver se isso resolve o problema
> >
> > Mas ontem, antes da tua dica de fu�ar no kernel, entrei em contato com o
> > desenvolvedor do chattr e o cara disse que o problema n�o seria do chattr
> > em si, mas sim do Reiserfs.
> >
> > Agora com o kernel recompilado para "suportar" extended attributes e o
> > "append only" ainda n�o funcionando... o jeito � apelar para recompilar o
> > chattr. Tenho minhas d�vidas se isso vai adiantar, mas n�o custa tentar
> > n� ;)
> >
> > Vejamos...
> >
> > Yucatan
>
> --
> (http://kenjiro.web.terra.com.br)
> Linux Counter: #163748
>
> ==========================================
> There is no Emotion, there is Peace
> There is no Ignorance, there is Knowledge
> There is no Passion, there is Serenity
> There is no Death, there is the Force
--
=============================================================
Valter Douglas Lisb�a J�nior
Vulgo: GigaNERDS
** Nix Inform�tica Especializada **
Solu��es em Interconectividade, Servidores e Seguran�a com Linux
* Bacharel em Ci�ncias da Computa��o
* Docente do Curso T�cnico de Inform�tica do SENAC/Piracicaba
* Propriet�rio e t�cnico da Nix Especializada
MSN: [EMAIL PROTECTED]
Fones: (19) 9183-4238
(19) 9183-4244
=============================================================
--
GUS-BR - Grupo de Usuarios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users