Re: findmnt under container

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

 



On Wed, Feb 01, 2017 at 12:10:38PM +0100, Michal Soltys wrote:
> Hi,
> 
> If I start a container by say systemd-nspawn (also tested with ubuntu
> through debootstrap):
> 
> pacstrap -c -d arch base
> systemd-nspawn -b -D arch
> 
> then findmnt without any arguments just returns one line (to be precise - it
> always seems to be the first mount under /sys/fs/cgroup), e.g.:
> 
> /sys/fs/cgroup/devices cgroup cgroup ro,nosuid,nodev,noexec,relatime,devices

 1) /proc/self/mountinfo content?

 2) try: LIBMOUNT_DEBUG=all findmnt

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux