[pso] tema 3 : directorul acpi

Ghervase Gabriel ghervase_gabriel at yahoo.com
Thu May 10 16:15:46 EEST 2007


Salut.

Am o problema si nu ma prind de la ce ar putea fi.

Montez sistemul de fisiere in /tmp/pitix.mnt (mount -t pitix /tmp/pitix.loop /tmp/pitix.mnt/ -o loop), iar apoi execut un ls -l /tmp/pitix.mnt pentru a vedea fisierele (readdir functioneaza corect).

Fisierele si directoarele sunt ok, mai putin directorul acpi care afiseaza "?" in toate coloanele (size, uid, gid, drepturi, etc). Celelalte fisiere sunt afisate corect.

In consecinta programul se opreste la testul 4, pentru ca nu poate executa 
de exemplu "stat -c %u /tmp/pitix.mnt/acpi/events/powerbtn".
Mesajul e stat: cannot stat ...... permission denied.

Aveti cumva vreo sugestie?

Multumesc







 
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070510/507298e3/attachment.html


More information about the pso mailing list