Results 1 to 10 of 10
Hey there
I m inside the /proc/acpi/ directory , there is a file called event present.
Code:
file event
returns an empty file. But
Code:
vi event
opens the file ...
- 05-17-2009 #1
What is a event in linux and why is access to /proc/acpi/event denied even to root
Hey there
I m inside the /proc/acpi/ directory , there is a file called event present.returns an empty file. ButCode:file event
opens the file but says access denied( I m the root here). I went through the man pages of acpid and found it mentioning event file is read by it( wat is it here exactlyCode:vi event
) and what exactly is an event
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-18-2009 #2
I'm not sure, but wasn't the /proc directory mounted by the kernel? I'd stay away from that directory unless you know what you're doing, and let the kernel manage all of it. At least do not edit any of the files.
- 05-18-2009 #3
I'd use cat or less commands to view stuff in proc. Unless you know what you're doing, inputing data into stuff in proc can blow up your computer .... maybe not, but it will cause problems, so do it on sandboxes only.
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 05-18-2009 #4
thanks
thanks for replying
Even I m nt playing around with with those files. BTW what is a sandbox( I knw its a silly question but wat it is??)Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-18-2009 #5
/proc/acpi/event is locked, even for root, as long as the acpid daemon is running. When you switch off the daemon you can view it... it gives real time responses to events, so `cat /proc/acpi/event` gives no output until an event takes place. This is because although the files in /proc look like normal flat text files, but they are not. They are kernel info, represented to you, the reader, in the format of a filesystem. They are not on disk.
It's far easier to just view the contents of the logfile (that is on disk): `cat /var/log/acpid`, this is where /proc/acpi/event gets logged.Can't tell an OS by it's GUI
- 05-18-2009 #6Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 05-18-2009 #7Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
A sandbox is an enclosed environment which is completely isolated and separated from your main OS. It can be a separate computer whose life you don't respect too much, or it can be for example some kind of virtual machine. In other contexts it can be just a separate directory, for example, the Gentoo portage tool installs the programs into a sandbox before dumping them into the system root /. That way, if the install fails there's not a partial package with files spread all around your system.
Depending on the task a sandbox can be any other thing, like a separate user where you run wine to avoid harming your files on the main account.
- 05-26-2009 #8
^ what they said ^
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 05-26-2009 #9
Sorry i didn't get u
dude What has sparked u off!!
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-27-2009 #10Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.


Reply With Quote
