patchfindutils - Patches: patch #6698, XFS project quota ID support for...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

patch #6698: XFS project quota ID support for find

Submitted by:  Arkadiusz Miskiewicz <arekm>
Submitted on:  Tue 16 Dec 2008 04:22:46 PM UTC  
 
Category: find enhancementPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenRelease: None
Fixed Release: None

Thu 29 Jan 2009 05:50:45 PM UTC, comment #1:

What else is needed to get this patch merged into official findutils?

Arkadiusz Miskiewicz <arekm>
Tue 16 Dec 2008 04:22:46 PM UTC, original submission:

XFS filesystem provides three different quota types. UID-based,
GID-based and "project quota" path name based.

Add support for test parameter "-xfsprojquota N" which allows
looking for files with specified project quota ID.

Add support for "%q" format which allows project quota ID
to be displayed.

Example:
$ ./find /home/users/arekm/xtest -printf "name=%f projquotaid=%q\n"
name=xtest projquotaid=0
name=proj50 projquotaid=50
name=aaa projquotaid=50
name=aaadsfdsf projquotaid=50
name=something projquotaid=50
name=34knjf projquotaid=50
name=proj60 projquotaid=60
name=34knjf projquotaid=60
name=34knjfwenhwjqe projquotaid=60
name=dsfdsfknjfwenhwjqe projquotaid=60
name=proj70 projquotaid=70
name=7sfdsfdsf projquotaid=70
name=7sf4344 projquotaid=70
name=7sf4344ad projquotaid=70

$ ./find /home/users/arekm/xtest -xfsprojquota 50
/home/users/arekm/xtest/proj50
/home/users/arekm/xtest/proj50/aaa
/home/users/arekm/xtest/proj50/aaadsfdsf
/home/users/arekm/xtest/proj50/something
/home/users/arekm/xtest/proj50/34knjf

Arkadiusz Miskiewicz <arekm>

 

Attached Files
file #17078:  0001-find-XFS-project-quota-support.patch added by arekm (10kB - application/octet-stream - Updated (complete) versions. Changes: skips some special files.)
file #17077:  0001-find-Look-for-xfs-project-quota-ID-only-on-xfs-file.patch added by arekm (2kB - application/octet-stream - on top of #17076: check for xfs project quota only on xfs filesystems)
file #17076:  0001-find-XFS-project-quota-support.patch added by arekm (10kB - application/octet-stream - xfs project quota id support)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arekm (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 16 Dec 2008 08:05:37 PM UTCarekmAttached File-=>Added 0001-find-XFS-project-quota-support.patch, #17078
    Tue 16 Dec 2008 04:39:51 PM UTCarekmAttached File-=>Added 0001-find-Look-for-xfs-project-quota-ID-only-on-xfs-file.patch, #17077
    Tue 16 Dec 2008 04:22:46 PM UTCarekmAttached File-=>Added 0001-find-XFS-project-quota-support.patch, #17076

    Back to the top


    Powered by Savane 3.1-cleanup