XD2031 icon indicating copy to clipboard operation
XD2031 copied to clipboard

Verbose / restarting fsser

Open nils-eilers opened this issue 12 years ago • 2 comments

If the device is powered by the CBM (e.g. petSD connected to tape port) and the CBM doesn't have a reset key, a power cycle will disconnect the device. fsser stops exection then without a word what happend.

A user might not expect that a "reset" (okay, it's a power cylce) will stop XD-2031.

fsser should try to re-open the device. This could be difficult if it started with root rights and droped rights later. At least, it should give a hint, why it stopped.

nils-eilers avatar Dec 06 '12 06:12 nils-eilers

Took me a while to find out that read() DOES NOT return with -1 (error) if the device gets powered off. It returns with 0. Tested with OS X 10.6.8 and my Linux Box.

fsser gives a hint now, but doesn't try to restart yet.

nils-eilers avatar Dec 06 '12 09:12 nils-eilers

Restarts on Linux.

nils-eilers avatar Aug 07 '13 22:08 nils-eilers