Garrett D'Amore wrote:
>>> - What happens if the system crashes during an incremental
>>> star? Are these files automatically cleaned up on reboot?
>>>
>>
>> ufsrestore exists since 27 years. I am not aware that somebody
>> asked for a similar feature for the case that the kernel crashes
>> during a desaster recovery with ufsrestore.
>>
>> If there was a need for this kind of support, I am sure Sun did add
>> it before, but there is no such support. Why should star get
>> different treatement?
>>
>
> I am not sure you've answered the question here. Mostly I'm concerned
> about the possibility of leaving persistent "turds" in the filesystem,
> where they may be harder to find.
>
> I'd be a lot happier if these incremental files were located in
> /var/run or some other similar place. (/var/tmp if persistence across
> a reboot is required.) I understand that there may be problems in
> dealing with filename collisions in such cases. Hopefully a solution
> to such would be possible.
>
> -- Garrett
>
It looks like these file files are in a known place; they are created in
the root directory of the new file system.
From man page of ufsrestore:
The temporary files rstdir* and rstmode* are placed in /tmp
by default. If the environment variable TMPDIR is defined
with a non-empty value, that location is used instead of
/tmp.
This looks like a good RFE for star.
Margot