AFP548 Changing the world one server at a time.

Files and Storage

Quota Monitor Menu

By Anonymous 1 min read

Quota Monitor Menu

By Adam Gerson 

The Situation: You have a Mac OS X Server with network home directories and disk quotas enabled.
 
The Problem: The Mac OS Finder on client machines does not have very good support for warning users they are approaching their file quota limit. They end up all of sudden unable to save files with little or no explanation as to why.
 
The Solution: QuotaMonitorMenu places the user’s home folder quota status right in the menu bar. It will also pop up warnings at regular intervals. All warnings and text are customizable.
 
Download (Now with package installer!)
http://homepage.mac.com/agerson/QuotaMonitorMenu/QuotaMonitorMenu.zip
 
Screen Shot
http://homepage.mac.com/agerson/QuotaMonitorMenu/ScreenShot.png

If you would like the source code or have any questions please feel free to email agerson AT mac DOT com

0 comments

  1. Yes, Quota Monitor Menu writes its own login hook which replaces NHR’s.

    There is a way around this.

    Reinstall NHR and find its login hook. Add a line to your existing login hook like:
    open /etc/QuotaMonitorMenu/QuotaMonitorMenu.app

    They can both play side-by-side

  2. Yes, Quota Monitor Menu writes its own login hook which replaces NHR’s.

    There is a way around this.

    Reinstall NHR and find its login hook. Add a line to your existing login hook like:
    open /etc/QuotaMonitorMenu/QuotaMonitorMenu.app

  3. For anyone interested , I have modified the source code to display the size of /Volumes/<logname> so you can have the menu display a home directory perhaps mounted by MCX, loginhook, location file,alias etc. Basically meaning if you have a (Portable | Mobile) account you can see the quota information (free space) of the mounted share,instead of the local home folder’s file system.

    Download:QuotaMonitorMenuMobile.zip note: different name so modify the hook accordingly

    Posted with original authors permissions

    I also made one that uses the OriginalHomeDirectory attribute but it would only work for people using a non-guest pure kerberos automount setup. if you would like it instead feel free to contact me

Leave a Reply