Re: loopback failure with 2.2.x and NFS (BUG?)

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Thu May 18 2000 - 10:37:17 EST


>>>>> " " == ferret <ferret@phonewave.net> writes:

> -----BEGIN PGP SIGNED MESSAGE----- Ah, you mean a regular file
> on an NFS mount cannot be treated as a block device by the
> 2.2.x loopback device?

If you like. The 2.2.x loopback device uses the 'bmap()' inode
operation to map the file into 'blocks'.
If I understand correctly, this is a function that maps to the
physical location of the files on the underlying disk. It use in the
loopback device was apparently motivated by the needs of encryption
modules.

Under 2.3.x the loop device uses the generic file read/write routines,
instead, and leaves it up to the encryption modules to call bmap() if
needed. Those modules still won't work under NFS in 2.3.x.

Cheers,
  Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:15 EST