On 21 August 2018 at 09:05, Xi Ruoyao <xry...@mengyan1223.wang> wrote:
> 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. It would appear so. Richard
-- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page