-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [EMAIL PROTECTED] wrote: > "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) Thanks for clarifying, great. :-)
>> 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. Well, the concept is a bit hard to explain ;-) > 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. Oh, right. Well, then I'd really like it if you could make it so mkdir(2) use the described policy for choosing what path to create a dir on. For my purposes, that'd suffice, and it would keep all writes in a dir on a specific branch. :-) Kindest regards, Jørgen P. Tjernø. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHRDd1UMzc1WGo4zgRAof6AJ0TGgdHeZFgYa0Sdm6LAm9GVwSozwCgg5G+ WHqErcMzJCBClIMUKbgLAao= =l4qq -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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/
