Suppose you have a *write-protected* DOS floppy and you do:

# mount -t msdos /dev/fd0 /floppy  <-- this is OK

# cp somefile /floppy  <-- a lot of error messages

# umount /floppy   <-- crash

Now the system tries to sync the dirty buffers and fails.  You have to
press a key to reboot. 

Is there anything wrong here or FreeBSD simply does not handle this in a
more elegant way? 

Thanks for any help.

--------------------------------------------------
Zhihui Zhang.  Please visit http://www.freebsd.org
--------------------------------------------------



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to