You are not logged in.
Two bonus questions:
1. How to not save / to remove filesystem check from the log:
Tue Jul 3 04:56:33 2012: :: Checking Filesystems [BUSY] /dev/sda1: czysty, 31/26208 pli
ków, 22211/104420 bloków(sprawdzenie za 3 montowań)
Tue Jul 3 04:56:33 2012: /dev/sda4 był montowany 22 razy bez sprawdzania, wymuszono sprawd
zenie.
Tue Jul 3 04:56:33 2012: ^A/dev/sda4: |
| 0.3% ^B^A/dev/sda4: | / 0
.6% ^B^A/dev/sda4: |= - 1.2% ^B
^A/dev/sda4: |= \ 1.5% ^B^A/dev/sda
4: |= | 1.8% ^B^A/dev/sda4: |=
/ 2.4% ^B^A/dev/sda4: |=
- 2.7% ^B^A/dev/sda4: |==
\ 3.0% ^B^A/dev/sda4: |==
| 3.2% ^B^A/dev/sda4: |== /
3.8% ^B^A/dev/sda4: |== - 4.1%
^B^A/dev/sda4: |== \ 4.4% ^B^A/dev/It's a mess.
2. Why 'file' sees it as data and not text?
$ file /var/log/boot
/var/log/boot: dataLast edited by karol (2012-11-14 18:13:31)
Offline
@karol, I know you don't need the detailed instructions. I wrote my reply to help others who are not yet familiar with grep. I had a lot of disk check messages in my boot log from reboots after power failures this past week.
The most simple regex to find the disk-check lines in the boot log was '|'. For me, it didn't catch anything extra. See what you catch with:
$ grep -n '|' /var/log/bootI added the -n option just so I could see where lines started. If the grep works, just copy the inverse grep to a file.
$ grep -v '|' /var/log/boot > ~/bootlog_edit.txtI don't see a way to stop the lines from being written after checking 'man bootlogd', but I'm often wrong. 'bootlogd' is called at startup from /etc/rc.sysinit.
Last edited by thisoldman (2012-07-10 09:51:59)
Offline
@karol, I know you don't need the detailed instructions.
<chuckles> Thanks :-)
'|' is being used as part of the "throbber" :
/ - \ |(the quasi-spinning thingy) but it shouldn't be a problem.
Offline
Tue Jul 3 04:56:33 2012: :: Checking Filesystems [BUSY] /dev/sda1: czysty, 31/26208 pli
ków, 22211/104420 bloków(sprawdzenie za 3 montowań)
Tue Jul 3 04:56:33 2012: /dev/sda4 był montowany 22 razy bez sprawdzania, wymuszono sprawd
zenie.
...What does this mean?
What does it say?
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Sorry, that's because of https://bbs.archlinux.org/viewtopic.php?id=144397
It's just the standard stuff
Tue Jul 3 04:56:33 2012: :: Checking Filesystems [BUSY] /dev/sda1: clean, 31/26208 files, 22211/104420 blocks (filesystem check in 3 mounts)
Tue Jul 3 04:56:33 2012: /dev/sda4 has been mounted 22 times without checking. Check forced.Last edited by karol (2012-07-10 16:38:26)
Offline
journalctl has a nicer default time & date format, so I consider this solved.
Offline