On Sunday 22 September 2002 02:35 pm, you is done writ: > On Sun, Sep 22, 2002 at 06:49:06PM +0200, Michael Pahle wrote: > > Hi! > > > > 'df' is for disks !? > > 'du' is for directories !? > > You can use du for files too. > > > How can I get the size of a particular file? > > I want to write the size of a particular file in a $variable.
Or maybe ls -s | awk {print $1} ***************** Then, Mike wrote: > I have plenty of orphaned inodes, inode bitmap differences etc, many. You should not. This is Not Good. > How can I fix these without taking the server down? Can't, as far as I know. Time for you to schedule maintenance downtime. > I think e2fsck only works on unmounted partitions is this correct? Yup. Also, when you do, I would *strongly* urge you to use -c option, to force a check for bad blocks on the disk (this *will* take a while). The -a will save you time and grief, unless you *want* to manually repair problems. mark -- If wealth == power and if power corrupts, and absolute power corrupts absolutely, what is the effect of monopolies and billionaires on democracy? - (c) mark roth, 2002 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list