On 2009-03-19, Александр Корков <kor...@yandex.ru> 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 (r...@alexander) (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 _______________________________________________ Dazuko-devel mailing list Dazuko-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/dazuko-devel