Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Come funziona la gestione delle variabili di sistema?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
lord_hypno
n00b
n00b


Joined: 07 May 2004
Posts: 35

PostPosted: Tue Aug 31, 2004 5:53 pm    Post subject: Come funziona la gestione delle variabili di sistema? Reply with quote

Salve a tutti,
sono da sei mesi su gentoo e dallo stesso tempo in Linux,
ho letto accuratamente come funziona la gesstione delle variabili di sistema nell'handbook, ma ho riscontrato alcune stranezze.
Poichè sono uno (s)fortunato possessore di ati radeon mobility, mi occorreva aggiungere nel ROOTPATH la directory ove erano installati tutti i binari per fare i vari testing.
Ho creato in /etc/env.d/ un file chiamato 52ati ed ho oggiunto al ROOTPATH quanto mi serviva come specificato nell'handbook.
Dopo aver eseguito
Code:
env-update && source /etc/profiles
ho provato a dare un
Code:
echo $ROOTPATH
ma la risposta è stata una linea bianca.
Ovviamente tutto ciò è stato effettuato da root.
Per le altre variabili d'ambiente sembra non esserci alcun problema, ma per il ROOTPATH succede qualcosa di strano. QUalcuno sa spiegarmi il perchè?
Spero di non aver scritto troppo e di non scocciare per questioni così irrilevanti ma la mia fame di conoscenza e la mia curiosità sono molto alte
Grazie per la lettura
Hypno
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Tue Aug 31, 2004 6:22 pm    Post subject: Re: Come funziona la gestione delle variabili di sistema? Reply with quote

lord_hypno wrote:

Ho creato in /etc/env.d/ un file chiamato 52ati ed ho oggiunto al ROOTPATH quanto mi serviva come specificato nell'handbook.
Dopo aver eseguito
Code:
env-update && source /etc/profiles
ho provato a dare un
Code:
echo $ROOTPATH


perche' tu sbagli candeggio (sintassi)
non
Code:
source /etc/profiles
ma
Code:
source /etc/profile

_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
lord_hypno
n00b
n00b


Joined: 07 May 2004
Posts: 35

PostPosted: Tue Aug 31, 2004 6:35 pm    Post subject: Reply with quote

probabilmente la s non la metto perchè di solito scrivo
Code:
 /etc/prof
e poi batto su tab..
Penso che ci sia qualcosa che mi nasconda la variabile ROOTPATH, ma non ne sono sicuro, però ciò mi incuriosisce assai
grazie comunque per la dritta
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Tue Aug 31, 2004 7:07 pm    Post subject: Reply with quote

non puoi aggiungerlo in .bashrc?
Code:
export ROOTPATH=${ROOTPATH}:quellochetipare

_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
akiross
Veteran
Veteran


Joined: 02 Mar 2003
Posts: 1170
Location: Mostly on google.

PostPosted: Tue Aug 31, 2004 7:18 pm    Post subject: Reply with quote

mah, non so te, ma io in /etc/profile ho questa bella riga
Code:

unset ROOTPATH


difatti ROOTPATH viene definita in /etc/env.d/00basic ma non la ho disponibile.
Pero' le altre variabili lo sono

Ciauz!

EDIT: Commenta quella riga e dovrebbe andare, almeno a me va...
_________________
Libera scienza in libero stato.
Horizon of Events
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum