fdformat

低级格式化软盘

语法

  fdformat [ -n ] device

选项

   -n     无验证。这将禁用
          格式化后执行的验证.

fdformat在软盘上执行低级格式化

设备通常是以下之一(对于软盘设备,major = 2,而minor显示仅供参考):

          /dev/fd0d360  (minor = 4)
          /dev/fd0h1200 (minor = 8)
          /dev/fd0D360  (minor = 12)
          /dev/fd0H360  (minor = 12)
          /dev/fd0D720  (minor = 16)
          /dev/fd0H720  (minor = 16)
          /dev/fd0h360  (minor = 20)
          /dev/fd0h720  (minor = 24)
          /dev/fd0H1440 (minor = 28)

          /dev/fd1d360  (minor = 5)
          /dev/fd1h1200 (minor = 9)
          /dev/fd1D360  (minor = 13)
          /dev/fd1H360  (minor = 13)
          /dev/fd1D720  (minor = 17)
          /dev/fd1H720  (minor = 17)
          /dev/fd1h360  (minor = 21)
          /dev/fd1h720  (minor = 25)
          /dev/fd1H1440 (minor = 29)

当使用非标准格式时,或者如果之前未自动检测格式,通用软盘设备/ dev / fd0和/ dev / fd1将无法使用fdformat 。
在这种情况下,使用setfdprm(8)加载磁盘参数。

fdformat 命令实例:

Linux的Bash命令行(A-Z排序)