[Bug 257960] mkimg: partition 1: No such file or directory when using a ":" in the file name

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Aug 2021 06:17:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257960

--- Comment #2 from Franco Fichtner <franco@opnsense.org> ---
Sorry, was in a hurry yesterday:

# touch th:is
# mkimg -s gpt -o out:ok -p freebsd-ufs:=th:is
mkimg: partition 1: No such file or directory

There's two possible workarounds at the moment: use relative paths if the
directory contains a colon or use a symbolic link if the file name contains it.

If you do

# touch th

and run the prior command you can see that it does find the file now and fails
with

mkimg: writing metadata: Device not configured

as expected.


Cheers,
Franco

-- 
You are receiving this mail because:
You are the assignee for the bug.