/dev -- Device representation

Christos Ricudis ricudis at paiko.gr
Fri Jun 30 19:14:51 EEST 2000


Hello Linux-greek-users!

  On 28 Jun 00, Linux-greek-users wrote to All with subject "/dev -- Device
representation":

 L> Mporei kapoios na moy e3hghsei (syntoma, kai oxi se mhkos :-) )
 L> ton tropo me ton opoio anaparistantai oi syskeyes toy systhmatos 
 L> ston katalogo /dev? 

Einai ay8airetos. Synh8ws isxyoyn kata symbash osa anaferontai sto
/usr/src/linux/Documentation/devices.txt. 

Ayto de me empodizei bebaia na onomasw ton plotter moy /dev/hda1. Kai ayto
bebaia me th seira toy den empodizei to userland na moy dwsei thn apanthsh py
moy aksizei, an dokimasw na to kanw. 

 L> Ti einai ta major kai minor numbers, kai tetoia.

Yparxoyn dyo diaforetika namespaces - char devices kai block devices. Ta major
numbers se ka8e namespace ginontai allocate stoys drivers toy systhmatos,
synh8ws ena major number ana driver [-1]. Ta minor numbers ta diaxeirizetai o
driver opws goustarei. Synh8ws ena minor number antistoixei se ena ksexwristo
device poy diaxeirizetai o driver. 

[-1] Fysika ola ayta einai sumbatika - ta minor kai major numbers den einai se
telikh analysh para indexes se kernel driver entry points - o ka8e kernel
developer mporei na kanei sxedon o,ti tou kapnisei [-2]

[-2] H oti tou epitrepoyn ta #@$%@#$requirements na kapnisei. Ypologiste posa
minor kai major devices xreiazontai 63 partitions/disk, 15 disks/scsi chain, 4
scsi chains/host adapter, 5 host adapters/bus kai 8a katalabeis ena meionekthma
poy exei to sygkekrimeno allocation scheme. 

--
Christos Ricudis

Stolise ki esy ena dentro gia tis giortes.
Kremase twra ena papa. Mporeis.

--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list