About Loop Device
Hello,everyone,does anyone be familiar with the loop device? I just read some source code of loop.c file. I have some questions about this loop device. I am a new one to this loop device. Thanks in advance.
I want to implement my own loop device which is used to encrypt the whole disk,say /dev/fd0, even including the boot sector on the floppy disk. How can I make a connection between my own loop device with the floppy disk? I mean how I can connect the loop device with the floppy disk to hook the READ/WRITE operations to the floppy disk.
Michael
______________________________________________________________________
Web-hosting solutions for home and business! http://website.yahoo.ca
On Wed, 9 Jan 2002, Michael Zhu wrote:
[SNIPPED...]
Quoted 7 lines
connection between my own loop device with the floppy disk? I mean how I can connect the loop device with the floppy disk to hook the READ/WRITE operations to the floppy disk.
Michael
mount -o loop /dev/fd0 /mnt
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.
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
--- "Richard B. Johnson" <[email protected]>
Quoted 22 lines · wrote:
On Wed, 9 Jan 2002, Michael Zhu wrote:
[SNIPPED...]Quoted 1 line
connection between my own loop device with the
floppy
Quoted 1 line
disk? I mean how I can connect the loop device
with
Quoted 1 line
the floppy disk to hook the READ/WRITE operations
to
Quoted 4 lines
the floppy disk.
Michael
mount -o loop
/dev/fd0/mntCheers,
Dick JohnsonPenguin : Linux version 2.4.1 on an i686 machine
(797.90 BogoMips).
Quoted 8 lines
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
Quoted 4 lines · Michael Zhu
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.
You probably want losetup(8) instead of mount.
-Doug
Signature · 2 lines
Let us cross over the river, and rest under the shade of the trees. --T. J. Jackson, 1863
Can you explain that detailed for me? I mean the whole command I can use to connect the loop device and the floppy disk.
Thanks.
Michael
Quoted 4 lines · --- Doug McNaught
Quoted 2 lines · Michael Zhu
Thanks for the reply. But when I try to use the
command "mount -o loop/dev/fd0/floppy", the
Quoted 12 lines
mount
Quoted 1 line
returns an error saying "mount: you must specify
the
Quoted 1 line
filesystem type". What is wrong? Thanks.
You probably want losetup(8) instead of mount.
-Doug
Signature · 3 lines
Let us cross over the river, and rest under the shade of the trees. --T. J. Jackson, 1863
______________________________________________________________________
Web-hosting solutions for home and business! http://website.yahoo.ca
Quoted 3 lines · Michael Zhu
Can you explain that detailed for me? I mean the whole command I can use to connect the loop device and the floppy disk.
Is there some problem with the manpage? Seems pretty clear to me.
-Doug
Signature · 2 lines
Let us cross over the river, and rest under the shade of the trees. --T. J. Jackson, 1863
Hi, I just want to confirm whether the loop device can encrypt the whole data on the disk even including the boot sector. I want to make a whole block level encryption. Thanks.
Michael
______________________________________________________________________
Web-hosting solutions for home and business! http://website.yahoo.ca
Quoted 6 lines · Michael Zhu
Hi, I just want to confirm whether the loop device can encrypt the whole data on the disk even including the boot sector. I want to make a whole block level encryption. Thanks.
Michael
This may be a troll. How would you boot? Who decrypts during the boot?
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.
On Wed, Jan 09, 2002 at 12:42:20PM -0500, you [Richard B. Johnson] claimed:
Quoted 9 lines · Michael Zhu
Quoted 5 lines
Hi, I just want to confirm whether the loop device can encrypt the whole data on the disk even including the boot sector. I want to make a whole block level encryption. Thanks.
This may be a troll. How would you boot? Who decrypts during the boot?
With a boot floppy, perhaps?
-- v --