Hi everyone

I want to write kernel meesage,which is generally recorded at
/var/log/messages, at usb flash memory.
It goes well when the kernel mesage recording file is specified on hard
disk, but it does not on usb flash memory.

What I have worked on is as below.

--
>mkdir /var/log/hm

>mount /dev/sdb /var/log/hm
(I checked that usb flash memory is mounted.)

>vi /etc/rsyslog.conf

I changed
*.info;mail.none;authpriv.none;cron.none /var/log/messages
to
*.info;mail.none;authpriv.none;cron.none /var/log/hm/messages
--

When the kernel message recording place is specified on hard disk (such as
/var/log/messages2), it records well. However, it does not record on usb
flash memory

Please let me know if there is something that I have to revise or add

thanks in advance,

Cheon.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to