Help - Search - Members - Calendar
Full Version: chmod on /proc tree
OESF Portables Forum > General Forums > General Discussion
Harlequin
Hello,
I hope you can help me. This is very frustrating. I'm trying to change the permissions on a sub-dir of /proc under cacko 64-0 on a 5500. It runs the command without issues, but ls -al shows no change.

I'm trying this as root. It wont let me create a file, so I thought it might be permissions on the dir.

H.
tecknobabble
Why?

/proc is not a normal filesystem, its a mechanism through which parts of the kernel are exposed to allow easy access to information that it contains aswell as providing tuning options for certain modules. As a consequence the filesystem attributes are typically fixed....
Stubear
AFAIK you can NOT create files under /proc - that is the kernels job. you can only change the values of files laready there.

What are you trying to do?

Stu
Harlequin
I'm trying to apply the params for irda connections to a sony-ericsson mobile:

echo 1 > /proc/sys/net/irda/max_tx_window
echo 1000 > /proc/sys/net/irda/min_tx_turn_time

I was able to make them when using tkr with a cacko kernel. Now I just get:

cannot create /proc/sys/net/irda/max_tx_window: directory non-existent.

Any ideas?

H.
tecknobabble
QUOTE
echo 1 > /proc/sys/net/irda/max_tx_window  
echo 1000 > /proc/sys/net/irda/min_tx_turn_time  

I was able to make them when using tkr with a cacko kernel.  Now I just get:
cannot create /proc/sys/net/irda/max_tx_window: directory non-existent.  
If it worked with the tkr (theKompany rom I guess) and not cacko then the cacko kernel doesn't have the irda patch that lets you do what you are trying to do.

If you look at this page and search for min_tx_turn_time you'll get to this:
CODE
Note that the patch adding max_tx_window to the IrDA stack is included only in kernel 2.4.22, for earlier kernel to fetch a patch up here
You'd have to see if the cacko guys could put this on their to-include list if this is the case...
kuijer001
Hi Harlequin

I'm using my C700 (latest Cacko-ROM) together with my SonyEricsson, and I'm not having trouble at all connecting them both using Irda! Transmitting appointments from KO/PI to my mobile and JAVA-applits or pictures work fine on the C700 "as is". I don't see the problem
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.