According to James Mastros (sometime around Tue, Nov 28, 2000 at 11:29:24PM -0500):
> Here's two little perl scripts for misc/.  Both are worksforme quality, but
> I don't see why they shouldn't workforyou.
> 
> mount_image.pl will, given arguments of mountpoint image partitionnumber,
> mount the given partition.  It's very sensitive to the output format of 
> fdisk --
> it's correct for fdisk v2.10o; run fdisk -v (little v!) for your version 
> number.
> It assumes that you are root and that /dev/loop0 is free.
> Requires a linuxish fdisk, mount, and losetup.

sfdisk should be available on most distributions, and has output that
is designed to be stable and more easily parsable.

> freqcount_top.pl will parse the freqcounts file, and give the top 22 
> most-emulated
> opcodes, including dissassembley.  Note that the disasm isn't all that good.
> Requires a gnuish as and objdump.
> 
>    -=- James Mastros

[snip perl scripts]
-- 
Kenneth Arnold <[EMAIL PROTECTED]> / kcarnold / Linux user #180115
http://arnoldnet.net/~kcarnold/

PGP signature

Reply via email to