def isindisk(path):
    return os.major(os.stat(path).st_dev) in [3, # HD 
                                              8, # SCSI
                                              ]
Return True if path is stored in a local disk.
dataset/ETHPy150Open pearu/pylibtiff/libtiff/utils.py/isindisk