|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/01/2012 09:56 AM, 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
>
> -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/selinux
>
>
If you have huge file systems with all the same file type on them. it
is probably better to just mount the drive with a label.
Then autorelabel will ignore the file system. No reason to put labels
on a huge file system all with the same label.
man setfiles
...
-p show progress by printing * every 1000 files.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8pZtQACgkQrlYvE4MpobMp1ACfQJQGte2uehDIlYJhF5hRB0fR
+jUAn1UQtm4xMPEi13QGf2m4R46t7hWi
=R1YP
-----END PGP SIGNATURE-----
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux
[Fedora Users] [Fedora Legacy] [Fedora Desktop] [Big List of Linux Books] [Yosemite Photos] [Yosemite News] [Yosemite Campsites] [KDE Users] [Gnome Users]