coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fstatat + AT_NO_AUTOMOUNT


From: Bernhard Voelker
Subject: Re: fstatat + AT_NO_AUTOMOUNT
Date: Tue, 8 Mar 2022 13:29:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1

On 3/7/22 20:09, Paul Eggert wrote:
> Although it's possible to mount onto a 
> non-directory, this is bad practice and I don't think we need to worry 
> about that.

I'm not so sure about that: at least in container environment it seems to be
common practice to mount regular files somewhere into the container, e.g.:

  [root@7ce1ad192b6d /]# findmnt /etc/hosts -o target,source
  TARGET     SOURCE
  /etc/hosts 
/dev/sda5[/docker/containers/7ce1ad192b6dc0e265e34d31c8a1ac22e878a751d9d810356eecdc77002e8013/hosts]

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]