RE: Suggestion on autorelabel

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

 



On Wed, 2012-02-01 at 4:57 PM, Bob Gustafson wrote:
> On Wed, 2012-02-01 at 09:02 -0500, Daniel J Walsh wrote:
> > On 01/31/2012 05:06 PM, m.roth@xxxxxxxxx wrote:
> > > Y'know, folks, fsck -c gives you a clue that not only is it
> > > running, but a vague feel for how much longer it'll be.
> > > .autorelabel, esp with several 2TB drives in a system, gives
> > > screens and screens and screens of asterisks, with no clue if it'll
> > > *ever* finish (which matters, when I'm going to be leaving soon,
> > > and it needs to be up for an overnight backup....)
> > >
> > > mark
> > >
> > > -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx
> > > https://admin.fedoraproject.org/mailman/listinfo/selinux
> > >
> > >
> > Give me a mechanism to know how many files are on the file system and
> > I might be able to give you an idea.
> >
> > Basically this is doing  a
> >
> > find /
> >
> > I don't think there is a way to know how many files are left.
> > --
> 
> I was also troubled by the 'endless' stream of asterisks.
> 
> Perhaps some sort of heuristic - like disk size(s) divided by 'average'
> file size. Also don't know the value of one asterisk - is it 100 files?
> 
> A few more experiments would give something that would be +- 30% This
> would be better than nothing.
> 
> Bob G
> 

"df -i" gives a summary of used inodes that corresponds to the number of
files in my ext4 /boot and /home file systems very closely.  The root
file system inum count is about 14,000 more than
     find / -mount | wc -l
But perhaps this could provide a good base number.

Fred
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux