You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some RAR archives that contains same path name in. When I mount this directory,
it exposes contents in one of their archives, not all archives... If it shows using one more
directory sturcture based on archive name, there's not any conflicts on it.
Here is an example. I know my english is poor, and I'm afraid that you may not understand
what I say above...
* Working Directory : /dev/shm/RARS
in /dev/shm/RARS/1.rar : DATA/1.txt, DATA/2.txt, DATA/4.txt
in /dev/shm/RARS/2.rar : DATA/1.txt, DATA/2.txt, DATA/3.txt
* Mount directory.
# rar2fs-read-only/rar2fs -o ro,allow_other /dev/shm/RARS 1/
* Current behavior:
# ls -l 1/DATA
total 12
-rw-r--r-- 1 root root 5 Feb 1 14:25 1.txt
-rw-r--r-- 1 root root 5 Feb 1 14:25 2.txt
-rw-r--r-- 1 root root 5 Feb 1 14:25 4.txt
- There's no contents in 2.rar.
* What it should be I think:
# ls -l 1
drwxr-xr-x 2 root root 4096 Feb 1 14:25 1
drwxr-xr-x 2 root root 4096 Feb 1 14:25 2
- Directory name is based on archive name.
# ls -l 1/1
drwxr-xr-x 2 root root 4096 Feb 1 14:25 DATA
# ls -l 1/1/DATA
-rw-r--r-- 1 root root 5 Feb 1 14:25 1.txt
-rw-r--r-- 1 root root 5 Feb 1 14:25 2.txt
-rw-r--r-- 1 root root 5 Feb 1 14:25 4.txt
# ls -l 1/2/DATA
-rw-r--r-- 1 root root 5 Feb 1 14:25 1.txt
-rw-r--r-- 1 root root 5 Feb 1 14:25 2.txt
-rw-r--r-- 1 root root 5 Feb 1 14:25 4.txt
Original issue reported on code.google.com by jyhpsycho on 2014-02-01
The text was updated successfully, but these errors were encountered:
Your suggestion is noted. Actually this was something that I also had in mind a long
time back, but I dropped it! The reason was because I do not wish that rar2fs dictates
the file structure other than what the archive contains. Enforcing folder names might
not be what a user wants. rar2fs tries to mimic the file structure has it would have
looked like if all the archives were unpacked in place. Thus, it would not have been
possible to extract two archives with the same contents in the same folder. That is
why you only see one of the archives. It is up to the user to create a proper file
structure that works. But I might consider adding the functionality you ask for, but
then it will be optional and controlled by a switch of some kind.
I am re-labelling this to "Enhancement" since this is not a defect.
Original issue reported on code.google.com by hasse69 on 2014-02-01 16:57:01
hasse69
changed the title
Suggestion : Expose directory structure when mounting directory contains lot of archive sets.
Expose directory structure when mounting directory contains lot of archive sets.
Nov 11, 2017
Original issue reported on code.google.com by
jyhpsycho
on 2014-02-01The text was updated successfully, but these errors were encountered: