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

Best practices for portable disk format #147

Open
core-man opened this issue Feb 1, 2021 · 11 comments
Open

Best practices for portable disk format #147

core-man opened this issue Feb 1, 2021 · 11 comments
Labels
best-practices help wanted Extra attention is needed

Comments

@core-man
Copy link
Member

core-man commented Feb 1, 2021

As we may have different OS, we may choose a file system for our portable disk so that it can be used in different OS.

@seisman
Copy link
Member

seisman commented Feb 1, 2021

I'm afraid it's impossible.

@core-man
Copy link
Member Author

core-man commented Feb 1, 2021

I'm afraid it's impossible.

at least two of the three OS.

exFAT can be uses in those three OS.

@seisman
Copy link
Member

seisman commented Feb 1, 2021

It's fragile and you may lose your data. See the comments in https://www.ruanyifeng.com/blog/2018/10/exfat.html

@core-man
Copy link
Member Author

core-man commented Feb 1, 2021

It's fragile and you may lose your data. See the comments in https://www.ruanyifeng.com/blog/2018/10/exfat.html

Yes, that is the reason why we need to prepare this pratice so that new babies know it. They will face this issue when they buy one portable disk.

I think exFat is good to store seismic waveform data, while we need another format to store files with codes.

see https://core-man.github.io/blog/post/backup/#%E7%A1%AC%E7%9B%98%E5%A4%87%E4%BB%BD

@seisman
Copy link
Member

seisman commented Feb 1, 2021

I think exFat is good to store seismic waveform data

I think exFat is good to store seismic waveform data

As mentioned above, you will take the risk losing your data, not only the file permissions.

@core-man
Copy link
Member Author

core-man commented Feb 1, 2021

I mean we have to choose different format for different purposes and also for different OS we have. Of course, there are no formats that can be used for all purposes and OS.

@core-man
Copy link
Member Author

core-man commented Feb 1, 2021

I think exFat is good to store seismic waveform data

I think exFat is good to store seismic waveform data

As mentioned above, you will take the risk losing your data, not only the file permissions.

Then we may better add a warnings.

@core-man
Copy link
Member Author

core-man commented Feb 1, 2021

I think exFat is good to store seismic waveform data

I think exFat is good to store seismic waveform data

As mentioned above, you will take the risk losing your data, not only the file permissions.

BTW, a lot of seismic data at NTU are stored in NTFS or exFAT.

@seisman
Copy link
Member

seisman commented Feb 1, 2021

NTFS is good but exfat isn't.

@core-man
Copy link
Member Author

core-man commented Feb 1, 2021

NTFS is good but exfat isn't.

But exFAT is now the default format for some portable disk.

@seisman seisman added the help wanted Extra attention is needed label Feb 5, 2021
@seisman
Copy link
Member

seisman commented Sep 28, 2021

If someone only uses one operating system, I think it's straightforward to choose the best format:

  • macOS: APFS
  • Windows: NTFS
  • Linux: ext4, xfs or any others (these Linux-specific formats are supported by all Linux distros)

If someone uses two operating system, and want to share files between them, it's not easy to choose the best format, because all formats have their own limitations.

Perhaps the best way is having a hard drive and a USB stick:

  • the hard drives are used to store seismic data, and the disk format depends on the main OS you're using
  • the USB stick can use the exFAT format, and is used to transfer files between OSs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
best-practices help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants