xfs
[Top] [All Lists]

Re: default quota limits in linux (via quotactl())

To: Walt H <waltabbyh@xxxxxxxxxxx>
Subject: Re: default quota limits in linux (via quotactl())
From: Stefan Metzmacher <stefan.metzmacher@xxxxxxxxxxx>
Date: Tue, 28 Jan 2003 16:27:56 +0100
Cc: Jan Hudec <bulb@xxxxxx>, Chris Wedgwood <cw@xxxxxxxx>, "Stephen C. Tweedie" <sct@xxxxxxxxxx>, viro@xxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, akpm@xxxxxxxxxx, Andreas Dilger <adilger@xxxxxxxxxxxxx>, ext2-devel@xxxxxxxxxxxxxxxxxxxxx, jfs-discussion@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx, Alexander Bokovoy <a.bokovoy@xxxxxxxxxxxxxxxxx>
In-reply-to: <3E369F52.7050901@xxxxxxxxxxx>
References: <5.2.0.9.2.20030128142729.0218f398@xxxxxxxxxxxxxxxxx> <20030128112034.GA23731@xxxxxxxx> <5.2.0.9.2.20030127150905.0217e170@xxxxxxxxxxxxxx> <5.2.0.9.2.20030127150905.0217e170@xxxxxxxxxxxxxx> <5.2.0.9.2.20030128074810.0218c4f8@xxxxxxxxxxxxxxxxx> <20030128093250.GM28513@vagabond> <20030128094014.GA23257@xxxxxxxx> <20030128094619.GO28513@vagabond> <20030128101310.GA23320@xxxxxxxx> <20030128105747.GR28513@vagabond> <20030128112034.GA23731@xxxxxxxx> <5.2.0.9.2.20030128142729.0218f398@xxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
At 07:18 28.01.2003 -0800, Walt H wrote:
I believe that the hotplug stuff does this. When a new hotpluggable pci, usb etc... device is plugged into the system, it triggers /sbin/hotplug to run to look for the appropriate kernel module to provide a driver.

I'll look at this...
is get_empty_dquot() or dqget() the right place to callback the user space tool?


If it finaly got too complicated, you could add a simple code to kernel,
that would run_usermodehelper and provide a user mode program to fix
things up. That might even get a chance of being accepted. (And it would
be more flexible since it can get the default quota from LDAP etc...)

is there an example( another place in the kernel where the kernel callback a userspace tool) can you point me to the place (the function) where the quota entry/object will be created for new users,
so this should be the location where the userspace tool should be callback...
that would be a cool solution, witch I could accept too:-)


metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze@xxxxxxxxxxx>

-----------------------------------------------

Stefan Metzmacher

stefan.metzmacher@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>