* [bug] mount and /proc/mounts disagrees
@ 2013-03-26 15:24 anand jain
2013-03-26 15:34 ` Josef Bacik
0 siblings, 1 reply; 2+ messages in thread
From: anand jain @ 2013-03-26 15:24 UTC (permalink / raw)
To: linux-btrfs
3.8.0+ #3
This happened after 'umount /btrfs' was interrupted by ctl-C
# mount | egrep btrfs
/dev/mapper/mpathe on /btrfs type btrfs (rw,degraded)
# cat /etc/mtab | egrep btrfs
/dev/mapper/mpathe /btrfs btrfs rw,degraded 0 0
# cat /proc/mounts | egrep btrfs
# umount /btrfs
umount: /btrfs: not mounted
#
-Anand
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [bug] mount and /proc/mounts disagrees
2013-03-26 15:24 [bug] mount and /proc/mounts disagrees anand jain
@ 2013-03-26 15:34 ` Josef Bacik
0 siblings, 0 replies; 2+ messages in thread
From: Josef Bacik @ 2013-03-26 15:34 UTC (permalink / raw)
To: anand jain; +Cc: linux-btrfs@vger.kernel.org
On Tue, Mar 26, 2013 at 09:24:02AM -0600, anand jain wrote:
>
> 3.8.0+ #3
>
> This happened after 'umount /btrfs' was interrupted by ctl-C
>
> # mount | egrep btrfs
> /dev/mapper/mpathe on /btrfs type btrfs (rw,degraded)
>
> # cat /etc/mtab | egrep btrfs
> /dev/mapper/mpathe /btrfs btrfs rw,degraded 0 0
>
> # cat /proc/mounts | egrep btrfs
> # umount /btrfs
> umount: /btrfs: not mounted
> #
>
That's because your mount still uses /etc/mtab for some reason, I thought it had
stopped doing that and was using /proc/mounts? Anyway it's just because the
entry made it into mtab, if umount and /proc/mounts says its not there then its
not there. Thanks,
Josef
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-26 15:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-26 15:24 [bug] mount and /proc/mounts disagrees anand jain
2013-03-26 15:34 ` Josef Bacik
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.