C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Revising #pragma once

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 27 Aug 2024 08:47:07 -0700
On Tuesday 27 August 2024 08:39:33 GMT-7 connor horman via Std-Proposals
wrote:
> I would expect that if you have two mount points, the objects below it, in
> fact, have distinct identity (even if they ultimately refer to the same
> object).

It depends on what the mount is.

For a bind mount, for example, the mount ID is different but the devid in
struct stat is the same. For subvolumes, the devid is usually different. For
overlay mounts... no clue.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2024-08-27 15:47:11