public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Adam Schrotenboer <ajschrotenboer@lycosmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Loopback, unable to release
Date: Thu, 24 May 2001 00:31:46 +0200	[thread overview]
Message-ID: <20010524003146.C12470@suse.de> (raw)
In-Reply-To: <3B0BD750.4010306@lycosmail.com>
In-Reply-To: <3B0BD750.4010306@lycosmail.com>; from ajschrotenboer@lycosmail.com on Wed, May 23, 2001 at 11:29:20AM -0400

On Wed, May 23 2001, Adam Schrotenboer wrote:
> Using 2.4.4-ac3 (as well as in 2.4.3*) I have found it impossible to 
> unmap a loopback
> 
> strace losetup -d /dev/loop0 (relevant portion)
> 
> open("/dev/loop0", O_RDONLY)            = 3
> ioctl(3, LOOP_CLR_FD, 0)                = -1 EBUSY (Device or resource busy)
> open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT 
> (No such file or directory)
> write(2, "ioctl: LOOP_CLR_FD: Device or re"..., 44ioctl: LOOP_CLR_FD: 
> Device or resource busy) = 44
> _exit(1)                                = ?
> 
> also I have loop.o as module, and use count never decreases, in fact 
> right now it is at 294.

Uhm weird. Are you talking about module use count or loop reference
count?

-- 
Jens Axboe


  reply	other threads:[~2001-05-23 22:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-23 15:29 Loopback, unable to release Adam Schrotenboer
2001-05-23 22:31 ` Jens Axboe [this message]
2001-05-24  2:18 ` Jeff Chua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010524003146.C12470@suse.de \
    --to=axboe@suse.de \
    --cc=ajschrotenboer@lycosmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox