发布网友 发布时间:2022-04-25 07:13
共1个回答
热心网友 时间:2023-11-06 03:25
调用xfs_admin时没有指明所在路径,建议使用绝对路径。
可以在system调用前查询下当前所在目录,看是不是xfs_admin程序所在路径。
#include <unistd.h>
关于返回值32512,解释如下:
As for the exit code,
Bits 15-8 = Exit code.
Bit 7 = 1 if a core mp was proced.
Bits 6-0 = Signal number that killed the process.
32512 = 0x7F00
So it didn't die from a signal, a core mp wasn't proced, and it exited with code 255.
What 255 means is unclear, which is why it should accompanied by an error message.
热心网友 时间:2023-11-06 03:25
调用xfs_admin时没有指明所在路径,建议使用绝对路径。
可以在system调用前查询下当前所在目录,看是不是xfs_admin程序所在路径。
#include <unistd.h>
关于返回值32512,解释如下:
As for the exit code,
Bits 15-8 = Exit code.
Bit 7 = 1 if a core mp was proced.
Bits 6-0 = Signal number that killed the process.
32512 = 0x7F00
So it didn't die from a signal, a core mp wasn't proced, and it exited with code 255.
What 255 means is unclear, which is why it should accompanied by an error message.
热心网友 时间:2023-11-06 03:25
调用xfs_admin时没有指明所在路径,建议使用绝对路径。
可以在system调用前查询下当前所在目录,看是不是xfs_admin程序所在路径。
#include <unistd.h>
关于返回值32512,解释如下:
As for the exit code,
Bits 15-8 = Exit code.
Bit 7 = 1 if a core mp was proced.
Bits 6-0 = Signal number that killed the process.
32512 = 0x7F00
So it didn't die from a signal, a core mp wasn't proced, and it exited with code 255.
What 255 means is unclear, which is why it should accompanied by an error message.
热心网友 时间:2023-11-06 03:25
调用xfs_admin时没有指明所在路径,建议使用绝对路径。
可以在system调用前查询下当前所在目录,看是不是xfs_admin程序所在路径。
#include <unistd.h>
关于返回值32512,解释如下:
As for the exit code,
Bits 15-8 = Exit code.
Bit 7 = 1 if a core mp was proced.
Bits 6-0 = Signal number that killed the process.
32512 = 0x7F00
So it didn't die from a signal, a core mp wasn't proced, and it exited with code 255.
What 255 means is unclear, which is why it should accompanied by an error message.
热心网友 时间:2023-11-06 03:25
调用xfs_admin时没有指明所在路径,建议使用绝对路径。
可以在system调用前查询下当前所在目录,看是不是xfs_admin程序所在路径。
#include <unistd.h>
关于返回值32512,解释如下:
As for the exit code,
Bits 15-8 = Exit code.
Bit 7 = 1 if a core mp was proced.
Bits 6-0 = Signal number that killed the process.
32512 = 0x7F00
So it didn't die from a signal, a core mp wasn't proced, and it exited with code 255.
What 255 means is unclear, which is why it should accompanied by an error message.
热心网友 时间:2023-11-06 03:25
调用xfs_admin时没有指明所在路径,建议使用绝对路径。
可以在system调用前查询下当前所在目录,看是不是xfs_admin程序所在路径。
#include <unistd.h>
关于返回值32512,解释如下:
As for the exit code,
Bits 15-8 = Exit code.
Bit 7 = 1 if a core mp was proced.
Bits 6-0 = Signal number that killed the process.
32512 = 0x7F00
So it didn't die from a signal, a core mp wasn't proced, and it exited with code 255.
What 255 means is unclear, which is why it should accompanied by an error message.