def isindisk(path):
    return os.major(os.stat(path).st_dev) in [3, # HD 
                                              8, # SCSI
                                              ]
Test automatic determination of interval start and end
dataset/ETHPy150Open pearu/pylibtiff/libtiff/utils.py/isindisk--crossover with--dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3timeplot.py/TimeSeriesTests.testAutomaticInterval