Date: Thu, 11 Sep 1997 12:19:29 +0300 From: Oleg Kolesnikov <ok@univers.cv.ua> To: questions@FreeBSD.ORG Subject: [Q] cp error messages when disk is write protected, how to disable (see letter) Message-ID: <199709110919.MAA01625@main.univers.chernovtsy.ua>
next in thread | raw e-mail | index | archive | help
When I mount dos diskette: mount_msdos /dev/fd0.1440 /dos_disk and diskette is write protected, command: cp <something> /dos_disk outputs lots of errors to the console. The question is how to redirect ALL the error messages to some file. I tried to kill syslogd, redirect stderr of cp to /dev/null, etc. etc. but it seems to me that kernel generates all those message, so the only solution is to patch kernel's fd driver. Are there any other variants ? (My system is FreeBSD2.2.2-RELEASE) Best wishes, Oleg Kolesnikov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709110919.MAA01625>