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

Simple Feature Request #27

Closed
EasyG0ing1 opened this issue Feb 7, 2023 · 12 comments · Fixed by #28
Closed

Simple Feature Request #27

EasyG0ing1 opened this issue Feb 7, 2023 · 12 comments · Fixed by #28

Comments

@EasyG0ing1
Copy link

Hello,

It would be nice to have the option of specifying the amount of RAM to use for the disk in Gigabytes as opposed to just Megabytes.

Nice program by the way - very handy!

Thanks,

Mike

@imothee
Copy link
Owner

imothee commented Feb 16, 2023

Have added a dropdown to let you toggle between MB and GB on the NewTmpDisk window in https://github.com/imothee/tmpdisk/releases/tag/v2.0.6-alpha
Would love some extra eyes/testing before I release to the main release channel.

TmpDiskGBSelector

@EasyG0ing1
Copy link
Author

EasyG0ing1 commented Feb 21, 2023

@imothee Thank you! I'd love to test it, but how do I compile swift code? I've worked heavily with Java and C++ but never Swift. I do have the xcode command line tools installed.

@imothee
Copy link
Owner

imothee commented Feb 21, 2023

Hi @EasyG0ing1 - I put an alpha release of 2.0.6 up at https://github.com/imothee/tmpdisk/releases/tag/v2.0.6-alpha that includes the disk size changes. You should be able to download and install the new App (and it will autoupdate to the release branch when the new main version is published).

@EasyG0ing1
Copy link
Author

@imothee - You know I generally consider myself to be somewhat intelligent but right now this isn't making sense to me ... this is what I see at that link and when I download the file all I see in it is source code ... am I missing something?
Screenshot 2023-02-21 at 7 04 49 PM

@imothee
Copy link
Owner

imothee commented Feb 22, 2023

Hey @EasyG0ing1 - sorry, not sure what was going on there. For some reason Github said the dmg was corrupt. I re-uploaded the dmg and I can download it at the moment.

Screenshot 2023-02-21 at 7 25 25 PM

@EasyG0ing1
Copy link
Author

@imothee - Well thank goodness for that, cause I was beginning to think I was losing my mind ... lol .. but that did the trick. Installed and so far working perfectly.

I suspect, that your software is basically just a GUI interface that sets up the RAM drive then once it's set up, it's not connected to the drive at all ... so like a front end for what would otherwise require terminal commands.

Am I correct in that regard?

And it's working perfectly. I just love running Windows virtual machines out of ram drives ... something about doing that is very satisfying. lol

@EasyG0ing1
Copy link
Author

@imothee - After using the modified version for some time now, The only VERY MINOR issue I would comment on is that lets say I create a disk that is 16GB using the new GB option. When I open the program again, it fills the text box with the number 16 but then it defaults back to MB so that if I change it to GB its only a small number that I then need to go back and change to 16.

I realize that its a minor thing, but Im not sure what your personal standards are in terms of the aesthetics in usability for the end user so I thought I would mention it just in case you think something like that should be addressed.

@clickerpw
Copy link

can you add
1 "default disk name" tmp or temp
2 default size 10%
or use last used config

@EasyG0ing1
Copy link
Author

I think I would have to say that if we're getting into default names, then that should be defined in a preferences pane and not set to a static name that is always the same for all users. Perhaps even a default size as well should be a settings option.

Wish I knew Swift, I'd write it myself and send a PR if I did.

@clickerpw
Copy link

dear
i found another way

1 make txt file with this
diskutil erasevolume HFS+ 'RAM Disk' hdiutil attach -nomount ram://20971520
killall Terminal
2 rename file to ramdisk.command
3 make this file executable. from terminal command - chmod +x ramdisk.command

in this example will be create 10GB volume .

на русском - копируйте данный текст в текстовый файл и сделайте его исполняемым. потом просто запускайте кликнув на него.

@EasyG0ing1
Copy link
Author

EasyG0ing1 commented Apr 14, 2023

@clickerpw - tmpDisk has an "auto create at startup" checkbox ... and its usually faster to find an app than it is to find a terminal commend to execute ...
Screenshot 2023-04-14 at 1 47 45 PM

@EasyG0ing1
Copy link
Author

@clickerpw Also, there are command line arguments for TmpDisk ... as per the README,

open -a /Applications/TmpDisk.app --args -name=TestDisk -size=64

Will create a ramdisk named TestDisk and it will be 64 MB in size.

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

Successfully merging a pull request may close this issue.

3 participants