Results 1 to 1 of 1
hey all,
I am a newbie. I encounter a weird problem on /proc.
I create a driver module.
There are some atrributes set to the module.
I need to cat ...
- 06-25-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 1
Can not list /proc/file (ls -all /proc)
hey all,
I am a newbie. I encounter a weird problem on /proc.
I create a driver module.
There are some atrributes set to the module.
I need to cat /proc/xxx/attr to know the value of those attrs.
So i create some proc entry and register some file operations for them.
But when i loggin the console with root.
I can not 'ls -a /proc/xxx' but i can echo 1 > /proc/xxx/attr.
And also can do cat /proc/xxx/attr and ls /proc/xxx/attr.
just can not ls -a /proc/xxx/attr. Any clue? is it normal?
Thanks.


Reply With Quote