Re: [bug] mount and /proc/mounts disagrees

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

 



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 
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux