Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[system] lien symbolique ou mount -o bind ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
letchideslandes
Apprentice
Apprentice


Joined: 21 Nov 2004
Posts: 197
Location: Landes France

PostPosted: Sun Feb 07, 2010 11:03 am    Post subject: [system] lien symbolique ou mount -o bind ? Reply with quote

Bonjour

Sur le réseau local, pour éviter de télécharger plusieurs fois le même paquet sur le net, chaque machine propose un service ftp anonyme en lecture seule (oftpd).
J'expose par ce service le dossier distfiles de portage. Pour cela, j'ajoute cette entrée dans fstab :
Code:
/usr/portage/distfiles /home/ftp/distfiles bind bind 0
.

Cette solution est-elle préférable à un lien symbolique ? C'est kifkif ? C'est comme on veut ?

Juste une petite question que je me pose (pas très importante).
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Feb 07, 2010 1:30 pm    Post subject: Reply with quote

Salut,

À ta place je ferais un mount bind, c'est plus "transparent" pour portage. J'ai déjà vu des sandbox violations à cause de lien symboliques (ok, c'est dans le temp dir et pas les distfiles, mais bon)
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Feb 27, 2010 4:48 am    Post subject: Reply with quote

Ouais, tu as raison, un bon vieux bind, c'est plus sécuritaire.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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