diff options
author | David Cantrell <dcantrell@redhat.com> | 2005-12-19 22:11:08 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2005-12-19 22:11:08 +0000 |
commit | 14b0a69b5fa359c272e9a8b93ec6d63914ab857c (patch) | |
tree | 92bd58b7a48705bd7098731d13be2c9e4bcd508b /fsset.py | |
parent | 55232e33fb351c5bcb95b99d9a54cc1b585271be (diff) | |
download | anaconda-14b0a69b5fa359c272e9a8b93ec6d63914ab857c.tar.gz anaconda-14b0a69b5fa359c272e9a8b93ec6d63914ab857c.tar.xz anaconda-14b0a69b5fa359c272e9a8b93ec6d63914ab857c.zip |
* fsset.py (devify): Make sure /etc/fstab has accepted standards
for the pseudo filesystems (#176149).
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -92,9 +92,16 @@ def mountCompare(a, b): return 0 def devify(device): - if device != "none" and device[0] != '/': + if device == "proc" or device == "devpts": + return device + elif device == "sys": + return "sysfs" + elif device == "shm": + return "tmpfs" + elif device != "none" and device[0] != '/': return "/dev/" + device - return device + else: + return device class LabelFactory: def __init__(self): |