[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dazuko-devel] Mount loop device error with dazukofs: ioctl: LOOP_SE
From: |
John Ogness |
Subject: |
Re: [Dazuko-devel] Mount loop device error with dazukofs: ioctl: LOOP_SET_FD: Invalid argument |
Date: |
Sun, 22 Mar 2009 14:50:39 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
On 2009-03-19, Александр Корков <address@hidden> wrote:
> Hi, I can't mount iso images.
>
> to reproduce:
>
> $ sudo modprobe dazukofs
> $ sudo mount -t dazukofs ./dazukofs_test/ ./dazukofs_test/
> $ sudo mount -o loop ./dazukofs_test/debian-500-i386-DVD-1.iso /tmp/a
> ioctl: LOOP_SET_FD: Invalid argument
>
> I use:
> DazukoFS 3.0.0
> Linux version 2.6.20.4-486 (address@hidden) (gcc version 4.1.2 20061115
> (prerelease) (Debian 4.1.1-21)) #1 Sat Oct 20 16:29:17 MSD 2007
The patch for Linux 2.6.20 includes an extra check that only allows
directories to be mounted. You can find this check in super.c, the
function dazukofs_read_super().
if (!S_ISDIR(lower_root->d_inode->i_mode)) {
err = -ENOENT;
goto out_put;
}
If you remove this check, you should be able to mount ISO images
without a problem.
John Ogness
--
Dazuko Maintainer