View Single Post

   
  #10 (permalink)  
Old 02-20-2008, 08:26 AM
Eef Hartman
 
Posts: n/a
Default Re: convert a ext2 to reiserfs

Michael Trausch <fd0man+spam@gmail.com> wrote:
> Now, remount the target filesystem readonly, and tar it up.
>
> # mount /home -o ro,remount
> # tar lcvvf /tmp/homefs.tar /home
>
> If that was successful, then compress it. I recommend bzip2 or if you
> have it, a 7zip program:


You can do the tar and bzip2 in one pass, by adding the "j" option to the
tar commandline (and changing the output file name for clarity, of course).

> # bzip2 --best /tmp/homefs.tar


Note that "--best" is the default behaviour, so doesn't really do anything:
The --fast and --best aliases are primarily for GNU gzip compatibility.
In particular, --fast doesn't make things significantly faster.
And --best merely selects the default behaviour.
(from the man page, a bit reformatted).
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Reply With Quote