Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: chattr -i


  • Subject: Re: lug-bg: chattr -i
  • From: George Danchev <danchev@xxxxxxxxx>
  • Date: Sun, 21 Sep 2003 22:16:30 +0300

On Sunday 21 September 2003 16:30, Marian Popov wrote:
> S risk da prekalia iskam da se oplacha che tva ne bachka.

ne prekalqvash ... prav si da se oplakvash. 

> mashina:~# touch file
> mashina:~# lsattr file
> ----------------- file
> mashina:~# chattr +i file
> mashina:~# lsattr file
> ----i------------ file
> mashina:~# rm file
> mashina:~# ls -la |grep file
> mashina:~#

rabotata e tam 4e kym momenta reiserfs driver-a v kernel >=2.4.19 dori i v 
posledniq 2.4.22 samo setva -/+i, a i t.n. attributes podadeni s chattr(1) i 
listvat s lsattr. Tozi fix (po4ti posledna moda za reiserfs v kernel 2.4)
http://www.ussg.iu.edu/hypermail/linux/kernel/0308.1/0082.html
e sled 2.4.21 i ve4e v 2.4.22 oba4e toj samo fix-sva user da ne ti smeni "i" 
flaga, dobavq "a" i ukazva 4e za sega nema "d". NE opravq oba4e nestata taka 
4e reiserfs driver-a v kernel-a da sybludava taka setnatite atributi pri 
raznite manipulaci (modificirane) nad file-a. rano se radvahme... i az malko 
te podvedoh i ne izprobvah 4e sled kato gi set-va posle ne gi subludava ... 
da ne kazha drugo *ava... mda i pri men imuniziran file (+i) vyrhu reiserfs 
se modificira ... taka 4e za sega ste si ostanem samo s setvaneto 4rez 
chattr ;-)

> Na koito i file da sloja atribute +i niama nikakvo znachenie.
> Pisha si vyv faila, tria si go bez problemi.
>
> Tva pri ext2 niama takiva raboti.

absolutishe !

> I sega sled kato sym s versia na e2fsprogs
> mashina:~# dpkg -l | grep e2fsprogs
> ii  e2fsprogs      1.33+1.34-WIP- The EXT2 file system utilities and
> libraries

e2fsprogs sa OK... kakvoto trqbva podavat na reiserfs kernel drivera, ostava 
toj da se opravq ve4e i da subludava taka setnatite atributi za file-a.

> i sled kato kernela mi e versia
> Linux mashina 2.4.20-3-686 #1 Sat Jun 7 22:34:55 EST 2003 i686 GNU/Linux
>
> I uj vsichko triabva da bachka ama ne. Kakyv syvet shte mi dadete ?

Ami za sega ponezhe nqma da mozhem da si go napravim nie edinstvenoto za koeto 
se sestam e da 4akame reiserfs team da implementirat i tova za 2.4 ... 
Naj-dobre se nabludava taka:
# apt-get install subversion
# svn co svn://kernel.bkbits.net/linux-2.4/trunk linux-2.4-trunk

ChangeLog polu4avash taka:
# cd linux-2.4-trunk ; svn log > ChangeLog

update-vash src/ tree-to taka:
# cd linux-2.4-trunk; svn cleanup; svn up

za 2.6 neznam dali e napraveno tova za reiserfs-a ... oba4e i nego po systiq 
na4in mozhe da nabludavash s svn. hmm, seki slu4aj tova ne e malka zaemka ot 
ext2/3... t.k. ne e lesno, edna kamara nesta se navyrzvat.

-- 
pub  4096R/0E4BD0AB 2003-03-18 <keyserver.bu.edu>
1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 
                      
   

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.