[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: loopfs ?



* Stan Brown <stanb@awod.com> [2001.10.25 10:51:26-0400]:
> So, as a sanity check, could someone confirm that this _does_ mean I have
> loopfs enable?

loopfs isn't a file systems, but this means that you can loop mount.
loop mounting is mounting a file systems not from a device, but from a
file: so:

dd if=/dev/zero of=filesystem.file bs=1024k count=16
mkfs -t ext2 filesystem.file
mkdir mountpoint
mount -o loop filesystem.file ./mountpoint

will create a 16Mb file, format a filesystem onto it, then mount the
result at ./mountpoint.

for this to work, you need that particular kernel option enabled, and
if compiled as a module, the module must be loaded (loop.o).

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
  
"it usually takes more than three weeks
 to prepare a good impromptu speech.
                                                         -- mark twain

Attachment: pgpskz5hAVSar.pgp
Description: PGP signature


Reply to: