Bug 18312

Summary: mt not statically linked
Product: Base System Reporter: Cy Schubert <cy>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description Cy Schubert 2000-05-01 01:20:01 UTC
Unable to use mt command during restore of /usr from multi-file tape.
Workaround was to mount 4.0 CDROM to use its mt command, then statically
link mt and put in /bin.

Fix: 

Statically link mt and put it in /bin instead of /usr/bin.
How-To-Repeat: 
Boot -s; newfs /usr; mt fsf 1; restore -r.
Comment 1 mjacob 2000-05-01 01:26:13 UTC
Wouldn't restore -s work for you?


On Sun, 30 Apr 2000, Cy Schubert wrote:

> 
> >Number:         18312
> >Category:       bin
> >Synopsis:       mt not statically linked
> >Confidential:   no
> >Severity:       critical
> >Priority:       medium
> >Responsible:    freebsd-bugs
> >State:          open
> >Quarter:        
> >Keywords:       
> >Date-Required:
> >Class:          change-request
> >Submitter-Id:   current-users
> >Arrival-Date:   Sun Apr 30 17:20:01 PDT 2000
> >Closed-Date:
> >Last-Modified:
> >Originator:     Cy Schubert
> >Release:        FreeBSD 4.0-STABLE i386
> >Organization:
> UNIX Group, ITSD, ISTA, Province of BC
> >Environment:
> 
> FreeBSD cwsys 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun Apr 30 07:55:57 PDT 2000     root@:/usr/opt/cvs-400s-000422/src/sys/compile/CWSYS  i386
> 
> >Description:
> 
> Unable to use mt command during restore of /usr from multi-file tape.
> Workaround was to mount 4.0 CDROM to use its mt command, then statically
> link mt and put in /bin.
> 
> >How-To-Repeat:
> 
> Boot -s; newfs /usr; mt fsf 1; restore -r.
> 
> >Fix:
> 
> Statically link mt and put it in /bin instead of /usr/bin.
> 
> 
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-bugs" in the body of the message
>
Comment 2 cschuber 2000-05-01 16:18:00 UTC
Yes it would.


Regards,                       Phone:  (250)387-8437
Cy Schubert                      Fax:  (250)387-5766
Team Leader, Sun/DEC Team   Internet:  Cy.Schubert@osg.gov.bc.ca
Open Systems Group, ITSD, ISTA
Province of BC            

In message <Pine.BSF.4.05.10004301726060.6520-100000@semuta.feral.com>, 
Matthew
 Jacob writes:
> Wouldn't restore -s work for you?
> 
> 
> On Sun, 30 Apr 2000, Cy Schubert wrote:
> 
> > 
> > >Number:         18312
> > >Category:       bin
> > >Synopsis:       mt not statically linked
> > >Confidential:   no
> > >Severity:       critical
> > >Priority:       medium
> > >Responsible:    freebsd-bugs
> > >State:          open
> > >Quarter:        
> > >Keywords:       
> > >Date-Required:
> > >Class:          change-request
> > >Submitter-Id:   current-users
> > >Arrival-Date:   Sun Apr 30 17:20:01 PDT 2000
> > >Closed-Date:
> > >Last-Modified:
> > >Originator:     Cy Schubert
> > >Release:        FreeBSD 4.0-STABLE i386
> > >Organization:
> > UNIX Group, ITSD, ISTA, Province of BC
> > >Environment:
> > 
> > FreeBSD cwsys 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun Apr 30 07:55:57 PDT 200
> 0     root@:/usr/opt/cvs-400s-000422/src/sys/compile/CWSYS  i386
> > 
> > >Description:
> > 
> > Unable to use mt command during restore of /usr from multi-file tape.
> > Workaround was to mount 4.0 CDROM to use its mt command, then statically
> > link mt and put in /bin.
> > 
> > >How-To-Repeat:
> > 
> > Boot -s; newfs /usr; mt fsf 1; restore -r.
> > 
> > >Fix:
> > 
> > Statically link mt and put it in /bin instead of /usr/bin.
> > 
> > 
> > >Release-Note:
> > >Audit-Trail:
> > >Unformatted:
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-bugs" in the body of the message
> > 
>
Comment 3 Poul-Henning Kamp freebsd_committer freebsd_triage 2000-06-10 20:31:12 UTC
State Changed
From-To: open->closed

Solution found.