linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* unable to mount 'remote' loopback block devices
@ 2003-02-11 22:17 Siim Vahtre
  2003-02-12 20:36 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Siim Vahtre @ 2003-02-11 22:17 UTC (permalink / raw)
  To: linux-kernel


Hi,

When I try to mount a 'remote' image (on NFS/samba share) I get
"ioctl: LOOP_SET_FD: Inappropriate ioctl for device"

However, when I copy that same image to local hd, it works.

2.5.59 and 2.5.60 both have the same problem, 2.4 was OK.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: unable to mount 'remote' loopback block devices
  2003-02-11 22:17 unable to mount 'remote' loopback block devices Siim Vahtre
@ 2003-02-12 20:36 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2003-02-12 20:36 UTC (permalink / raw)
  To: Siim Vahtre; +Cc: linux-kernel

Siim Vahtre <siim@pld.ttu.ee> wrote:
>
> 
> Hi,
> 
> When I try to mount a 'remote' image (on NFS/samba share) I get
> "ioctl: LOOP_SET_FD: Inappropriate ioctl for device"
> 
> However, when I copy that same image to local hd, it works.
> 
> 2.5.59 and 2.5.60 both have the same problem, 2.4 was OK.

This broke when the loop driver was converted to use the backing
filesystems's sendfile operation.  NFS, SMBFS and CIFS (at least) do not
implement sendfile, so none of them can now be looped upon.

Trond says we can get NFS sendfile working pretty easily.  As for the others,
we may need to revert the loop change.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-12 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-11 22:17 unable to mount 'remote' loopback block devices Siim Vahtre
2003-02-12 20:36 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).