Revision 5c3d5dfd tools/lvmstrap
b/tools/lvmstrap | ||
---|---|---|
1 | 1 |
#!/usr/bin/python |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2011 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2011, 2012 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
336 | 336 |
|
337 | 337 |
@param name: the device name, e.g. 'sda' |
338 | 338 |
@param devnum: the device number, e.g. 0x803 (2051 in decimal) for sda3 |
339 |
@raises L{SysconfigError}: in case of failure of the check
|
|
339 |
@raises SysconfigError: in case of failure of the check
|
|
340 | 340 |
|
341 | 341 |
""" |
342 | 342 |
path = "/dev/%s" % name |
Also available in: Unified diff