[Coco] Toolshed DSAVE issues.

Gene Heskett gheskett at shentel.net
Tue Sep 22 14:38:28 EDT 2020


On Tuesday 22 September 2020 14:15:40 coco at jechar.ca wrote:

> NO I AM NOT PLEASE
> PLEASE GIVE ME AN EXAMPLE THAT WORKS
>
>                          destination.dsk
>
>                          source-directory ( a Linux Sub Directory of
> the directory the distanation disk is in )
>
>                ( The contents of source are what I am trying to copy
> into destination.dsk )
>
> I am trying to copy fro linux into OS-9
>
> I am trying to do the opposite of what
>       os9 dsave -e . ../destination.dsk,
> ran from source-directory does.
>
> Either there is something wrong with the program or I am using it
> wrong which means that the documentation is
> not good enough.
>
> Charlie
>
> On 2020-09-22 13:46, tim lindner wrote:
> > On Mon, Sep 21, 2020 at 6:19 PM <coco at jechar.ca> wrote:
> >>   No also tryed
> >>
> >> os9 dsave -e . ../newvirtualos9disk.dsk,
> >>
> >> fails as well.
> >>
> >> tried without the -e and redirected the script to out
> >>
> >> GOT
> >> os9 makdir "../Quilt-Release-1.0.dsk,/.."
> >
> > You seem to be trying to write disk images onto disk images.
> >
> > And your version of toolshed's os9 command is treating the source
> > disk images as folders.
> >
> > I've been testing here with simplified similar situations and
> > everything is working fine.
> >
> > What date is associated with your 'os9' executable? You may be
> > running an older version.
> >
You cannot do a to assignment if the src diretory is in the to 
assignment, thats recursive forever. IOW, one assignment cannot include 
the other. They must be separate, non-overlapping paths.

Also, I did a patch that effects dsave several years back that stops it 
from doing an error exit if the target directory exists, actually I 
patched the makdir call IIRC.  With the difficulty I've had, getting 
patches into nitros9, you may not have either. And while my coco has 
expired, those updates are available from my web page in the sig below. 
Under Genes-os9-stuff. Help yourself.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


More information about the Coco mailing list