Here is the description from WDTVLive's net.mounts
- Code: Select all
# combine previous xmounts using unionfs
# unionfs takes a colon delimited list of "ShareNames" and aggregates their content to the target
# directory structure is preserved
## the following is an example, it mounts 4 remote shares "hidden" so they
## are not visible in the OSD and then aggregates them.
## you hide an xmount by preceeding its "ShareName" with a . (dot)
#xmount "192.168.0.44:/movies" ".movies1" nfs
#xmount "192.168.0.233:/stuff" ".movies2" nfs
#xmount "192.168.0.101:/movies3" ".movies3" nfs
#xmount "192.168.0.151:/videos" ".movies4" nfs
#xmount ".movies1:.movies2:.movies3:.movies4" "ShareUnion" unionfs
With this unionfs.app.bin you can do the same on your WDTV G1.
Source code: http://podgorny.cz/moin/UnionFsFuse
Download app.bin: download
How I'm using it: I have a few network shares with similar directories tree, like:
Share1
|----Music
|----Photo
|----Video
Share2
|----Music
|----Photo
|----Video
So I could mount, combine and operate with them like with single share:
- Code: Select all
xmount //192.168.0.1/Share ".share1" cifs "user=user,password=p@$$w0rd"
xmount //192.168.0.2/Share ".share2" cifs "user=user,password=p@$$w0rd"
xmount ".share1:.share2" MediaShare unionfs
NOTE: First share in unionfs's shares list MUST be writable!!!


