parted errors printed to standard output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Parted |
New
|
Unknown
|
|||
parted (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
[Intrepid]
Standard error of parted goes to standard output. This makes my script to function unexpectedly.
Look at the different behavior of parted in hardy and intrepid:
intrepid: (unexpected behavior)
root@ubuntu-
错误: /dev/ramzswap0: unrecognised disk label
root@ubuntu-
1
root@ubuntu-
错误: /dev/ramzswap0: unrecognised disk label
root@ubuntu-
root@ubuntu-
root@ubuntu-
错误: 无法对设备 /dev/1 - 没有该文件或目录 做 stat 操作。
重试/Retry/放弃/Cancel? c
root@ubuntu-
错误: 无法对设备 /dev/1 - 没有该文件或目录 做 stat 操作。
root@ubuntu-
1
root@ubuntu-
错误: 无法对设备 /dev/1 - 没有该文件或目录 做 stat 操作。
root@ubuntu-
root@ubuntu-
hardy: (expected behavior)
root@pt-
错误: 无法对设备 /dev/1 - 没有该文件或目录 做 stat 操作。
重试/Retry/放弃/Cancel? c
root@pt-
错误: 无法对设备 /dev/1 - 没有该文件或目录 做 stat 操作。
root@pt-
1
root@pt-
root@pt-
错误: 无法对设备 /dev/1 - 没有该文件或目录 做 stat 操作。
root@pt-
Changed in parted: | |
status: | Unknown → New |
I can confirm this on Jaunty, running parted 1.8.8. I've reported the bug upstream.