Using a floppy
来源:互联网 发布:淘宝如何开虚拟网店 编辑:程序博客网 时间:2024/06/05 08:50
Using a Floppy (Solaris)
Purdue Engineering Computer NetworkSolaris provides a new tool called the Volume Manager which replaces the special commands
cdmount, dosmount, fdmount, mountcd,
and mountfd
. The Volume Manager automatically detects when a CD-ROM or floppy disk has been inserted into the drive, and mounts it automatically.To make use of a floppy disk, simply insert it into the disk drive, and it will be mounted by the Volume Manager.
NOTE
On many Sun hardware platforms, it is not possible to automatically detect the presence of a floppy disk in the drive. If the Volume Manager does not appear to mount your floppy disk, execute the volcheck
command, which will tell the Volume Manager to go look for a disk in the disk drive.
Once you have inserted the floppy disk into the drive and, if necessary, executed the volcheck
command, one of two things will occur:
- If the floppy disk has not yet been formatted, you will see a couple of errors on the workstation console:
fd0: read failed (40 1 0)
fd0: bad formatNothing else will appear to happen. Before you can make use of the floppy disk, you must format it with the
fdformat
command. If you are using a high-density (1.44MB) disk, the following command will format the disk:
% fdformat
Press return to start formatting floppy in /vol/dev
/rdiskette0/unformatted.If you are using a low-density (720KB) disk, use the
-l
option tofdformat
.- If you would like to make an MS-DOS-compatible floppy disk, specify the
-d
option to thefdformat
command. After formatting, eject the floppy disk with theeject
command:% eject floppy
Then insert it in the drive again, and type
volcheck
once more. The floppy disk can now be accessed as the directory /floppy/floppy0. Files which you place in this directory will be readable by MS-DOS systems. However, you are responsible for making any character conversions (such as carriage-return line-feed substitutions) required by the MS-DOS system. Once you are done with the disk, eject it using theeject
command as described above. - If you would like to make a UNIX-compatible floppy disk, you must install a file system on the disk. To do this, use the
newfs
command:% /usr/sbin/newfs /vol/dev/aliases/floppy0
/vol/dev/aliases/floppy0: 2880 sectors in 80
cylinders of 2 tracks,18 sectors
1.4MB in 5 cyl groups (16 c/g, 0.28MB/g, 128 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 640, 1184, 1792, 2336,
After creating the file system, eject the floppy disk with the
eject
command:% eject floppy
Then insert it in the drive again, and type
volcheck
once again. The floppy disk can now be accessed as the directory /floppy/floppy0. Once you are done with the disk, eject it using theeject
command as described above. - If you would like to make an MS-DOS-compatible floppy disk, specify the
- If the floppy disk has already been formatted, either with a UNIX or an MS-DOS file system, it will automatically be mounted as /floppy/floppy0. You can access the files in this directory just as if they were on your local workstation. Once you have finished with the disk, eject it from the disk drive with the
eject
command:
% eject floppy
- Using a floppy
- Using A Subquery
- Using a LocationListener
- Using a Plugin
- floppy disk monitor
- Use floppy on Solaris
- linux-floppy.c
- bootstrap from floppy disk
- FLOPPY BOOT SECTOR
- Remote scripting using a servlet
- A brief on using CreateRemoteThread
- Using MacPorts behind a firewall
- Using Strings with a Switch
- Using a Stateful Session Bean
- Using Emacs as a server
- Sort a List using comparer
- Using a Dynamic Class Name
- Stack Using a C++ Template:
- uClinux移植和分析(2)
- Oracle之函数与触发器
- 单独存放文件的script
- uClinux移植与分析(3)
- MYSQL出错代码列表
- Using a floppy
- 在uClinux下建立基于NOR Flash的JFFS2的文件系统
- 条码生成代码(Code39码)
- 如何编译一个可以运行的 uClinux Kernel
- 了解何时使用 Override 和 New 关键字
- 数据结构——基本数据结构之栈
- 亲手编译uClinux
- vc中debug和release的不同
- uClinux编译方法