[Linux-disciples] Max folder size.
Adam Rosi-Kessel
adam at rosi-kessel.org
Mon May 2 16:39:04 EDT 2005
Karl Sokol wrote:
> I have a folder that I am downloading a bunch of stuff into. Is there a
> command to set a maximum size for the folder?
Not really. You could set up a new partition that was exactly as big as
you wanted the limit to be and mount that new partition as your download
folder. You could implement quotas, but I don't know of any way of a
quota being other than per-user-home-directory. You might be able to
wangle something by creating a new user with a small quota ... but I
think you'd have to run your web browser as that user (assuming you're
downloading from web browser; if not FTP client or whatever) and save to
that user's home dir...
There's also the ulimit bash builtin, but that limits the size of a
single file, not many files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050502/915867a6/signature.pgp
More information about the Linux-disciples
mailing list