[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Info-mtools] What does it take to support FAT12 dialects?
From: |
Alexander Huemer |
Subject: |
Re: [Info-mtools] What does it take to support FAT12 dialects? |
Date: |
Mon, 7 Jun 2021 11:22:51 +0000 |
User-agent: |
NeoMutt/20180716 |
On Mon, Jun 07, 2021 at 01:01:55PM +0200, Alain Knaff wrote:
> On 07/06/2021 12:54, Alexander Huemer wrote:
> [...]
> > My attempt was probably foolish...
> >
> > Though, I don't have success with your suggestion either.
> >
> > $ ~/src/_readonly/mtools/mtools-4.0.28/mcopy -i
> > /tmp/foo.img\|data_map=1s,zero31s,28s,skip1s * ::
> > Cannot initialize '::'
> > Bad target ::
> >
> > -Alex
> >
>
> Probably the image file got indeed damaged by the badly ordered command
> line of the first attempt (i.e. one of the files got copied over it
> rather than into it), and so the image file was no longer recognized as
> a valid DOS filesystem image.
>
> Could you check with mdir whether the image is still ok (as this
> previously succeeded)? If not, you might need to start over with a fresh
> image (mformat, or copy of an existing image).
$ rm /tmp/foo.img
$ ~/src/_readonly/mtools/mtools-4.0.28/mformat -C -T 4800 -h 2 -s 30 -H
1710948352 -i "/tmp/foo.img|data_map=1s,zero31s,28s,skip1s" ::
$ ~/src/_readonly/mtools/mtools-4.0.28/mcopy -i
/tmp/foo.img\|data_map=1s,zero31s,28s,skip1s * ::
Cannot initialize '::'
Bad target ::
$