Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ubicazione nel filesystem
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) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
zoto
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 155
Location: Italy - Bologna

PostPosted: Wed Aug 30, 2006 1:39 pm    Post subject: Ubicazione nel filesystem Reply with quote

Ho letto nella documentazione di Gentoo che esiste una variabile ROOT indicante la radice di dove si installerà un programma emerso.

Mi chiedo se è possibile utilizzare questa variabile non per tutti gli emerge futuri, ma solo per un programma in particolare (es. openoffice)

Questo perché, avendo più partizioni, avrei una migliore distribuzione della memoria utilizzata, anche se utilizzando questo metodo in maniera selvaggia si creerebbe soltanto confusione.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4793
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Aug 30, 2006 1:54 pm    Post subject: Re: Ubicazione nel filesystem Reply with quote

zoto wrote:
Mi chiedo se è possibile utilizzare questa variabile non per tutti gli emerge futuri, ma solo per un programma in particolare (es. openoffice)

non credo che sia questo lo scopo della variabile ROOT.
serve a fare installazioni in sottoambienti depotenziati. per esempio, un chroot, nel quale deve funzionare esclusivamente la funzione di posta e poco altro.
temo che openoffice avrebbe bisogno di un enviroment talmente complesso che ti costringerebbe ad aggiungere una quantità di librerie.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Wed Aug 30, 2006 4:36 pm    Post subject: Re: Ubicazione nel filesystem Reply with quote

no. non è possibile
o meglio, non è possibile fare quello che vuoi tu

per cambiare il punto di installazione devi cambiare l'ebuild. se cambi la variabile ROOT, nel punto indicato è necessario che ci sia la root di un intero sistema completo e funzionante.
e comuqnue la posizione di installazione dei programmi non è una cosa che si può cambiare a proprio piacimento. bisogna seguire le indicazioni stabilite dal documento "Linux Filesystem Hierarchy", diversamente nessuno può garantire più il funzionamento dei programmi
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4793
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Aug 31, 2006 5:01 am    Post subject: Re: Ubicazione nel filesystem Reply with quote

k.gothmog wrote:
se cambi la variabile ROOT, nel punto indicato è necessario che ci sia la root di un intero sistema completo e funzionante.

non strettamente. in teoria, usando l'opzione -nodeps, emerge installa passivamente.
naturalmente, come dici, senza environment il programma non funziona.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
zoto
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 155
Location: Italy - Bologna

PostPosted: Thu Aug 31, 2006 6:44 am    Post subject: Reply with quote

Ok. Ho capito il concetto.

Bisognerebbe cambiare l'ebuild (cosa che comunque non farei). Mi era venuto il dubbio, ma ho postato apposta per avere chiarimenti. Grazie.
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Thu Aug 31, 2006 4:21 pm    Post subject: Reply with quote

se hai un buon motivo per farlo (qualcosa di più concreto di "installare sotto /programs è più bello") puoi benissimo proporlo agli sviluppatori.
facilmente ti diranno di no, ma chissà... se davvero c'è un buon motivo per fare in modo diverso e la soluzione nuova è migliore non c'è motivo per rifiutarla
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Thu Aug 31, 2006 5:48 pm    Post subject: Reply with quote

Moved from Forum italiano (Italian) to Forum di discussione italiano.
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Fri Sep 01, 2006 8:10 am    Post subject: Re: Ubicazione nel filesystem Reply with quote

Se vuoi orgranizzare meglio lo spazio puoi utilizzare partizioni diverse per /usr, /var o altro. E' molto più comodo e trasparente.
_________________
Running Fast!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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