devfs sucks

Christos Ricudis ricudis at paiko.gr
Tue Apr 18 11:14:03 EEST 2000


Hello All!

To sxhma poy xrhsimopoiei to SVR4 gia na katanemei device names se diskous,
partitions ktl, kai oi parallages toy (/dev/dsk/c0t1d0s5, /dev/dsk/dks1d0p3),
mporw na pw oti moy aresei, mia kai mporeis panw katw me mia matia na
katalabeis poios diskos einai mounted poy. 

AYTO POY KANEI TO DEVFS OMWS EINAI EPIEIKWS APARADEKTO : 

root:[root]~# df
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/scsi/host0/bus0/target6/lun0/part1
                     2047984 1922505    23080     99%   /
/dev/scsi/host0/bus0/target5/lun0/part1
                     1517871 1501020        0    100%   /disk1
/dev/scsi/host0/bus0/target5/lun0/part2
                     1520959 1385214    57153     96%   /disk2
/dev/hda1             322611  188107   117841     61%   /boot
none                 8388608      48  8388560      0%   /var/shm
root:[root]~#

Ti mas deixnei ayto? Oti to epixeirhma kata toy devfs pws "fixes policy into
the kernel" den einai aplws kai mono 8ewrhtiko, einai PRAKTIKOTATO. Giati egw
twra DEN mporw na exw OUTE thn klassikh symperifora toy systhmatos pisw, OUTE
na to ry8misw na symperiferetai opws 8elw egw kai oxi o Richard Gooch, xwris na
gemisw pali to filesystem moy symbolic links (opote etsi ki alliws giati na
balw devfs?)

Mh moy peite gia ta compatibility devices. Kserw oti mporw akoma na kanw mount
an 8elw to /dev/sda, h to /dev/sd/c0b0t5u0p1 (h to /dev/ippopotamos akoma an
exw ftiaksei ena analogo symbolic link). Emena me noiazei omws to ti fainetai
telika, pisw apo to symbolic link. 8elw to output ths df kai ths mount na
xwrane se 80 sthles. Den kserw, mporei na eimai aplws opis8odromikos h
kollhmenos poy misw thn proodo kai thn anaptyksh kai isws na htan proppapous
moy ekeinos o an8rwpos poy ekapse ena apo ta prwta atmoploia epeidh 8a toy
epairnan th douleia ws kwphlath. 

--
/devfs/person/coords/north40 33.765/east22 55.130/Alt. 69ft/Christos Ricudis

Boh8a ena an8rwpo kai 8a se 8ymh8ei.
Thn epomenh fora poy 8a xreiastei boh8eia.

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




More information about the Linux-greek-users mailing list