nu-scripts/ramdisk.nu

6 lines
119 B
Plaintext
Raw Normal View History

2024-05-08 09:51:47 +02:00
#!/usr/bin/env nu
def main [--size(-s): string] {
sudo mount -o size=($size | default "8G") -t tmpfs none /mnt/
}