copy partition

Bob H. Tikos tikos at cis.upenn.edu
Wed Jun 9 22:38:38 EEST 1999


Kwstas Zagoris wrote:
> 
> 8elo na metafolo -na klonopoihso - ena oloklhro linux partition se ena allo.
> Yparxei kanena programma pou na kani tetoia douleia h ginetai apla me ena cp
> -a ? Giati 8elo na gini ena akribes antigrafo tou partition kai den 3ero
> kata poso 8a metakini8oun sosta ta diafora krifa kai mh arxeia, ka8os kai
> diafora euaistita directories (/lost+found, /dev,/proc)..........
> 
Kane ena isodynamo partition ston deutero to disko, kai koitakse ta
manual pages
gia "dump" kai "restore". 

 Xrhsimopoihseta ws ekseis:

 # dump 0Bf 10000000 /tmp/root.dumpfile /dev/hda1

molis kaneis to partition ( fdisk,mke2fs,fsck ), kanto mount se
/mnt/newpart1,
(h oti allo), 
# cd /mnt/newpart1
# restore -rvf /tmp/root.dumpfile

MHN XRHSIMOPOIEIS cp h otidhpote allo "copy mechanism" giati tha
koliseis sto /dev:
character and block devices do NOT behave as normal files"  
Episeis ta "dump" kai "restore" diathroun kai metaferoun protections kai
UIDs.

-- 
  Haralabos Bob Tikos -Systems Programmer/Admin.
Eniac2000 Project, CIS Department, University of Pennsylvania
http://reno.cis.upenn.edu  Tel.: +.215.573.8149                 
"Power should be distributed equally among those who are not in love
with it"  Plato
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list