Dear Peter,

> > 2. It is possible to put and keep all the log (/var/log) to HDD?
> 
> /etc/syslog.conf.  You will probably also want to add an entry to
> /etc/fstab.  However, maybe what you really want is to turn on remote
> syslogging to another server?

I following your suggestion and change the /etc/fstab file:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc                    /proc                   proc            noauto
0               0
/dev/hda1          /var/log             auto            defaults        0
0

then I issue 
# svi sysklogd restart

to create empy log file.

However, I found some log (e.g. cron.log ) is missing.

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                 8192      4284      3908  52% /
tmpfs                    23392         0     23392   0% /tmp
tmpfs                   528000      9440    518560   2% /var/log
/dev/hda1               528000      9440    518560   2% /var/log

I think the cron.log was written to /var/log at tmpfs first, then erased?
after mount the hard disk.

Question: How can I remove /var/log at tmpfs?

Regards,
Chris Lee



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to