0

I just ran fsck on my newly bought SD card for my Raspberry Pi and it shows the following output:

fsck from util-linux 2.25.2
fsck.fat 3.0.27 (2014-11-12)
/dev/mmcblk0p1: 75 files, 2539/7673 clusters

It doesn't say clean anywhere and exists with error code 1333 (if I do echo $! after running fsck). Is this bad or not? I don't know, sorry.

  • There are no warnings or errors in what you posted. Why did you run fsck and what makes you think it failed? – Panther Jan 18 '16 at 16:00
  • The strange error code and that it says /dev/mmcblk0p1: 75 files, 2539/7673 clusters with no clean in it (otherwise it always says clean) – Maxbit Jan 18 '16 at 16:21
4

The return status is in $?.

$! holds the PID of the last background process.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.