"Jrgen_P._Tjern":
> Is "low" specified in bytes? Does "low" support units? (3T, 10G, 5M,
> 10k, etc)

In bytes, and it doesn't support unit.
Try an arithmetic expansion of shell which is defined by POSIX.
For example, $((10 * 1024 * 1024)) for 10M.
(I will add this description in the manual)


> Also, is it possible to create something mfsrr for mkdir(2)? The thing
> is that I'd like to keep all files in a dir on the same drive, which is
> best achieved by making sure the directory is on the right drive when
> you make it. It could also combine mfsrr & tdp, so that it only checks
> the branches that _have_ the dir you're mkdir(2)-ing inside - but finds
> the one with the most free space. :-)

Unfortunately, my poor English doesn't allow me to understand the
difference between what you want and create=tdp.
Do you want this policy?
- find the all writable branches where the parent dir exists.
- and then find the most free space among those branches.

But this policy will select a different branch after the first-selected
branch has less free space.


Junjiro Okajima

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to