Skip to content

Instantly share code, notes, and snippets.

@rjsears
rjsears / python-fstab.py
Created July 20, 2021 22:04 — forked from niedbalski/python-fstab.py
python-fstab.py
class Fstab(file):
class Entry(object):
def __init__(self, device, mountpoint, filesystem,
options, d=0, p=0):
self.device = device
self.mountpoint = mountpoint
self.filesystem = filesystem