[Eug-lug] error message

Mike Cherba mike.cherba at caviumnetworks.com
Tue Oct 23 21:12:24 PDT 2007


You gave tar both a -c and a -u option.  those are exclusive options.
you can either create an archive "-c" or update and archive "-u" not
both.
		-Mike

Another effective [debugging] technique is to explain your code to
someone else. This will often cause you to explain the bug to yourself.
Sometimes it takes no more than a few sentences, followed by an
embarrassed "Never mind. I see what's wrong. Sorry to bother you." This
works remarkbly well; you can even use non-programmers as listeners. One
university computer center kept a teddy bear near the help desk.
Students with mysterious bugs were required to explain them to the bear
before they could speak to a human counselor. --- Kernighan & Pike "The
Practice of Programming"


On Tue, 2007-10-23 at 20:33 -0700, Wes Morgan wrote:
> What is this error message?
> 
> -Acdtrux
> 
>  
> 
> Wes Morgan
> 
>  
> 
>  
> 
>  
> 
> [wes at localhost wes]$ su
> 
> [root at localhost wes]# cd /mnt
> 
> [root at localhost mnt]# fdisk -l dev/hdc
> 
> [root at localhost mnt]# mkdir lin
> 
> [root at localhost mnt]# mount -t ext3 /dev/hdc3 /mnt/lin
> 
> [root at localhost mnt]# cd lin
> 
> [root at localhost lin]# cd /mnt/lin/home/wes
> 
> [root at localhost wes]# ls af
> 
> ls: af: No such file or directory
> 
> [root at localhost wes]# tar -cvzf /mnt/removable backup.tgz
> 
> tar: backup.tgz: Cannot stat: No such file or directory
> 
> tar (child): /mnt/removable: Cannot open: Is a directory
> 
> tar (child): Error is not recoverable: exiting now
> 
> tar: Child returned status 2
> 
> tar: Error exit delayed from previous errors
> 
> [root at localhost wes]# tar -cuzf emailbackup1.tgz tab
> -cvzf /mnt/removable.emailbackup1.tgz /mnt/lin/home/wes/.thunderbird/tertdnvo.default                                                                                
> 
> tar: You may not specify more than one `-Acdtrux' option
> 
> Try `tar --help' for more information.
> 
> [root at localhost wes]# ]tar -cvzf emailbackup.tgz
> 
> bash: ]tar: command not found
> 
> [root at localhost wes]# tar cuzf emailbackup1.rgz
> 
> tar: You may not specify more than one `-Acdtrux' option
> 
> Try `tar --help' for more information.
> 
> [root at localhost wes]# tar -cuzf emailbackup1.tgz
> 
> tar: You may not specify more than one `-Acdtrux' option
> 
> Try `tar --help' for more information.
> 
> [root at localhost wes]#
> 
>  
> 
> 
> _______________________________________________
> EUGLUG mailing list
> euglug at euglug.org
> http://www.euglug.org/mailman/listinfo/euglug



More information about the EUGLUG mailing list