On Tue, Oct 23, 2001 at 02:24:45PM -0500, Steve Lord wrote:
> > Hi there,
> >
> > is it possible to reserve partition space for the superuser ? ("good old"
> > ext2 can handle this)
> > I did4n4t find anything usefull about this in the Docs, so post to you !
> >
> > Can Quota be a solution for my problem ?
> >
> > thank you,
> > Christian Guggenberger
>
> Not simply, it was not a concept built into the original xfs design,
> so it would take some surgery - and the concept of a super user is not
> as simple as it used to be, this would probably be based on some
> capability (OK, thats a minor implementation detail).
well to clarify things. ext2 is not reserving space for the superuser
at all, it simply reserves a certain number of blocks (by default 5%
of the filesystem, set at mkfs time) for a certain uid and gid, the
default is 0 0, which under most traditional systems happens to be the
superuser.
under ext2 you can just as easily give this reserved space away to any
user, or a group of users. man tune2fs.
> Quotas could do it - but only by restricting everone else on the
> filesystem to a total less than the fs size.
semi inconvenient, but if your adduser allows hooks (like debian's)
its not that difficult to automate.
--
Ethan Benson
http://www.alaska.net/~erbenson/
pgphSylSxqm9Z.pgp
Description: PGP signature
|