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

Re: Serious problem with potato



On Sat, Dec 09, 2000 at 03:39:44AM -0500, S . Salman Ahmed wrote:
> I just installed potato using the 2.2r2 boot floppies. The problem I am
> having is that the output of 'du' and 'df' does not agree. Specifically,
> even though I created a 2.5Gb /usr/local/ partition on which I haven't
> currently installed any SW, here is what df says about it:

This has come up before.  I forget the full explanation, but if I
remember correctly, df is closer to the truth.  The info page linking to
"du" says "Estimate file space usage", though there is no further
mention of why it is an "estimate" in the actual "du" page.

[snip...]

> Partition info is as follows:
> 
> # /etc/fstab: static file system information.
> #
> # <file system>	<mount point>	<type>	<options>			<dump>	<pass>
> /dev/hdc1	/		ext2	defaults,errors=remount-ro	0	1
> /dev/hdc5	none		swap	sw,pri=3			0	0
> /dev/hdc6	none		swap	sw,pri=3			0	0
> proc		/proc		proc	defaults			0	0
> /dev/fd0	/floppy		auto	defaults,user,noauto		0	0
> /dev/cdrom	/cdrom		iso9660	defaults,ro,user,noauto		0	0
> /dev/hdc7 	/tmp 		ext2 	rw				0	2
> /dev/hdc8 	/home 		ext2 	rw				0	2
> /dev/hdc9 	/usr/local 	ext2 	rw				0	2
> /dev/hdc10 	/var 		ext2 	rw				0	2
> /dev/hdc11 	/usr 		ext2 	rw				0	2
> /dev/hdc3	/backup		ext2	rw				0	2

Put the /usr/local entry, after /usr.  /usr is getting mounted on top of
your /usr/local partition, hence the identical values.  I think I'd also
mount /home somewhere near the last entry.  Linux is kinda funny about
allowing a partition to be mounted more than once (reportedly a feature,
rather than a bug). 

-- 
Eric G. Miller <egm2@jps.net>



Reply to: