Re: lug-bg: undelete unerase za linux
- Subject: Re: lug-bg: undelete unerase za linux
- From: Minko Markov <minkomarkov1968@xxxxxxxxx>
- Date: Thu, 12 Feb 2004 04:11:34 -0800 (PST)
--- George Danchev <danchev@xxxxxxxxx> wrote:
> On Thursday 12 February 2004 10:42, Minko Markov wrote:
> > --- Plamen Tonev <micro@xxxxxxxxx> wrote:
> > ....
> >
> > > ext3 ne mojesh da undelete-nesh. Uj razlikata s ext2 e samo journal-a,
> > > ama ne e taka...rm zanuljava failovete ....
> >
> > Kakvo znachi "zanulyava", prezapisva sektorite s nuli?
> >
> > Tova ne e verno, ponezhe mozhe da ima nyakolko
> > hard linka kqm fayla i togava rm prosto maha edin ot linkovete.
>
> syglasen. stoto ext3 v vsy4kite si tri rejima vinagi goni da sync-va data-ta v
> main fs-a, osven v journal file-a.
Ne stava duma za ext3. Priznavam, che ne ya znam, no tova,
koeto kazvah, vazhi za vsyakakva UNIX instalaciya bez
ogled na faylovata sistema.
Ako napravish
cat > A
... neshto si ...
^D
ln A B
rm -f A
to B prodqlzhava da sqshtestvuva i B sqdqrzha
tochno tova, koeto e imalo v A.
A i B sa ravnostoyni pointer-i kqm edno i sqshto
neshto i rm -f A iztriva samo pointera narechen
A bez da pipa sqdqrzhanieto, kamo li da go nulira.
Za tova govoreh.
> rm e easy otkym IO activity stoto prosto v inode-to na file-a (dori i golqm da
> e toj) se vpisva 4e nqma nisto ot edi koj si do edi koj si secror.
Ami znachi sqm prav, che ne go nulira.
A propos, zashto v inode-a na file-a? Iskash da kazhesh,
v inode-a na dir-a? Nali rm -f A iztriva inode-a, pri polozhenie,
che A e edinstveniyat hard link kqm tozi file?
> Komandata mv systo e easy kogato e v
> ramkite na edin fs, zastoto togava file data-ta ne se pipat vyobste
Da. Imah predvid mv ot edin partition v drug.
--
MM
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
============================================================================
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
============================================================================
|