当前位置: 技术问答>linux和unix
LINUX下如何使用软盘映象?
来源: 互联网 发布时间:2016-04-18
本文导语: mount -o loop HOPES.IMG /mnt/floppy ,为什么用这命令会不行。ERROR 32,ioctl: LOOP_SET_FLOPPY : invalid argument 。谁能告诉我怎么解决吗? | 加个 -t msdos 试下 | mount的手册 THE LOOP DEVIC...
mount -o loop HOPES.IMG /mnt/floppy ,为什么用这命令会不行。ERROR 32,ioctl: LOOP_SET_FLOPPY : invalid argument 。谁能告诉我怎么解决吗?
|
加个 -t msdos 试下
|
mount的手册
THE LOOP DEVICE
One further possible type is a mount via the loop device. For example,
the command
mount /tmp/fdimage /mnt -t msdos -o loop=/dev/loop3,blocksize=1024
will set up the loop device /dev/loop3 to correspond to the file
/tmp/fdimage, and then mount this device on /mnt. This type of mount
knows about three options, namely loop, offset and encryption, that
are really options to losetup(8). If no explicit loop device is men-
tioned (but just an option ?o loop?is given), then mount will try to
find some unused loop device and use that. If you are not so unwise
as to make /etc/mtab a symbolic link to /proc/mounts then any loop
device allocated by mount will be freed by umount. You can also free
a loop device by hand, using 鈒osetup -d? see losetup(8).
THE LOOP DEVICE
One further possible type is a mount via the loop device. For example,
the command
mount /tmp/fdimage /mnt -t msdos -o loop=/dev/loop3,blocksize=1024
will set up the loop device /dev/loop3 to correspond to the file
/tmp/fdimage, and then mount this device on /mnt. This type of mount
knows about three options, namely loop, offset and encryption, that
are really options to losetup(8). If no explicit loop device is men-
tioned (but just an option ?o loop?is given), then mount will try to
find some unused loop device and use that. If you are not so unwise
as to make /etc/mtab a symbolic link to /proc/mounts then any loop
device allocated by mount will be freed by umount. You can also free
a loop device by hand, using 鈒osetup -d? see losetup(8).
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。