Re: BTRFS partition corrupted after deleting files in /home

2021-01-03 Thread Andrej Podzimek via users
I don't know what happened, but I just logged into my system and deleted some unused files in my home directory. Just some directories. Suddenly everything on my system became read only. While rebooting I think I saw messages like: "BTRFS Error" I booted into a live environment to restore my sn

Re: OT: how to get shell status of first pipe shell command (when fail), not that of the last one

2018-11-05 Thread Andrej Podzimek via users
When I concatenate 2 or more shell command with pipe (|), I get only the status of last one. For example: "*some-cmd | logger -t "some-cmd messages:"; echo $?*" If "*some-cmd*" fail with status !=0 I get always status of last one, in this case 0 In my case if the first command fail, I must se