Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.45 KB | None | 0 0
  1. Python 2.7.1 (r271:86832, May  8 2011, 18:40:45)
  2. [GCC 4.6.0] on linux2
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> from Teeos.Utils import _mnt
  5. >>> _mnt(None, '/proc', 'proc', None, 0)
  6. >>> _mnt(None, '/proc', 'proc', None, 0)
  7. Traceback (most recent call last):
  8.   File "<stdin>", line 1, in <module>
  9.   File "/teeos/system-packages/Teeos/Utils/__init__.py", line 10, in _mnt
  10.     RaiseErrnoException(get_errno())
  11.   File "/teeos/system-packages/Teeos/Utils/ErrnoExceptions.py", line 1181, in RaiseErrnoException
  12.     raise ErrnoExcepts[errno]
  13. Teeos.Utils.ErrnoExceptions.EBUSY: 'Device or resource busy'
  14. >>> _mnt(None, '/proc', 'badfsname', None, 0)
  15. Traceback (most recent call last):
  16.   File "<stdin>", line 1, in <module>
  17.   File "/teeos/system-packages/Teeos/Utils/__init__.py", line 10, in _mnt
  18.     RaiseErrnoException(get_errno())
  19.   File "/teeos/system-packages/Teeos/Utils/ErrnoExceptions.py", line 1181, in RaiseErrnoException
  20.     raise ErrnoExcepts[errno]
  21. Teeos.Utils.ErrnoExceptions.ENODEV: 'No such device'
  22. >>> _mnt(None, '/proc', 'baddevname', None, 0)
  23. Traceback (most recent call last):
  24.   File "<stdin>", line 1, in <module>
  25.   File "/teeos/system-packages/Teeos/Utils/__init__.py", line 10, in _mnt
  26.     RaiseErrnoException(get_errno())
  27.   File "/teeos/system-packages/Teeos/Utils/ErrnoExceptions.py", line 1181, in RaiseErrnoException
  28.     raise ErrnoExcepts[errno]
  29. Teeos.Utils.ErrnoExceptions.ENODEV: 'No such device'
  30. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement