On 08/20/2018 01:36 PM, [email protected] wrote:
I got this error on shutdown, when I had attached loop devices.

Looking in mountfs I found this command

umount --all --detach-loop --read-only \
        --types notmpfs,nosysfs,nodevtmpfs,noproc,nodevpts >/dev/null

nodevtmpfs excludes all devtmpfs filesystems from unmounting.
/dev is a devtmpfs filesystem, therefore all loop devices are excluded.
So --detach-loop is a no op.

I have inserted the line

losetup -D

before the umount command, and all is fine now.

Interesting. That has not changed since 2012. You are the first to notice it. I'll fix it.

Thanks for the report.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to