Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Mount devices written as a TAR #118

Open
inthebrilliantblue opened this issue Jul 7, 2023 · 2 comments
Open

Feature Request: Mount devices written as a TAR #118

inthebrilliantblue opened this issue Jul 7, 2023 · 2 comments

Comments

@inthebrilliantblue
Copy link

I currently have about 20-ish hard drives that were written to using tar -M, meaning all these drives are technically one big tar archive. I can pull file information one by one through the usual tar -tvf command, but would like to use ratarmount to see if it would be faster to use these drives.

It appears ratarmount was written to work with files only, but it would be nice to be able to use any tape drive or hard drive archive as well. Is there any reason why working with a device would not work, even if its read only?

@mxmlnkn
Copy link
Owner

mxmlnkn commented Jul 7, 2023

No, there isn't any reason per se except that it isn't supported yet and that I never used multi-volume TAR archives. What exactly does the tar -tvf command look like? You speak of devices, so does the command look something like tar -tvf -M /dev/sdc /dev/sdd ...?

@inthebrilliantblue
Copy link
Author

No, there isn't any reason per se except that it isn't supported yet and that I never used multi-volume TAR archives. What exactly does the tar -tvf command look like? You speak of devices, so does the command look something like tar -tvf -M /dev/sdc /dev/sdd ...?

So the tar -tvf command will read the tar device, but then exit on an error if and when a file is split between two tar volumes with M not specified. It will show the incomplete filename that is split in the error. tar -tvMf /dev/sdc will output the same list but then ask for the next volume via the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants