The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google unix.com



UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
zip utility on HP-UX jgutierrez29 UNIX for Dummies Questions & Answers 1 06-22-2005 03:10 PM
AWK utility malaymaru UNIX for Dummies Questions & Answers 3 05-05-2005 01:27 AM
Sed utility malaymaru UNIX for Dummies Questions & Answers 4 05-04-2005 03:37 AM
sar utility srinivasp UNIX for Advanced & Expert Users 2 11-15-2002 11:31 AM
awk utility dilipluhar High Level Programming 2 06-19-2001 05:13 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-11-2003
sherbet808 sherbet808 is offline
Registered User
  
 

Join Date: Jun 2003
Posts: 6
BRU utility

I'm having trouble trying to extract files from a bru tape. The man pages on the bru command have confused me. The following are commands that I've tried and the respective outputs.


will.rlee 224> bru -vgf /dev/nrtape
label:
created: Mon Nov 7 18:21:41 1994
device: freedom:/dev/mt/tps0d6
user: root
group: sys
system: IRIX glovebox 4.0.5F 08280217 IP12
bru: "SGI Release 4.0.5D"
release: 9.11
variant: 1


will.rlee 226> bru -evtf /dev/nrtape
e 26k of 28k [1] ./kj
e 2k of 30k [1] ./GB1.bru
bru: 1 volume(s), 2 files, 16 archive blocks, 32 Kbytes
bru: warning - missing archive header block; starting at volume 1
bru: c => continue q => quit r => reload s => fork shell [default: q] >> q


What else could I try?
  #2 (permalink)  
Old 06-12-2003
WIntellect's Avatar
WIntellect WIntellect is offline
Registered User
  
 

Join Date: Sep 2002
Location: United Kingdom
Posts: 170
Please DO NOT CROSS POST!!!!

Your other post was in the right location - namely "Filesystems, Disks and Memory", which can be found here:

bru command
  #3 (permalink)  
Old 06-12-2003
Karma's Avatar
Karma Karma is offline
Registered User
  
 

Join Date: Jun 2003
Location: Canada
Posts: 142
Perhaps this should be addressed by the 'Simple Rules'

Simple rules of the UNIX.COM forums:
  #4 (permalink)  
Old 06-13-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
I doubt there are many IRIX or bru folks hitting this site, so I went searching. Found a man page for bru and read through it.

To extract what is on the tape, you would use the -x option.
To inspect the archive on the tape (before extracting it) you would use the -i option. I would also suggest you use the -vv option with it to show info from the header block.

To step through this, try the following

$ bru -ivvf /dev/nrtape

This will check that your archive is good. It's possible that it isn't (from the information you already posted) - a tape that is almost 10 years old may not be in pristine condition.

From this point on I'm assuming the tape is okay...
Next, see what is on the tape - this is important if you don't want to overwrite information already on disk.

$ bru -tvf /dev/nrtape

This will list everything on the tape. If the output looks something like this...

./mydir/myfile
./mydir/myotherfile

then you can get ready to extract the archive into a newly created directory or any directory you want.

If the output looks something like this...

/mydir/myfile
/mydir/myotherfile

then the archive will possibly overwrite files on your system. You should know if you are willing to do that.

Once you verify the information, a generic extract could be done.

$ cd /where_I_want_extract
$ bru -xvf /dev/nrtape
  #5 (permalink)  
Old 06-13-2003
sherbet808 sherbet808 is offline
Registered User
  
 

Join Date: Jun 2003
Posts: 6
hrmm

Thanks. I can properly list the files and my output looks something like this:

/mydir/myfile
/mydir/myotherfile

meaning that I might overwrite some of the files on my system.

When I type bru -xvf /dev/nrtape, however, I get a "Permission denied" error for each of the files that I want to extract. Why is this?
  #6 (permalink)  
Old 06-13-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
I never heard of bru, but it sounds a bit like tar.

To extract those files, you need to write them to disk. Do you have permission to do that?

Does /mydir exist? If not, you will need to do the equivalent of "mkdir /mydir". That requires write permission to /. Usually only root could do that.

If /mydir exists, can you write to it? You need to create files in it and that means write permission to /mydir.

Or if those files already exist, can you write to them?
  #7 (permalink)  
Old 06-19-2003
sherbet808 sherbet808 is offline
Registered User
  
 

Join Date: Jun 2003
Posts: 6
I do have permission to write files to disk. I still don't understand why I get "Permission denied" when I try to extract the bru files using the command "bru -xvf /dev/nrtape"
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0