Hello to you all! Let me present you my situation first and then the problem I have.
I have an image file "keys" that I use to keep the encryption keys for another files, "img1" is one of them Everything goes smooth when I attach the images. I can do: doas vnconfig vnd0 keys doas vnconfig vnd1 img1 then doas bioctl -c C -k /dev/vnd0a -l /dev/vnd1i softraid0 and mount /dev/sd1i /mnt/img This is the output of doas vnconfig -l vnd0: covering keys on sd0i, inode 3 vnd1: covering img1 on wd0k, inode 751829 The problem appears when I want to release the virtual deviceses. doas umount /mnt/img doas bioctl -d sd1 doas vnconfig -u vnd1 work as expected, but this is what I get when I try to release vnd0 doas vnconfig -u vnd0 vnconfig: VNDIOCCLR: Device busy This is the output of "doas vnconfig -l" vnd0: covering keys on sd0i, inode 3 vnd1: not in use Is this a bug or I do something wrong? Thank you!