lkml.org 
[lkml]   [1996]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: loop with msdos
Mark W. Eichin:

::: Does loop work with msdos file systems?

: It never has before,

Yes, it works.

::: ll_rw_block: device 07:00: only 1024-char blocks implemented (512)

: Apparently the loop-mounted filesystem has to have the same blocksize
: as the underlying filesystem. I tried tweaking the code 6 months ago
: but never got anywhere with it (ended up using mtools instead :-)

Yes, the present loop wants the same blocksize as the underlying
file system. For Ted that was reasonable - he mainly thought of
loop as a way to encrypt things (I think). But as it turns out loop
is immensely useful to turn a file into a disk or filesystem,
and for that use it is unnatural to require the block sizes to be
the same. So, sooner or later that restriction will have to be
removed. Fortunately, the msdos file system accepts the option
"blocksize=1024", so you can also work with msdos file systems today.

Andries


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.088 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site