I guess the cmd df is also available in android, but probably only the /data and /sdcard folders are relevant.
If linux is installed in amazon, df should be available, perhaps you need to find out which partitions should be used. Сб, 09 авг 2014, John Baker написал(а): > Ken, > > I enjoyed your JD related presentation at the J conference. > > I have an answer for your observation about creating JOD dictionaries on > Amazon. > > There is a noun in jod.ijs FREESPACE that sets a limit on how small a > volume can be before JOD will create a dictionary. This value is set to > 1meg which is about the smallest safe value for JOD dictionaries. If you > know there is enough space on the target volume you can try setting this > value to zero or even a negative number. > > I strongly suspect the freedisk verb (below) does not work for Amazon or it > returns some meaningless byte count. You can also edit this verb and return > some large number if you don't want to change FREESPACE. > > There are many ways to hack JOD. > > Thanks for letting me know about this. > > John Baker > > freedisk=:3 : 0 > > NB.*freedisk v-- returns free disk/volume space in bytes. > NB. > NB. monad: freedisk clDisk | clLinuxVolume > NB. > NB. freedisk 'c:\' NB. :\ required for windows > NB. freedisk '/sd1/dev' NB. linux file system root - null sums all > devices > > NB. NOTE: assume enough space for IOS, Android and unknown? > > if. IFWIN do. freediskwin y > elseif. UNAME-:'Linux' do. freedisklinux y > elseif. IFIOS do. >:FREESPACE > elseif. UNAME-:'Darwin' do. freediskmac y > elseif. UNAME-:'Android' do. >:FREESPACE > elseif.do. >:FREESPACE > end. > ) > > > On Mon, Jun 16, 2014 at 8:12 AM, Kenneth Lettow <[email protected]> > wrote: > > > Awesome. Thank you. > > > > > > On Sat, Jun 14, 2014 at 6:44 PM, John Baker <[email protected]> wrote: > > > > > I have updated the JOD addon to run on J 8.02 32/64 QT/JHS systems. For > > > more see: > > > > > > > > > > > http://bakerjd99.wordpress.com/2014/06/14/jod-update-j-8-02-qtjhs64-bit-systems/ > > > > > > -- > > > John D. Baker > > > [email protected] > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > -- > John D. Baker > [email protected] > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
