Request for union mount.
See original GitHub issueOne of the nice things about tar is that it can be used to update an already existing folder. Currently, I mount the tar file in a separate directory, move the directory that I want the tar file to another directory, and then use unionfs-fuse
to merge the just moved directory, and the mounted tar.
I wish there was an easier way to do this.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Union mount - Wikipedia
In computer operating systems, union mounting is a way of combining multiple directories into one that appears to contain their combined contents.
Read more >Unifying filesystems with union mounts - LWN.net
With union mounts, directory entries from the lower filesystems are merged with the directory entries of upper filesystem, thus making a logical combination...
Read more >Admission | University of Mount Union
Mount Union graduates are leaders in their fields and within their communities. ... Complete the readmission application to the University of Mount Union....
Read more >Student Record Request - Mount Union Area School District
Request for current student records can be faxed to 814-542-4355. Request for graduate students and former student requests can be faxed to 814-542-8710....
Read more >Request Medical Records | Mount Sinai - New York
You can request a copy of your Mount Sinai health records from any hospitalization, surgery, clinic and emergency room visits from our Health...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Excellent! I think with the new unionmount feature. It works well. I can even use it as a superior alternative to GNU Stow! It lets me keep base configuration in a read only folder, and machine specific changes in a union mount. Thanks again for the great tool.
I tried the thing with cd’ing into the directory to be union mounted over. However, without the
--foreground
option, FUSE seems to cd into/
after I cd’ed into the directory, so the union mount will always show/
and ~I can’t seem to circumvent that~. I took a look at what bindfs does and it uses fdopen on the directory, then calls fuse, and then calls fchdir to change to the directory given by the opened and still valid file descriptor. I might be able to get this to work.Here are some other now outdated options:
ratarmount tar1 tar2 mountFolder
. I could extend this toratarmount folder1 folder2 tar1 tar2 mountFolder
to get a union mount of the two folders and the two TAR files into the mountFolder. By checking that the mountFolder is different from the other folders, I would ensure that I can simply access the folders to be union mounted without any cd tricks.mount --bind
requires root, so I’d have to require something else like thebindfs
package with the--no-allow-other
option.In all cases, I don’t think I’ll do the union mount as a default because too much could go wrong. I guess I’ll require the user to specify the folder twice if he wants to union mount it and also use it as the mount directory. However, I think I can detect this duplicate mention and then automatically add the
-o nonempty
option, so the user does not have to specify three things to get one result.~