fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.1k stars 110 forks source link

custom wrappers #314

Closed Nidrop closed 1 year ago

Nidrop commented 1 year ago

I'm using junest -b "--bind /media /media" to work with files on another partition. But how do I get the wrappers to use this?

fsquillace commented 1 year ago

Have you tried with JUNEST_ARGS?

To your example:

 > ~/.junest/usr/bin_wrappers/ls /
bin  boot  dev  etc  home  lib  lib64  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

> export JUNEST_ARGS="ns -b '--bind /media /media'"
> ~/.junest/usr/bin_wrappers/ls /
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var