Skip to content
Tcl Source Code Artifact [67405bf5ef]
Login

Artifact [67405bf5ef]

Artifact 67405bf5efefae7e77686a538d08adba5e5399e40add0df8783d5fc16ff27d53:

Ticket change [67405bf5ef] - Ticket [516d581c047786f7|516d581c04] <i>A tcl command to report free usable space of a partition of native file system</i> status still Open with 3 other changes by anonymous on 2025-11-27 13:03:25.
D 2025-11-27T13:03:25.436
J icomment Dear\sAshok(*)\r\n\r\nThank\syou\sfor\spointing\sto\stuapi\spackage\sI\swasn't\saware\sof.\sHowever,\sa\squick\slook\sat\sthe\sdoc\sat\r\n\shttps://chiselapp.com/user/rkeene/repository/tuapi/file?name=USAGE.md&ci=tip\r\nwhile\sinteresting,\sgives\sthe\simpression\sthe\sneed\sexpressed\sin\sthis\sticket\sis\snot\sfullfilled\sby\sthis\spackage.\r\n\r\nI\sunderstand\syour\spoint\sof\svue\sabout\ssystem\sinformation\sin\sgeneral\smore\sapropriately\sprovided\sby\sspecialized\slibraries/packages.\r\n\r\nHowever,\sconsider\sfor\sexample,\san\sapplication\sneeding\sa\slayout\sof\sseveral\sdirectories\sor\smount\spoints\s(admitedly\sless\susal).\r\nFortunately\sTcl\sprovides\s[pwd],\s[cd]\sand\s[file\svolume]\sto\soperate\sproperly\son\sthis\skind\sof\slayout.\r\nIMHO,\sthe\sinformation\sof\susable\sspace\son\sthe\spersistent\smedia\swhere\sthe\sapplication\sis\sliving\sbelongs\sin\sthe\ssame\svein\s(and\sis\sa\sfeature\sallowing\ssome\sbasic\sgrantee\sof\ssecure\sfonctionning\sat\sapplication\slevel).\r\n\r\nIn\sour\sapplication,\sefforts\sare\smade\sto\sbring\sthe\sless\sdependencies\spossible,\sfor\slowering\sthe\smaintenance\sburden\s(and\sso\slove\s"batteries\sincluded"\sTcl'\sphilosophy)\r\n\r\nI\sagree\s"free\sdisk\sspace"\sis\snebulous.\r\nHowever\s"usable\sfree\sdisk\sspace"\sseems\smore\sprecise\sto\sme\s(yes\sit's\sme\s...)\sabout\sthe\smeaning\sof\sthe\sinformation\sto\sprovide.\r\n\r\nOn\sour\sside\sJava's\sgetUsableSpace()\sis\ssimple\senough\sand\sfullfill\sour\sneed.\r\nI\scan't\sdive\sinto\sJava\sinternals\s(not\sthe\sskills\sfor)\sbut\sI\sguess\sa\sstudy\sof\sJava's\sgetUsableSpace()\smay\sbring\susefull\sclarications\r\n\r\nI\sunderstand,\sin\sregard\sto\sthe\sburden\sof\smaintenance\swork\sneeded\sfor\ssuch\sa\swide\ssoftware\sas\sTcl\slangage,\sthat\sthe\skind\sof\snew\sfeature\sexpressed\sin\sthis\sticket\scan't\sbe\stop\spriority\sfor\sTcl\sdeveloppers'\steam,\sbut\sremain\sconvinced\sthat\ssuch\ssecurity\sfeature\sbelongs\sto\sthe\score\slangage\s(especialy\swhen\s"batteries\sincluded"\sphilosophy\sis\sconsidered)\r\n\r\nThank\syou\sagain\r\n\r\nJean-Marie\r\n\r\n(*)\sbought\syour\s2d\sedition\sbook,\sthank\syou\s:)
J login anonymous
J mimetype text/plain
K 516d581c047786f7a51e1a574e43e8832447cc07
U anonymous
Z 371f7eb6e2fea4d8907c2a6e5570d8f9