FS#71547 - [mtool]s regression, mcopy fails with no directory slots
Attached to Project:
Arch Linux
Opened by Maciek Borzecki (bboozzoo) - Monday, 19 July 2021, 11:45 GMT
Last edited by David Runge (dvzrv) - Friday, 15 October 2021, 07:46 GMT
Opened by Maciek Borzecki (bboozzoo) - Monday, 19 July 2021, 11:45 GMT
Last edited by David Runge (dvzrv) - Friday, 15 October 2021, 07:46 GMT
|
Details
Description:
A regression from mtools 4.0.32. mcopy can no longer copy the content to the image. Additional info: * mtools 1:4.0.33-1 Steps to reproduce: dd if=/dev/zero of=img bs=1M count=512 mkfs.vfat -F 32 img # have a tree with some directories and files inside $ du -sch work/image-home/root/ 371M work/image-home/root/ 371M total mcopy -s -i img work/image-home/root/EFI :: Produces: mcopy: No directory slots mcopy: No directory slots |
This task depends upon
Closed by David Runge (dvzrv)
Friday, 15 October 2021, 07:46 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with 4.0.34
Friday, 15 October 2021, 07:46 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with 4.0.34
However, I believe this is a user error (not a packaging bug). You did not create the directories before trying to copy to them.
Have a look at how we do that in archiso [1].
If still you think you have hit a bug in mtools, please contact the maintainer of mtools and report it: https://lists.gnu.org/mailman/listinfo/info-mtools
[1] https://gitlab.archlinux.org/archlinux/archiso/-/blob/c88fe823b670663cd3c5ee1d33c3f921822e2887/archiso/mkarchiso#L539-543
The behavior you were relying upon might have been seen as a bug upstream and thus the behavior changed.
To find that out for sure, you'd have to ask the maintainer about this though as there is no way of - painlessly - telling without a publicly accessible source repository (or fixing anything for that matter).
Closing: This is not a packaging issue but an upstream issue.
[1] https://man.archlinux.org/man/mcopy.1#Description
Glad it works now and sorry for going all explainy here...