Re: About Loop Device

Michael Zhu (mylinuxk@yahoo.ca)
Thu, 10 Jan 2002 12:15:25 -0500 (EST)


Hi, now I can use the "mount -o loop /dev/fd0 /mnt" to
mount the loop device after I use mke2fs format the
/dev/fd0. But how can I test it? What are the
/dev/loop0,/dev/loop1.....,/dev/loop7 used for? Are
there any detailed informations about how to use the
loop device? I've read some souce code about the
loop.c file. But not fully understand. Can anyone give
me a hand on this. Thanks in advance.

Michael

On Wed, 9 Jan 2002, Michael Zhu wrote:

> Thanks for the reply. But when I try to use the
> command "mount -o loop /dev/fd0 /floppy", the mount
> returns an error saying "mount: you must specify the
> filesystem type". What is wrong? Thanks.
>
> Michael
>

man mount

mount -o loop -t ext2 /dev/fd0 /mnt # Usual linux
mount -o loop -t msdos /dev/fd0 /mnt # DOS
file-system
mount -o loop -t vfat /dev/fd0 /mnt # Win/NT, etc.
| | |__________
mount-point
| |_______________ device
|_________________________
File-system type

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine
(797.90 BogoMips).

I was going to compile a list of innovations that
could be
attributed to Microsoft. Once I realized that
Ctrl-Alt-Del
was handled in the BIOS, I found that there aren't
any.

______________________________________________________________________
Web-hosting solutions for home and business! http://website.yahoo.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/