info-mtools
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Info-mtools] 4.0.33 mcopy regression


From: Maciek Borzecki
Subject: [Info-mtools] 4.0.33 mcopy regression
Date: Fri, 23 Jul 2021 07:18:32 +0200

Hi,

4.0.33 recently landed in Arch and I have noticed a regression in the
behavior of mcopy. Specifically this fails:

$ dd if=/dev/zero of=img bs=1M count=512
$ mkfs.vfat -F 32 img
$ mkdir -p EFI/{foo,bar}
$ touch EFI/{foo/grubx64.efi,bar/file}
$ mcopy -s -i img EFI ::
mcopy: No directory slots
mcopy: No directory slots

Inspecting with mdir shows that EFI was created, but nested
directories were not:

$ mdir -i img ::
 Volume in drive : has no label
 Volume Serial Number is 00DB-54C9
Directory for ::/

EFI          <DIR>     2021-07-23   7:13
        1 file                    0 bytes
                        535 793 664 bytes free
$ mdir -i img ::EFI/
 Volume in drive : has no label
 Volume Serial Number is 00DB-54C9
Directory for ::/EFI

.            <DIR>     2021-07-23   7:13
..           <DIR>     2021-07-23   7:13
        2 files                   0 bytes
                        535 793 664 bytes free

Repeating mcopy -s -i .. a couple of times actually makes the whole
hierarchy be created correctly with more intermediate directory paths
being created with each invocation.

This has worked for a couple of years now, and I have confirmed that
4.0.32 was fine as well. Anyone else seeing this too?

Thanks,
-- 
Maciej Borzęcki



reply via email to

[Prev in Thread] Current Thread [Next in Thread]