public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* ubirmvol:ing gluebied volumes
@ 2011-05-06 12:17 Ricard Wanderlof
  2011-05-06 19:07 ` Artem Bityutskiy
  0 siblings, 1 reply; 3+ messages in thread
From: Ricard Wanderlof @ 2011-05-06 12:17 UTC (permalink / raw)
  To: Linux mtd


I enabled the gluebi MTD emulation layer in the kernel, and was pleased to 
see all the UBI volumes coming up in /proc/mtd as mtd volumes.

However, one thing though, if I try to ubirmvol one of the UBI volumes, I 
get:

ubirmvol: error!: cannot UBI remove volume
           error 16 (Device or resource busy)

similar to what I get if I have a mounted ubifs residing in an UBI volume 
and try and ubirmvol the volume without umounting the file system.

Fair enough, I guess gluebi is keeping the UBI volume busy? But then how 
do I free it up? There's normally no way to disassociate mtd partitions 
from the underlying media, and I can't see any ubi tool that would do this 
either.

So is this an (unfortunate) consequence of using gluebi: that the 
underlying UBI volumes can't be removed?

Same thing happens if I try and ubidetach the UBI partition from the 
underlying mtd partition: Device or resource busy.

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-09  6:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-06 12:17 ubirmvol:ing gluebied volumes Ricard Wanderlof
2011-05-06 19:07 ` Artem Bityutskiy
2011-05-09  6:49   ` Ricard Wanderlof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox