lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ