On 2018-08-21 at 08:45 +0100, Richard Melville wrote: > There isn't a -D flag for losetup, only a -d (lower case).
Quote from losetup(8), util-linux 2.31.1: > -d, --detach loopdev... > Detach the file or device associated with the specified loop > device(s). Note that since Linux v3.7 kernel uses "lazy device > destruction". The detach operation does not return EBUSY error > anymore if device is actively used by system, but it is marked > by autoclear flag and destroyed later. > > -D, --detach-all > Detach all associated loop devices. Maybe you should update your util-linux version. -- Xi Ruoyao <[email protected]> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
