svn commit: r365643 - head/bin/cp

Mateusz Guzik mjguzik at gmail.com
Fri Sep 25 22:20:43 UTC 2020


Perhaps this is a leftover from the installer (or some version of it
anyway), i.e. this might have been happening in the past but likely
does not now.

fwiw I just exported / over nfs in a vm, /dev is empty

On 9/25/20, Ian Lepore <ian at freebsd.org> wrote:
> On Fri, 2020-09-25 at 20:48 +0100, Edward Tomasz Napierała wrote:
>> > On 25 Sep 2020, at 19:12, Ian Lepore <ian at freebsd.org> wrote:
>>
>> [..]
>>
>> > (A question that occurs to me:  could it be that the files you've
>> > seen
>> > got created at shutdown after devfs was unmounted, rather than at
>> > startup?  I don't know enough about the shutdown sequence to know
>> > whether that's possible.)
>>
>> Thing is, if you unmount /dev, you are revoking
>> all the device nodes, including your ttys and disk device nodes.  You
>> wouldn’t be able to properly shutdown afterwards.
>>
>>
>
> I was thinking more of something in the shutdown rc scripts or an
> errant daemon process unmounting /dev.  But it sounds like that's not
> possible while disks are still mounted.
>
> -- Ian
>
>


-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the svn-src-head mailing list