[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #20325 [Metrics/CollecTor]: make data directory for available space check configurable



#20325: make data directory for available space check configurable
-----------------------------------+-----------------------------
     Reporter:  iwakeh             |      Owner:
         Type:  enhancement        |     Status:  new
     Priority:  Low                |  Milestone:  CollecTor 1.2.0
    Component:  Metrics/CollecTor  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+-----------------------------
 Currently, the root path of the configured 'recent' directory is used when
 measuring the available space.

 This might not make sense in situations when partitions are mounted
 elsewhere.
 For example:
 {{{
 /dev/sda1 on /      (just the os)
 /dev/sdb1 on /data  (here the 'recent' folder resides somewhere)
 }}}
 In this case sda1 might be small and sdb1 could be the huge data
 partition.  Thus, the measurement of free space for `/` is useless.

 Suggestion:
 add `CheckSpacePath` property and default to the root of the recent path
 in case it doesn't exist.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20325>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs