Find the answer to your Linux question:
Results 1 to 3 of 3
as the subject says i would like to format a floppy disk i went to shell and tried Code: fdformat /dev/fd0 and this is what it said Code: Double-sided, 80 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User gassman's Avatar
    Join Date
    Jan 2005
    Location
    Midwest USA
    Posts
    292

    formating a floppy


    as the subject says i would like to format a floppy disk i went to shell and tried
    Code:
    fdformat /dev/fd0
    and this is what it said
    Code:
    Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
    Formatting ...
    ioctl(FDFMTTRK): Device or resource busy
    is there another command that im not using??
    If we couldn't laugh we would all go insane--Jimmy Buffett


    Registered Linux user # 376962

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    Make sure it's not mounted, you can't format while it's mounted.

    Also, fdformat only performs a low level format, doesn't write any filesystem to the disk. Really fdformat is useful for testing if the disk is still good. Use mke2fs, mkreiserfs, mformat, or whatever tool for whatever filesystem to write the filesystem. Note that you don't need to fdformat it first.

  3. #3
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    Just to folow a little on what valan said, if you cannot umoun it, issue the command
    Code:
    fuser /dev/fd0
    to see if any process is taking the floppy, and kill the process to make umount possible
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •