-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
支持预分配文件 #583
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description(required)
希望可以和aria2一样,设置里面可以设置预分配文件的方式。
gopeed/internal/controller/controller.go
Line 42 in 8b3b5d4
使用fallocate
cmd := exec.Command("fallocate", "-l", “1G”,name)
使用truncate
cmd := exec.Command("truncate", "-s", “1G”,name)
App Version(required)
OS Version(required)
linux
Snapshots
Log
The text was updated successfully, but these errors were encountered: