Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 1997 13:11:10 -0400 (EDT)
From:      David Gilbert <dgilbert@jaywon.pci.on.ca>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        dgilbert@jaywon.pci.on.ca (David Gilbert), bugs@FreeBSD.ORG
Subject:   Re: Problems with CCD.
Message-ID:  <199706021711.NAA19380@repeat.pci.on.ca>
In-Reply-To: <19970602082646.RS47657@uriah.heep.sax.de>
References:  <199706010545.BAA16048@repeat.pci.on.ca> <199706020333.VAA00695@pluto.plutotech.com> <199706020426.AAA03842@repeat.pci.on.ca> <19970602082646.RS47657@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "J" == J Wunsch <j@uriah.heep.sax.de> writes:

J> As David Gilbert wrote:
>> Oi... Ok.  Doing that by habbit.  As a precaution, maybe newfs
>> should either refuse the non-raw device or use the raw device?  I
>> realize the warning was there, but I have successfully ignored that
>> warning for many years.

J> Which was plain stupid. :) You should _never_ ignore warnings,
J> unless you know why you're ignoring it.  (Q: Tell me at least three
J> reasons why you should not use buffered devices for things like
J> newfs, or tar(1) to a floppy.)

	Can't ignore that...

1) /dev/rccd0c has one more character to type than /dev/ccd0c
2) similarity (in tar's case) of st0 to ccd0 (have had experiences
    where the raw tape device didn't work.
3) many devices do their own buffering
4) might eject the floppy too soon.

J> This looks similar to the crashes/hangs reported by people for
J> accessing floppies via the buffered device, in particular in error
J> situations (like no floppy there at all).  I've never been able to
J> reproduce them.  Perhaps i should also get the wrong habit of using
J> the buffered devices... in the hope to see the bug some day, too.

	Well... it is true that things shouldn't lock up the OS on a
simple user error.  Another way to look at it is that ccd0c and rccd0c
are two different views of the same thing.  Something using them
should be able to choose the interface it finds most useful.

Dave.

-- 
============================================================================
|David Gilbert, Velocet Communications.       | Two things can only be     |
|Mail:       dgilbert@velocet.net             |  equal if and only if they |
|http://www.velocet.net/~dgilbert             |   are precisely opposite.  |
=========================================================GLO================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706021711.NAA19380>