OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

/var/logs empty - freespace

 
Learn about scoring Download Discussion's Raw Score: 58957.6
November 4, 2010 06:30 AM
Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

r4nd0m

Member

hi there,

first of all, Kong, thanx for the excellent work - now my WRT610n V2 does fulfill all my requirements ...

but speaking of requirements, I had an issue with minidlna dying, so I started it wanting it to redirect the output into a fil "/usr/sbin/minidlna -d -f /tmp/minidlna.conf > /var/log/dlna.log" - when I checked after e period of time I realized the file is empty, same for smb.log and messages.

when I check the disk space df -h it shows that 100% are used, so I wonder how this can be done - by the way my attached drive is ext3 - so probably redirecting /var is an option??

I use the dd-wrt-usb-ftp-samba3-dlna-O2-v24-K26-broadcom.bin (15510M) image

regards

r4n

Discussion:    Add a Comment | Comments 1-2 of 2 | Latest Comment

November 4, 2010 2:24 PM

if you want to debug minidlna you have to start it in debug mode:

minidlna -d

samba is completely stripped, debugging is not complied in.

/ is 100% but if you run:

ls -la /

you will see /var is a linkt to /tmp/var

and var is in ram, seen if calling command:

mount

November 4, 2010 2:39 PM

thanks Kong, for the clarification and the excellent work again

well what I tried to achieve, rather than having all the output on the console I wanted to write it to the logs directory, but it still creates a 0byte file ... will play around with this, I have seen that /var is ramfs so I probably write to my mounted disk instead, cheers

Discussion:    Add a Comment | Comments 1-2 of 2 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window