Re: Write e2fs to CD

2002-10-08 Thread Korey O'Dell

Matthias Schniedermeyer wrote:
 
 On Tue, Oct 08, 2002 at 09:49:53AM -0500, [EMAIL PROTECTED] wrote:
  Folks,
 
  Is it possible to write a e2fs directory structure to CD?
  Say I want to backup /www  on my linux e2fs system.
  Then later on, just mount the cd as you would any other e2fs partition.
  I use cdrecord, slack linux 8, 2.2 kernel I believe.
 
  I've looked thru the FAQs.
 
  Any help appreciated.
 


How? Specifically, if I wanted to burn my /www subdirectory and all
files and subdirs contained within to CD. I know I can mkisofs out of
it, but I dont want that. I just want a copy of my e2fs /www on CD.

Thanks
Korey


 You can burn any filesystem that Linux can read onto a CD. Or no
 filesystem at all.
 e.g. you can burn a .tar(.gz) file directly onto a CD.
 
 Bis denn
 
 --
 Real Programmers consider what you see is what you get to be just as
 bad a concept in Text Editors as it is in women. No, the Real Programmer
 wants a you asked for it, you got it text editor -- complicated,
 cryptic, powerful, unforgiving, dangerous.
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Write e2fs to CD

2002-10-08 Thread Korey O'Dell

Frank Hage wrote:
 
 :
 : How? Specifically, if I wanted to burn my /www subdirectory and all
 : files and subdirs contained within to CD. I know I can mkisofs out of
 : it, but I dont want that. I just want a copy of my e2fs /www on CD.
 :
 : Thanks
 : Korey
 :
 
 Korey,
 
 It's not clear if your /www represents the root of a e2fs file system.
 Assuming it does, here's all you need to do;
 
 dd if=/dev/hdaX bs=32k | cdrecord -v -
 
 (replace hdaX with your e2fs partition mounted as /www)
 
Thanks Frank for the info.
Yes /www is just a directory on my e2fs file system.

 I often backup directories into tar files and then write those
 to CD's using mkisofs, rather than running mkisofs on the directories
 themselves. Tar files keep file permissions, ownerships, dates, etc and
 allows for more flexibility when accessing and restoring files.
 
 I'm curious, Why do you want an e2fs on the CD?  Few people would know
 how to read an e2fs image file or CD.
True, few people would, but these are only for my use. I want to do
simply e2fs because:
No intermediate file created, disk space is a problem at times.
No need to mess with large tar files later on.
Quick browsing of the CD contents.

Thanks again.


 
 I hope this helps.
 
 --
 Frank Hage  [EMAIL PROTECTED]
 National Center for Atmospheric Research
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]