|
|
@ -1333,6 +1333,9 @@ def refreshUdev():
|
|
|
|
"""Run command which refresh information about device in udev"""
|
|
|
|
"""Run command which refresh information about device in udev"""
|
|
|
|
udevadm = getProgPath('/sbin/udevadm')
|
|
|
|
udevadm = getProgPath('/sbin/udevadm')
|
|
|
|
if udevadm:
|
|
|
|
if udevadm:
|
|
|
|
|
|
|
|
blkidFile = '/etc/blkid.tab'
|
|
|
|
|
|
|
|
if path.exists(blkidFile):
|
|
|
|
|
|
|
|
os.unlink(blkidFile)
|
|
|
|
process(udevadm,"trigger","--subsystem-match","block").success()
|
|
|
|
process(udevadm,"trigger","--subsystem-match","block").success()
|
|
|
|
|
|
|
|
|
|
|
|
def getPasswdUsers(minId=1000,maxId=65000):
|
|
|
|
def getPasswdUsers(minId=1000,maxId=65000):
|
|
|
|