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

 
 

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

patch #6698: XFS project quota ID support for find

Submitter:  Arkadiusz Miskiewicz <arekm>
Submitted:  Tue 16 Dec 2008 04:22:46 PM UTC
   
 
Category:  find enhancement Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #17078:  0001-find-XFS-project-quota-support.patch added by arekm (10KiB - 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 (2KiB - 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 (10KiB - 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
  • -email is unavailable- added by arekm (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-12-16 arekm Attached File- Added 0001-find-XFS-project-quota-support.patch, #17078
    2008-12-16 arekm Attached File- Added 0001-find-Look-for-xfs-project-quota-ID-only-on-xfs-file.patch, #17077
    2008-12-16 arekm Attached File- Added 0001-find-XFS-project-quota-support.patch, #17076

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code