Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-16-2013, 07:37 PM   #1
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
Use of growisofs

I do not have a full understanding of the use of growisofs.

I think I want to make separate places to store my /root from my /home/user from /opt on a dvd-rw. I see the use of -Z vs -M. I am not clear on whether -Z the initial burn would be used for each input directory and then use -M for updating or -Z for the initial directory and -M when adding more directories.

I understand that growisofs is a front-end to mkisofs but when I write each directory to the dvd do I need to use: /dev/sr0=myfirstiso.iso and for input from each directorie like: /opt, /home/usr, or /root etc. i.e. how do I name the disk I think I understand how to name the directories to burn onto the dvd.

I have read comments about problems with NOT taring files before using growisofs but wonder if the problems may have been more from using the wrong speed or not employing one of mkisofs's options or employing one incorrectly. So let's not go there and let me experiment.

Must I use -use-the-force-luke-xxxx for every mkisofs option I employ?

Do I need to use -joliet-long and/or -J if I am only concerned about keeping some long names I have downloaded for linux when I am using -R? I won't be using my backup dvd on M$.

This is the dumb question: does growisofs effect any of the directories that are being assigned for being backed up?
Old 03-16-2013, 07:49 PM   #2
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 5,896

Rep: Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670
I'd suggest you experiment using mkisofs, check the results mounting the ISO with the -o loop option, then use growisofs when you are satisfied with your options.
Old 03-17-2013, 02:04 AM   #3
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
I had already finished the script using growisofs but included mkisofs options (on right of /dev/sr0).
I am still not able to get a good handle on the Z/M question, dropped the -joliet-long and/or -J options, and don't use the -use-the-force-luke-xxxx stuff.
I used numbers to indicate which of 5 directories I want to run and a dry run indicator -- well FWIW here is its guts:
if [ "$l" == "" -o "$m" == "5" -o "$n" == "A" ]
then str="1 2 3 4 5"

# Loop until there are no more characters in command line
# Do only as many iterations as there are arguements in command line
j=`echo $str | wc -w`
while  [ $j != 0 ]

   k=`echo $str | cut -d" " -f1`
   str=`echo $str | cut -d" " -f2-`

   case $k in
   1) srcPathDir="/root" ;;
   2) srcPathDir="/opt" ;;
   3) srcPathDir="/home/a-user" ;;
   4) srcPathDir="/home/reasyr" ;;
   5) srcPathDir="/etc" ;;
   *) echo -e "\n\tERR($0) Invalid arg(s): $@"
      exit 1 ;;

# Burn the resulting files to DVD
# NOTE: intentionally not using -use-the-force-luke=dao
#growisofs $isD -$IOK -speed=1 /dev/sr0 -o /ISO_BU${wdat}.iso \
#          -R -r -nobak -allow-lowercase -l -L -allow-multidot \
#          $srcPathDir

# Test display of DVD write line
echo "growisofs $isD -$IOK -speed=1 /dev/sr0 -o /ISO_BU${wdat}.iso" \
     "          -R -r -nobak -allow-lowercase -l -L -allow-multidot" \
     "          \"$srcPathDir\""
j=`expr $j - 1`    # Decrement arg count


# To finalize the multisession DVD maintaining maximum compatibility:
#growisofs -M /dev/sr0=/dev/zero
Still don't know if this will reburn or only update, gotta test it.

Last edited by waddles; 03-17-2013 at 02:08 AM.
Old 03-17-2013, 06:12 AM   #4
Senior Member
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,252

Rep: Reputation: 205Reputation: 205Reputation: 205

It isn’t practical to use CD/DVD discs to backup the data. I tested that in the past. Buy an external hard drive. They’re really cheap now. Use rsync to backup your data. That works as a charm.
1 members found this post helpful.
Old 03-17-2013, 12:16 PM   #5
Registered: Dec 2002
Distribution: slackware!
Posts: 290

Rep: Reputation: 33
I highly agree with w1k0, I just got into using rsync regularly myself.
Old 03-17-2013, 12:59 PM   #6
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
I am in agreement! I will try to do it with Flash Drives.
Old 03-17-2013, 08:22 PM   #7
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 900

Rep: Reputation: 83
I also agree with w1k0,
I've been using rsync for backups for quite some time no with no problems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error with growisofs wakeboarder3780 Linux - Software 1 05-12-2006 04:10 PM
growisofs problem scng Linux - Software 1 10-07-2005 08:38 PM
growisofs gives an error Valhalla Linux - Software 0 04-11-2005 12:03 PM
growisofs and speed -SzLaszlo Linux - Software 0 10-30-2004 04:39 PM
growisofs sethgeekx86 Slackware 4 04-20-2004 07:23 PM

All times are GMT -5. The time now is 07:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration