From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephane CHAZELAS Subject: Re: BTRFS thinks that a device is mounted Date: Fri, 21 Oct 2011 10:10:12 +0000 (UTC) Message-ID: References: To: linux-btrfs@vger.kernel.org Return-path: List-ID: 2011-10-21, 00:39(+03), Nikos Voutsinas: [...] > ## Comment: Of course /dev/sdh is not mounted. > mount |grep /dev/sdh > root@lxc:~# [...] Note that mount(8) uses /etc/mtab to find out what is mounted. And if that file is not a symlink to /proc/mounts, the information is not necessarily correct. You can also have a look at /proc/mounts directly. -- Stephane