All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephane CHAZELAS <stephane_chazelas@yahoo.fr>
To: linux-btrfs@vger.kernel.org
Subject: Re: BTRFS thinks that a device is mounted
Date: Fri, 21 Oct 2011 10:10:12 +0000 (UTC)	[thread overview]
Message-ID: <slrnja2h84.5ku.stephane.chazelas@spam.is.invalid> (raw)
In-Reply-To: a46ac41f14ba1581cb554a0f26463859.squirrel@webmail01.edunet.gr

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


  parent reply	other threads:[~2011-10-21 10:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-20 21:39 BTRFS thinks that a device is mounted Nikos Voutsinas
2011-10-21  1:33 ` Helmut Hullen
2011-10-21 10:10 ` Stephane CHAZELAS [this message]
2011-10-22 13:57   ` Nikos Voutsinas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnja2h84.5ku.stephane.chazelas@spam.is.invalid \
    --to=stephane_chazelas@yahoo.fr \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.