Package: cloop-src
Version: 2.01.5-3
Severity: important

I've been experimenting with a 3.7Gb compressed images and I've noticed
that when I specify then when loading cloop module like this:
% modprobe cloop file=bigfile
it fails saying "Unable to get file bigfile for cloop device". On the other
hand, if I use ioctl command via losetup, it does not have this problem:
% modprobe cloop
% losetup /dev/cloop bigfile

Looking at the source, the difference is that during load cloop uses
filp_open() call whereas during ioctl it uses fget(). I'm not quite
familiar with those calls to know if it will be correct to change
filp_open to fget. I hope that package maintainer knows better.

On related note - on this failure cloop just returns -EINVAL instead of
first releasing MAJOR number as well. As a result, after this failure
you need to reboot before you will be able to load cloop again.

Sincerely,
Igor

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages cloop-src depends on:
ii  module-assistant              0.7.5      tool to make module package creati

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to