UnionFS: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Dommac (discussione | contributi)
m +cat ed intewiki
Gerlo (discussione | contributi)
Completamento traduzione. mancano wikilink
Riga 4:
I vari rami possono essere ''filesystem'' in sola lettura oppure scrivibili. Le operazioni di scrittura nel ''filesystem'' unificato verranno redirette verso uno specifico ''filesystem'' scrivibile. Ciò consente di far apparire un ''filesystem'' come scrivibile, senza permettere la scrittura effettiva (''copy-on-write''): questa è una delle caratteristiche che ne fanno uno strumento utile quando, ad esempio, il supporto non è veramente scrivibile, come nel caso dei [[Compact disc|CD-ROM]], oppure quando si vuole usare una base comune a più filesystem, o infine per motivi di sicurezza. A volte, questa tecnologia viene usata come sistema ''ad hoc'' per la realizzazione di istantanee dello stato del ''filesystem'' (in gergo ''snapshot'').
 
Quando si aggiungono (montano) rami, bisogna specificare che priorità hanno tra di loro. In questo modo, quando due o più rami contengono un file con lo stesso nome, il ramo con la priorità maggiore riceve le chiamate di lettura e scrittura.
<!--
When mounting branches the priority of one branch over the other is specified. So when both branches contain a file with the same name one gets priority over the other.
 
Nei liveCD UnionFS è usato per sovrapporre un filesystem scrivibile ad un supporto in sola lettura. In KNOPPIX Linux, ad esempio, si può eseguire l'unione del filesystem nel CD-ROM o nel DVD ed il filesystem contenuto in un file immagine chiamato knoppix.img in una chiavetta USB. Quest'ultimo, impostato con una priorità maggiore rispetto al filesystem in sola lettura del CD-ROM o del DVD, permette di mostrare all'utente un filesystem logico nel quale si possono aggiungere, modificare o cancellare file ovunque. A livello fisico, se un file che risiede in un ramo in sola lettura viene sostituito, quest'ultimo viene inserito nel file immagine. Poiché il filesystem logico unisce i due rami trasparentemente, l'utente vedrà semplicemente la nuova versione.
UnionFS in Linux is generally not recommended for production use.
 
On LiveCDs it is used as a way of overlaying a writeable file system on top of read-only media. In KNOPPIX for example the union of the file system on the CD-ROM or DVD may be made with the file system contained in an image file called knoppix.img on a USB memory stick which has priority over the read-only filesystem. The user sees then a logical file system where it is possible to add and change files anywhere. What happens on the physical level is that if a file which resides in the read-only branch is replaced by a new version it is put into the image file. As the union file system merges the two branches transparently the user just sees the new version.
[edit]
 
== Altre implementazioni ==
Other implementations
 
Il sistema operativo Plan 9 fromdei Bell Labs operatingusa systemi usesmount unionuniti mountsestensivamente extensivelyper toottenere buildnamespace custom namespacespersonalizzati per user/processesogni utente e processo. TheLo samesteso conceptconcetto, implementedimplementato ascome "union mount" hasè alsostato been availabledisponibile in BSD, for atper leastalmeno tendieci yearsanni.
 
SeveralCi previousfurono attemptsvari havetentativi beenprecedenti madeper toaggiungere addquesta thisfunzionalità feature toa Linux, butma nonenessuno wasè maintainedstato forsostenuto longa lungo. ForDa quitemolto a whiletempo Linux hasdispone di una hadfinzionalità thedel bindprogramma "mount" feature,che whichpermette allowdi attachinginserire auna directorycartella in morepiù thandi oneun ___locationposto in thedel filesystem,. andQuesta thisfunzionalità featureè ispresente presentanche in otheraltri operatingsistemi systemsoperativi, includingcome MSDOS, butma thisè isun aconcetto completelycompletamente differentdifferente conceptdai to unionmount mountsuniti.
[edit]
 
References
 
* C. P. Wright et al. (2004). "Versatility and Unix Semantics in a Fan-Out Unification File System (pdf)." (Discusses UnionFS implementations and semantics.)
 
== Bibliografia ==
[edit]
 
* *{en} C. P. Wright et al. (2004). "Versatility and Unix Semantics in a Fan-Out Unification File System (pdf)." (DiscussesTratta le implementazioni di UnionFS implementationse andla semanticssemantica.)
External links
 
* http://www.fsl.cs.sunysb.edu/project-unionfs.html
* http://www.unionfs.org/ (includes some examples how to set up a union file system)
* https://bugzilla.filesystems.org/ (bug database for Linux UnionFS)
 
 
== Collegamenti esterni ==
 
* *{en} http://www.fsl.cs.sunysb.edu/project-unionfs.html
* {en} http://www.unionfs.org/ contiene esempi su come ottenere un filesystem unito
* *{en} https://bugzilla.filesystems.org/ (bug database fordei bug Linuxdi UnionFS)
 
<!--
UnionFS in Linux is generally not recommended for production use.
 
-->