This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: How to get the exit code from the (FSCK )service systemd-fsck-root.service,

Part Number: TDA4VM

Dear TI,

I would like to know the exit code of FSCK, when it is run.

I understood that systemd-fsck-root.service runs FSCK.

I have customized the systemd-fsck-root.service  service file and tried to print the return value after executing /lib/systemd/systemd-fsck .

But, I am always getting 0.

Does it (/lib/systemd/systemd-fsck) return any value?

 

Thanks and Regards,

Karunakar

  • Hi Karunakar,

    I would request you to check the systemd-fsck documentation to find the answer to this question. In my knowledge, TI directly uses this component without any customization and therefore, I'm not immediately aware on how to answer this question.

    I do request you to post back the update if you get any further with this thread or you want to have a further discussion on your findings. 

    Regards

    Karthik