Format Floppy Disk on Solaris

The rmformat utility is used to format, label, partition, and perform other miscellaneous functions on removable, rewritable media that include floppy drives, IOMEGA Zip/Jaz products, USB mass strorage and the PCMCIA memory and ata cards.

The mkfs utility constructs a file system on the device (format i.e. create file system).

Format floppy:
1) Use the command rmformat to format the floppy disk:

rmformat –F quick /dev/rdiskette

OR

rmformat –F quick /vol/dev/diskette0

OR

rmformat –F long /dev/rdiskette

OR

rmformat –F long /vol/dev/diskette0

Where,

§                     -F long : Formatting with media verification

§                     -F quick : Formatting w/o media verification

Solaris >Create the UFS file system on floppy
1) Use the command rmformat to format the floppy disk:

# newfs /dev/rdiskette

Solaris > How to check the floppy disk (scan disk i.e. just like scandisk in windows)
1) Use the command fsck:

# fsck –F ufs /dev/rdiskette

Solaris > Create the PCFS (FAT) file system on floppy:
1) Use the command mkfs command to format the floppy disk using FAT file system:

# mkfs –F pcfs /dev/rdiskette

Solaris > How to fix bad blocks on floppy
1) Use the command rmformat to with –c {block number} switch to fix bad block:

# rmformat -c 32 /dev/rdiskette

2) Then verify that it was fixed as follows:

# rmformat –V read /dev/rdiskette

 

 

 

如果将软盘插到带SCSI 可删除媒体设备的系统上的软驱中,然后选择从

OpenWindowsTM “文件管理器中的文件菜单中的软盘文件管理器将软盘安装

/floppy 目录中,但它无法显示列示磁盘内容的文件管理器视图。文件管理器的

文件菜单中没有格式化软盘弹出软盘选项。

解决办法:选择以下解决方法之一。

_ 要查看软盘的内容,请执行这些步骤:

1. 单击文件管理器图标路径中的/ 文件夹。

2. 双击/ 显示窗口中的floppy 文件夹。

3. 双击/floppy 显示窗口中的floppy0 文件夹。

_ 要格式化软盘,请执行以下步骤:

1. 卸载软盘。

% volrmmount -e floppy0

其中floppy0 /floppy 目录下的软盘的文件夹。

2. 格式化软盘。

% fdformat floppy0

Solaris 运行时问题29

_ 要在软盘上创建一个新的文件系统,请执行以下步骤:

注意: 如果您已经卸载了软盘,请转至此解决方法的第2 步。

1. 卸载软盘。

% volrmmount -e floppy0

其中floppy0 /floppy 目录中软盘的文件夹。

2. 在软盘上创建合适的文件系统。

_ 要在软盘上创建一个新的UFS 文件系统,请使用newfs 命令:

% newfs /vol/dev/aliases/floppy0

_ 要在软盘上创建一个PCFS 文件系统,请使用mkfs 命令:

% mkfs -F pcfs /vol/dev/aliases/floppy0

3. 装载软盘。

% volrmmount -i floppy0

_ 要弹出软盘,请使用eject 命令。

% eject floppy0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值