Date: Fri, 29 Aug 2003 15:04:07 +0100 From: =?iso-8859-1?Q?Marco_Gon=E7alves?= <marco@aces.pt> To: <freebsd-questions@freebsd.org> Subject: Re: dmesg output Message-ID: <01be01c36e36$73446f60$6b026b83@marco> References: <009901c36d01$ba7572c0$ad1316c3@celeron1700> <44u181b7q9.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I wanted to clear the dmesg -a output because i had this problem with a = IDE disk, wich give this message all over ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn = 133851519; cn 8331 tn 222 sn 18) status=3D59 error=3D40 ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn = 133851519; cn 8331 tn 222 sn 18) status=3D59 error=3D40 ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn = 133851519; cn 8331 tn 222 sn 18) status=3D59 error=3D40 ... and so one i mirrored the disk and change with other, and now is dificult to see if = that is ok...unless i clear the buffer to see if the messages keep on=20 by the way can i use fsck on a multi-user runing server? ----- Original Message -----=20 From: Lowell Gilbert=20 To: Marco Gon=E7alves=20 Cc: freebsd-questions@freebsd.org=20 Sent: Friday, August 29, 2003 1:58 AM Subject: Re: dmesg output =3D?Windows-1252?Q?Marco_Gon=3DE7alves?=3D <marco.goncalves@aces.pt> = writes: > Email TemplateHow can i delete the 'dmesg -a' last output buffer Assuming I'm understanding you correctly (you want to clear the system message buffer?) you shouldn't be able to do that while the system is running. It's a security precaution. Maybe if you explained why you wanted to do it, we'd be able to help. > /var/run/dmesg.boot - but it just shows the hardware boot It shows the contents of the system message buffer immediately after the kernel boots. > /var/log/dmesg.today - seems like a copy of /var/run/dmesg.boot It should be the contents of the system message buffer at the time of the daily periodic(8) run. > /var/log/dmesg.eyesterday - seems to me like the dmesg -a output = before last reboot... It should be the previous day's dmesg.today file.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01be01c36e36$73446f60$6b026b83>