lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 22 Aug 2011 00:08:06 -0700
From:	Aditya Kali <adityakali@...gle.com>
To:	Andreas Dilger <adilger@...ger.ca>
Cc:	"tytso@....edu" <tytso@....edu>, "jack@...e.cz" <jack@...e.cz>,
	"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH v2] ext4: make quota as first class supported feature

>> 6) With the QUOTA feature set, since the quota inodes are hidden, some of the
>>   utilities from quota-tools will no longer work correctly. Instead, e2fsprogs
>>   will include support for fixing the quota files.
>
> It would be preferable from a usability point of view to have the existing quota tools to work with the new quota files instead of having to introduce new quota utilities.
>
> There are a number of ways that this could be facilitated:
> - make the quota files visible to userspace, but immutable
> - add the needed calls to the existing quota tools and use them when manipulating quotas on ext4 filesystems with this feature
There are only few operations of the quota tools that depend on
accessing the quota files and, AFAIK, supporting hidden quota files is
already in the works. I believe it is already done for some other
filesystems like ocfs2.

> - add library interfaces for doing the quota changes to libext2fs (or a new very simple library) and have the quota tools link to that instead of interfacing to the kernel directly
>
I have already sent patches to add a new quota library in e2fsprogs
(this library too is majorly based on the current quota tools). With
this, e2fsck can scan and fix quota files and tune2fs/mke2fs can be
used to turn on/off the new quota feature.

Thanks,
--
Aditya

> Cheers, Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists