View previous topic :: View next topic |
Author |
Message |
letchideslandes Apprentice
Joined: 21 Nov 2004 Posts: 197 Location: Landes France
|
Posted: Sun Feb 07, 2010 11:03 am Post subject: [system] lien symbolique ou mount -o bind ? |
|
|
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 |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sun Feb 07, 2010 1:30 pm Post subject: |
|
|
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 |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sat Feb 27, 2010 4:48 am Post subject: |
|
|
Ouais, tu as raison, un bon vieux bind, c'est plus sécuritaire. |
|
Back to top |
|
|
|