Skip to contentSkip to conversation

Mounting /dev/loop0: Device or resource busy

DISCUSSION Rob Landley 2 participants 3 messages Mar 14, 2006 – Mar 16, 2006

lore
Share & tools
lore
#0 lore raw

Why can I mount most block devices multiple times, but when I try to mount a loop device more than once under 2.6.16-rc5 it tells me it's busy?

This used to work...

Rob

Signature · 1 line
Never bet against the cheap plastic solution.
#1 lore raw
Quoted 4 lines

Why can I mount most block devices multiple times, but when I try to mount a loop device more than once under 2.6.16-rc5 it tells me it's busy?

It should be possible to mount a block device multiple times using the _same_ filesystem.

Quoted 1 line

This used to work...

bd_claim() is a starting point.

Jan Engelhardt

Signature · 1 line
| Software Engineer and Linux/Unix Network Administrator
#2 lore raw
Quoted 5 lines · Jan Engelhardt
Quoted 2 lines

Why can I mount most block devices multiple times, but when I try to mount a loop device more than once under 2.6.16-rc5 it tells me it's busy?

It should be possible to mount a block device multiple times using the _same_ filesystem.

It turns out it complains if the flags are different. The first mount was with no flags, the second was -o ro. (I thought the kernel had been upgraded so that would work. My bad.)

Rob

Signature · 1 line
Never bet against the cheap plastic solution.