[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49C5DEE5.6090205@davidnewall.com>
Date: Sun, 22 Mar 2009 17:17:01 +1030
From: David Newall <davidn@...idnewall.com>
To: Arkadiusz Miskiewicz <a.miskiewicz@...il.com>
CC: linux-kernel@...r.kernel.org
Subject: Re: df -h shows ~10 times bigger size when umounting pendrive
Arkadiusz Miskiewicz wrote:
> While umount was running and data were synced on the
> pendrive df -h showed:
>
> [arekm@...0 ~]$ df -h
> System plik�w rozm. u�yte dost. %u�. zamont. na
> /dev/sda3 9,6G 4,2G 5,5G 44% /
> /dev/sdb1 9,6G 4,2G 5,5G 44% /media/floppy
>
This looks to me like a race between umount and df. By the time df had
read mtab (to find the mounted filesystem), the pen drive had already
been unmounted; but umount hadn't yet updated mtab. It's a pretty
trivial sort of fault, and not worth worrying about.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists