In article <00082321101702.01300@armagedon>, mendes <[EMAIL PROTECTED]> writes:
> Hello
> It's me again asking another silly question:
>
> I need to back up a vfat partittion so as to install windows 98
> again (just to use to two windows applications). Although it sounds simple I
> managed to get in trouble:
>
> a) Many directory names contain space which, as far as I know, wrecks mkisofs
> -graft-dir
> b) I would like as many directories as possible but I need to rename them using
> -graft-dir. Again, how to do that?
>
> For instance:
>
> /mnt/DOS_hda1/Meus Documentos
> /mnt/DOS_hda1/Interesting Papers
> .... (several other dirs)
> ..
>
> Two directories to be backed up as
> /Meus Documentos
> /Interesting Papers
> ....(several other dirs)
If you can do without being able to mount the CD(s) as a filesystem, why not
use tar? There is also the advantage of being able to compress too should you
need it.
eg.
tar -czvf /tmp/tarball.tgz "/mnt/DOS_hda1/Meus Documentos" "/mnt/DOS_hda1/Interesting
Papers"
then write /tmp/tarball.tgz to a CD with cdrecord or whatever.
To do the restore, eg.
mount the new partition under /mnt, then
cd / ; tar -czvf /dev/hdc
(assuming your CD drive is secondary slave IDE)
If you want to restore to things other than eg. /mnt/DOS_hda1/ do the tar
create in the /mnt/DOS_hda1 directory.
Tom.
--
Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill,
Egham, Surrey, TW20 0EX, England.
Email: [EMAIL PROTECTED]
SPAN: 19.875
Fax: 01784 472794
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]