Re: devfs Ausgabe von df
Am 20.05.2003 um 17:06:44 CEST, schrieb Andreas Metzler:
> Frank Schmitz <spam@schradt.no-ip.org> wrote:
> [...]
> > /dev/mga_vid gibts übrigens auch nicht, somit funzt mplayer nur mit
> > -vo xv statt -vo xmga. devfs Support ist einkompiliert.
>
> ---Das funktioniert bei mir ---
> # /etc/modutils/matrox
> alias /dev/mga_vid char-major-178
> alias char-major-178 mga_vid
> options mga_vid mga_ram_size=16
> post-install mga_vid /bin/mknod -m 660 /dev/mga_vid c 178 0 ; chgrp video /dev/mga_vid
> post-remove mga_vid rm -f /dev/mga_vid
> --------------------------------
Bei mir steht bloß:
alias char-major-178 mga_vid
alias /dev/mga_vid mga_vid
Und das hat vorher ohne devfs funktioniert.
Sollte das nun nicht auch reichen? Der Device-Link wird ja korrekt
angelegt, aber aus irgendwelchen Gründen kann mplayer damit dennoch
nichts anfangen.
Hmmm:
# rmmod mga
# insmod mga
Speicherzugriffsfehler
...
Nachdem ein neu kompilierter Kernel samt Modulen nicht booten wollte,
hab ich dann den Fehler gefunden. Hatte im /etc/modutils/1devfsd die
letzte Zeile auskommentiert (include /etc/modules.conf) und damit wohl
ne Rekursion herbeigeführt, die das modprobe, etc. lahmgelegt hat.
Also mplayer auf /dev/mga_vid funzt nun wieder.
_Nicht_ jedoch die Ausgabe vom df in gewohnter Form (ursprüngliche
Frage) und die Permissions für /dev/sg2 werden auch nicht korrekt
gesetzt, obwohl in /etc/devfs/perms folgendes eingetragen ist:
REGISTER ^sg2$ PERMISSIONS root.users 0660
$ ll /dev/sg2
lr-xr-xr-x 1 root root 36 2003-05-22 17:06 /dev/sg2 ->
scsi/host0/bus0/target6/lun0/generic
--
Gruß
Frank
Reply to: