> Speaking of DVD and archives too large to fit on one media, does anyone
> have a good solution for pointing at a large file system (such as
> bitsavers top level directory) and specifying a size of the target media
> and let it sort out the archiving problem? I would like not to use an
> archiver, but rather have the individual files copied to the target such
> that they are available individually as files, as well as an index
> somewhere specifying which item of the backup the file landed on.
For the past decade my solution has to been write a perl script :-).
Previous splits to CD often worked hard on filling every nook and cranny
of every CD but I don't try so hard anymore. (This was the original use
of the "foundbymb" sort you see remnants of below.) To be super duper
efficient required knowing things like rockridge/joliet extension names and
the extra space they took up etc.
This one splits up bitsavers into slightly-smaller-than-DVD-sized chunks (using
soft links), and makes (to standard output) a index that can be copied to each DVD:
#!/usr/bin/perl
use strict;
use File::Path qw(make_path);
use File::Find;
my $total;
my $prefix = '/home/shoppa/www.bitsavers.org';
find(\&wanted, $prefix);
my @foundbymb;
my @foundbyalpha;
my %files;
sub wanted {
my $name = $File::Find::name;
my $size = -s $name;
next if -d $name;
$files{$name} = { "name" => $name, "size" => $size, "dir"=> $File::Find::dir }
;
$total += $size;
}
my $cdn =1; my $maxbytes = 4400000000; my $thisbytes = 0;
my %madedir;
for (sort keys %files) {
my $size = $files{$_}{"size"};
if ($thisbytes + $size > $maxbytes) {
print "DVD $cdn finished with $thisbytes bytes\n";
$thisbytes = 0;
$cdn++;
}
my $cdm = sprintf("%02d",$cdn);
$thisbytes += $size;
my $indir = $files{$_}{"dir"};
my $outdir = $indir;
$outdir =~ s/$prefix/$cdm/;
if (!exists $madedir{$outdir}) {
make_path($outdir); # or die "didn't make $outdir\n";
$madedir{$outdir}++;
}
my $inf = $_;
my $outf = $inf;
$outf =~ s/$prefix/$cdm/;
link($inf,$outf) or die "didn't ln $inf $outf";
print "$outf\n";
}
print "DVD $cdn finished with $thisbytes bytes\n";
print "Total size is $total\n";
I need and be happy to receive some help to format diskettes for At&t 3b1 or
Altos ACS/586/686 systems in a PC. I tried to do it in one 286 PC with one
TEAC HD unit with bad results.
I've encountered some documents in the Net about the matter but nothing
definitive.
--
Saludos - Greetings - Freundliche Gr??e - Salutations
Sergio
-----
"No creas todo lo que ves, ni creas que estas viendolo todo"
On Tue, 08 Mar 2011 18:14:38 -0600
cctalk-request at classiccmp.org wrote:
> From: Richard <legalize at xmission.com>
> Subject: Re: Who will be the last HD maker down the road?
> To: cctalk <cctalk at classiccmp.org>
> Message-ID: <E1Px1RU-000789-Ic at shell.xmission.com>
>
>
> In article <4D75366B.21696.2604652 at cclist.sydex.com>,
> "Chuck Guzis" <cclist at sydex.com> writes:
>
> > We may be using flash both for external storage and internal storage.
>
> Flash memory is problematic for secure data. Basically, its nearly
> impossible to securely erase a file from flash based disks.
I don't know how that can be true. I can understand deleting doesn't work
but is it true a simple dd if=/dev/zero of=/dev/sdx onto the flash card
doesn't fill it with zeros? And even if it doesn't, how hard is a flash
card to destroy? Hard disks are tough as nails but flash memory can be
snapped in two with your hands or a pair of pliers and burned...
Hi folks,
> > At 23:56 -0600 3/7/11, Jules wrote:
> >Yes, that seems to be the 'famous' one that gets mentioned everywhere.
> > It
> >seems it was of the shift-add variety. Anyone recall if it would work
> > with
> >signed integers? (I'm just trying to work out how the math works for
> > signed multiplies at the moment)
Mark Tapley wrote:
> MUL is unsigned arithmetic only.
Actually this isn't *quite* true. An n x n bit unsigned multiplier producing a 2n bit result also produces the correct signed results for the bottom n bits. Thus the 6809's MUL instruction produces the correct answer to A = -20 * B = -3 as it will store -60 in the B register.
The reason is because with the n x n bit multiplier multiplying a * b, where b is -ve => a* ((2^n) - (-b) ) = a*(2^n) + a*b = a*b since a*(2^n) doesn't contribute to to the lower n bits.
Consider a 2-bit multiplier dealing with the -ve * -ve and -ve * +ve cases:
01 * 10 = 0010, = -2 correct.
01 * 11 = 0011, = -1 correct.
10 * 10 = 0100, = 0 correct.
10 * 11 = 0110, = 2 (or -2) correct.
11 * 11 = 1001, = 1 correct.
-cheers from julz
On the Day #2 of the VCF East 7.0 (Sunday, May 15), there will be
something new and different -- folk singer Mike Agranoff will perform
his 1987 epic poem "The Ballad of Captain Crunch" and other
technical-themed works.
Really!
VCF East site: http://www.vintage.org/2011/east
VCF on Facebook: http://www.facebook.com/vcfeast7 (please 'like' us there)
Hey folks! I'm giggling like a little girl here, so I just wanted to
share. :) Recently I was lucky enough to acquire a Heath H-1 analog
computer from a very cool guy named Norman in Maine. My lady and I
drove up there to pick it up. It's...just plain awesome.
I've just finished putting together a page about it here, with pictures:
http://www.neurotica.com/wiki/Heath_H-1_Analog_Computer
-Dave
--
Dave McGuire
Port Charlotte, FL
Having in mind the recent mention in this list of one rare TRS-80 in eBay...
I'm searching for ONE or a COUPLE of these items in this new year.
* One Tandy 16 with Xenix
* One unibus PDP-11 (35, 40, 45, 70...) to run early Unix family versions
* One HP1000, 2000 or 3000
* One AT&T 3B2. I got one 3b1 and one 3b2/400, but this last in near to go
down and need a replacement.
* Xenix for the Altos 586, better in floppy format. I got one system but ist
Xenix kernel is damaged. The rest is operative.
* MP/M in 8" floppied for one Altos... 5-15 or 8000 ? I'm not sure about the
model nor the terminal that it needs (VT-220 would be fine?)
* One BA80 monitor for one compact (and funny) Nixdorf 8870.
I got too one PDP-8/E needed of some boards to be operative, but it can wait
by now.
All in the most compact but operative versions available (not the monitor,
of course). I have space available for them, but not in excess.
All of them in the EU (European Union) area.
Sergio
Hey folks. Check out eBay #310298743467. Is that a TRS-80 Model I
hiding inside the bottom front of that scan controller? It sure looks
like one to me.
-Dave
--
Dave McGuire
Port Charlotte, FL
Congratulations Dave.
I have only seen one up close - one time.
About 15 years ago I did get ahold of most ot the manuals from the heathkit
manual replacement service, all except the es-600 function generator manual.
I still have not found a reason it is called the HC-1. I just call it the
Heath Electronic Analog Computer Model ES-400, because es-400 is the model for
the cabinet kit.
I have a magazine cover about the Heath Analog Computer at
http://www.cowardstereoview.com/analog/readlist.htm
I've envious, Good Luck with it.
--Doug Coward Poulsbo, WA
The new home of the
Analog Museum and History Center is
http://www.cowardstereoview.com/analog