bug-coreutils
[Top][All Lists]
Advanced

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

Re: df and multiple-mounted mountpoints


From: Tim Waugh
Subject: Re: df and multiple-mounted mountpoints
Date: Tue, 8 Jul 2003 17:20:59 +0100
User-agent: Mutt/1.4.1i

On Tue, Jul 08, 2003 at 09:31:05AM -0600, Bob Proulx wrote:

> I am sorry but I don't follow.  Perhaps you could give an example of
> why it's misleading?  Please cut-n-paste the output to create a small
> example showing what you are talking about about.

address@hidden root]# mkdir mnt
address@hidden root]# dd if=/dev/zero of=1 bs=8192 count=50
50+0 records in
50+0 records out
address@hidden root]# dd if=/dev/zero of=2 bs=8192 count=100
100+0 records in
100+0 records out
address@hidden root]# mke2fs 1
mke2fs 1.33 (21-Apr-2003)
1 is not a block special device.
Proceed anyway? (y,n) y
[...]
address@hidden root]# mke2fs 2
mke2fs 1.33 (21-Apr-2003)
2 is not a block special device.
Proceed anyway? (y,n) y
[...]
address@hidden root]# mount -oloop 1 mnt
address@hidden root]# mount -oloop 2 mnt
address@hidden root]# df
[...]
/root/1               782K   13K  729K   2% /root/mnt
/root/2               782K   13K  729K   2% /root/mnt

Here it seems as though the fs on device /root/1 is 729K; in reality
it is half that.

I don't know what the right answer is though.

Tim.
*/

Attachment: pgpHgra3mr4Fx.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]