The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
1answer
50 views

Where/when are exit statuses returned for background jobs in bash?

I'm writing a bash script which has many parts, but I want built in resiliency and parallel processing as much as possible. An example is below: while true do var=$(curl someurl) || continue var2=...
12
votes
3answers
885 views

Can the filesystem become inconsistent if interrupted when moving a file?

I have two folders on the same partition (EXT2) If I mv folder1/file folder2 and some interruption occur (e.g. power failure) could the file system ever end up being inconsistent? Isn't the mv ...
26
votes
5answers
8k views

Corruption-proof SD card filesystem for embedded Linux?

Recently we had a rather unpleasant situation with our customer - Raspberry Pi based "kiosk" used to display remote sensing data (nothing more fancy than a kiosk mode browser displaying a self-...
5
votes
3answers
6k views

Where does LVM store data?

My questions are similar to this thread Does LVM increase the risk of data loss?, however, I couldn't find a satisfying answer. So the question is, where does LVM store data/files, when I have a ...
5
votes
1answer
657 views

To sync /var or not?

It seems in a hard crash, in particular failure of a UPS to keep a system running, that some of the contents of logs get lost due to file system caching. As an experiment, I tried mounting the /var ...