DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Kernels and Modules (http://www.daniweb.com/forums/forum110.html)
-   -   linux commands (http://www.daniweb.com/forums/thread32421.html)

jindalarpan Sep 16th, 2005 10:23 am
linux commands
 
hi all
i m having one problem in while writing dvd from command prompt in linux
i m having /dev/scd0 as my externel dvd writer
command i m using is
growisofs -M /dev/scd0=/home/backup
but this command is not executing its comming up with problem that its not an iso file
but i dont want to convert it to iso .
so is ther any way to to write it directlly without converting it to iso type.
and i want only asd1,asd2, asd04-13, asd05-14 from that /home/backup folder to my dvd so what is the way to do so . i have tried
growisofs -m /dev/scd0=/home/backup/asd*
but this thing didnt worked.
so can any provide me with solution.
thanks
jindalarpan

comprookie2000 Sep 16th, 2005 3:38 pm
Re: linux commands
 
Did you format the dvd;
sbin/mke2fs -b 2048 /dev/scd0
then you can use the dd command;
http://linux.about.com/od/commands/l/blcmdl1_dd.htm
Looks like I was wrong, see if this helps;
growisofs is the main command used for writing the DVDs. To write DVDs, use this command:

#growisofs -Z /dev/cdrom -R -J /folder_to_copy

To copy an image file instead, give this command and it will writeyour DVD.

#growisofs -Z /dev/cdrom=image.iso
Here is the link;
http://www.pcquest.com/content/dvd/103101103.asp

jindalarpan Sep 19th, 2005 2:08 am
Re: linux commands
 
i have formated that dvd and having some data on the disk.
but problem is when i try to add something more on that dvd it says the file u trying to write does not seems like iso. and i m facing the proble to write in that cd and i have to format that dvd again and again to write on that dvd

jindalarpan Sep 19th, 2005 11:50 am
Re: linux commands
 
hi all
when ever i try to write with this command
growisofs -dvd-compat -Z /dev/scd0=/home/arpan/Desktop/backup/
its is giving me this error message

Executing 'builtin_dd if=/home/arpan/Desktop/backup/ of=/dev/scd0 obs=32k seek=0'
:-( write failed: Is a directory

my dvd is already formated
so what should be done

comprookie2000 Sep 19th, 2005 5:21 pm
Re: linux commands
 
What happens when you try it like this;
#growisofs -Z /dev/scd0 -R -J /home/arpan/Desktop/backup
Also if there is only individual files you want to copy you may be able to create a tar.gz and save it that way;
http://www.cs.hmc.edu/qref/targzip.html
Are you sure you have /dev/scd0 in your /etc/fstab ?
What happens when you do cdrecord --scanbus

jindalarpan Sep 20th, 2005 2:30 am
Re: linux commands
 
Quote:

Originally Posted by comprookie2000
What happens when you try it like this;
#growisofs -Z /dev/scd0 -R -J /home/arpan/Desktop/backup
Also if there is only individual files you want to copy you may be able to create a tar.gz and save it that way;
http://www.cs.hmc.edu/qref/targzip.html
Are you sure you have /dev/scd0 in your /etc/fstab ?
What happens when you do cdrecord --scanbus


yea i m shure that the device is the same one
cdrecord -sanbus gis this
scsibus0:
0,0,0 0) 'HL-DT-ST' 'DVDRAM GSA-4120B' 'A101' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
and
etc/fstab haing the enty for
it
bur this thing is not working again
i want to write that backup folder as it contails many file of different date


All times are GMT -4. The time now is 7:20 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC