Floppy problems

I attempted to copy a file to a diskette and there was an I/O error.
I then cd'd out of the floppy0 and hit eject. Would not eject saying
device busy. Okay, so maybe the diskette was bad. The only way I could
clear the problem was by rebooting. My question is "How can I make the
unix machine eject the floppy and clear its busy condition?"
I can't accept that rebooting is the only answer. I am running
Solaris 2.5.1 on a SUN SPARC 10 workstation.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Use eject -f to force eject even if the device is
From the eject(1) man page.
Did you format it and newfs it first?

I know this is not the question you're asking but I/O errors are weird for a duff floppy.

Does the problem happen with other diskettes?
any busy device can be liberated by
fuser -k /dev/....
this kill all processes using this device;
if is mounted, you must also umount it

however, if the use of the device is done by a system call, the mode system being uninterruptible, it will be never possible to liberate it

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.