Re: DMA, ide-scsi, devfs by default

2002-08-27 Thread Miles Bader
Erich Schubert [EMAIL PROTECTED] writes:
 But if it is reliable i would recommend using it. It makes lot of things
 much easier and probably is much more intuitive for beginners as well.
 (just thinking of /dev/discs/disc0/part1 and /dev/cdroms/cdrom0 )

What's especially cool is that it hardwires the British (or Australian,
in this case, I guess) spelling of `disc' as part of the UI, though
`disk' seems far more widespread in the rest of the kernel (consistency,
what's that?)

-Miles
-- 
We live, as we dream -- alone




Re: DMA, ide-scsi, devfs by default

2002-08-27 Thread Colin Walters
On Tue, 2002-08-27 at 00:43, Miles Bader wrote:

 What's especially cool is that it hardwires the British (or Australian,
 in this case, I guess) spelling of `disc' as part of the UI

The idea that devfs hardwires anything seems to be very popular.  It is
also completely wrong.  You can use the userspace devfsd to transform
the names however you like.  For example, add these two lines to
/etc/devfs/devfsd.conf, and you'll get the correct[1] spelling.

REGISTER ^discs CFUNCTION GLOBAL mksymlink $devname disks
REGISTER ^discs/disc([0-9]*) CFUNCTION GLOBAL mksymlink ../$devname discs/disk\1

I'm sure there's a way to get rid of the original spelling, too, if you really 
want.

[1] :)




Re: DMA, ide-scsi, devfs by default

2002-08-27 Thread Thomas Bushnell, BSG
Miles Bader [EMAIL PROTECTED] writes:

 What's especially cool is that it hardwires the British (or Australian,
 in this case, I guess) spelling of `disc' as part of the UI, though
 `disk' seems far more widespread in the rest of the kernel (consistency,
 what's that?)

In American English usage, disk is standard for all usages *except*
for CDs, which are always compact discs





Re: DMA, ide-scsi, devfs by default

2002-08-27 Thread Martijn van Oosterhout
On Tue, Aug 27, 2002 at 01:43:05PM +0900, Miles Bader wrote:
 Erich Schubert [EMAIL PROTECTED] writes:
  But if it is reliable i would recommend using it. It makes lot of things
  much easier and probably is much more intuitive for beginners as well.
  (just thinking of /dev/discs/disc0/part1 and /dev/cdroms/cdrom0 )
 
 What's especially cool is that it hardwires the British (or Australian,
 in this case, I guess) spelling of `disc' as part of the UI, though
 `disk' seems far more widespread in the rest of the kernel (consistency,
 what's that?)

Hmm, I'm australian and a 'disk' seems to be what's in computer and a 'disc'
seems to be any other flat round thing :). Go figure.

Ofcourse, the solution is to have multiple config files and have a debconf
question:

How do you want your devices named:

  [1] American
  [2] British
  [3] Australian
  [4] Chinese
  [5] German
   etc...

/me runs...

-- 
Martijn van Oosterhout   kleptog@svana.org   http://svana.org/kleptog/
 There are 10 kinds of people in the world, those that can do binary
 arithmetic and those that can't.




Re: DMA, ide-scsi, devfs by default

2002-08-27 Thread Joseph Carter
On Tue, Aug 27, 2002 at 12:03:39AM -0700, Thomas Bushnell, BSG wrote:
  What's especially cool is that it hardwires the British (or Australian,
  in this case, I guess) spelling of `disc' as part of the UI, though
  `disk' seems far more widespread in the rest of the kernel (consistency,
  what's that?)
 
 In American English usage, disk is standard for all usages *except*
 for CDs, which are always compact discs

Yeah, but Americans can't spell.  ;)

-- 
Joseph Carter [EMAIL PROTECTED] I N33D MY G4M3Z, D00D111!!
  (Just ... don't ask)
 
toor netgod: what do you have in your kernel??? The compiled source for
   driving a space shuttle???
Spoo time to make a zip drive your floppy drive then. if the kernel
   doesn fit on that, the kernel is an AI



pgp9UlrlpWIGD.pgp
Description: PGP signature


Re: DMA, ide-scsi, devfs by default

2002-08-27 Thread Miles Bader
Colin Walters [EMAIL PROTECTED] writes:
  What's especially cool is that it hardwires the British (or Australian,
  in this case, I guess) spelling of `disc' as part of the UI
 
 The idea that devfs hardwires anything seems to be very popular.  It is
 also completely wrong.  You can use the userspace devfsd to transform
 the names however you like.

Um, it _does_ hardwire the names; the fact that you can apply additional
tools to correct them yourself doesn't change that -- you shouldn't
_have_ to do that in the normal case.

-Miles
-- 
97% of everything is grunge




Re: DMA, ide-scsi, devfs by default

2002-08-26 Thread Erich Schubert
BTW: i also remember having read that certain hardware doesn't work with
ide-scsi, so enabling ide-scsi for all IDE hardware is a bad choice.
(i think one of the boot-floppies people tried using ide-scsi by
default, and got some problem reports)
And additional drawback IMHO is the following: devfs is really nice, and
it's nice to see /dev/cdroms/cdrom0 - but with ide-scsi i also get
/dev/cdroms/cdrom1 ... 6 for different luns of my ide writer...
i havn't yet understood why they are created... it's kind of unintuitive
to have 7 nodes for my cd writer and 1 for my cd+dvd player... )

We also should watch what 2.5 will bring... now it seems like the IDE
redesign was reverted, but maybe it will come again or yet another
different approach. Maybe these kernels will be DMA-Enabled by default.
I think there is an option to enable DMA by default for certain chipsets
already - probably the ones where it is safe...

I like devfs very much, btw - but there were race conditions and such
stuff in there before, so the current state of devfs should be checked.
But if it is reliable i would recommend using it. It makes lot of things
much easier and probably is much more intuitive for beginners as well.
(just thinking of /dev/discs/disc0/part1 and /dev/cdroms/cdrom0 )

Greetings,
Erich

-- 
erich@(mucl.de|debian.org)--GPG Key ID: 4B3A135C
 The best things in life are free: Friendship and Love.
Die kürzeste Verbindung zwischen zwei Menschen ist ein Lächeln.
   Humor sollte immmer dabeisein, auch bei Problemen.