[ 
https://issues.apache.org/jira/browse/JENA-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640432#comment-14640432
 ] 

Andy Seaborne commented on JENA-977:
------------------------------------

getSize and getDriveInfo need to be in step as to units.

OSX outputs df is in 512 blocks so the getDriveInfo calculation may be wrong on 
Macs as well.  The manual implies "ls -l" output is in bytes.

"df -k" (1 k block size) seems to exist on mac, ubuntu, openBSD, but I can't 
check other linux or *nix's 

"ls" does have a "-k" flag where I am.

Is -k the right way to go?


> tdbloader2 script refactoring
> -----------------------------
>
>                 Key: JENA-977
>                 URL: https://issues.apache.org/jira/browse/JENA-977
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: TDB
>    Affects Versions: Jena 2.13.0
>            Reporter: Rob Vesse
>            Assignee: Rob Vesse
>            Priority: Blocker
>             Fix For: Jena 2.13.1, Jena 3.0.0
>
>
> As noted on the dev list the current scripts are a little rough around the 
> edges, work items include:
> - Splitting data and index phase into separate scripts
> - Being able to restart a build from a later phase
> - Progress monitoring for the sort portion of indexing
> - Warning if sort is using a disk where you may have insufficient space
> - Better usage summaries
> - Better argument handling (avoid relying on magic environment variables 
> wherever possible)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to