DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-03-03 09:56:26

rap
Member
From: Reading - UK
Registered: 2008-02-28
Posts: 119

How to access a RAM drive

Bit of a newbie question I'm affraid.

I've got funplug (0.4) working and have followed the wiki to quieten down the fan in my DNS.

Question I have is that the instructions seem to indicate that a log is written to a RAM drive so as not to wake up the disk drives but how do I access the RAM drive? Do I just telenet to the device and then switch drives somehow?

TIA

RAP

Offline

 

#2 2008-07-09 16:17:33

chaicl
New member
Registered: 2008-07-01
Posts: 4

Re: How to access a RAM drive

Will really appreciate any help on this as well as I am unable to find the log file from the fan control script.  How do we access the RAM Drive?

Offline

 

#3 2008-07-09 17:37:56

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: How to access a RAM drive

The script from the wiki ( http://dns323.kood.org/hardware:fan ):

Code:

LOGDIR=/log
FANLOGFILE=${LOGDIR}/fan_ctrl.log

So the log file will be /log/fan_ctrl.log

To read it, telnet your box and run 'less':

Code:

telnet bob
less /log/fan_ctrl.log

Important keys to navigate in less are:

Code:

  j - scroll down a line
  k - scroll up a line
  space - scroll down a page
  > - go to end of file
  < - go to start of file
  q - quit

PS: It doesn't matter if the file is on a ram-disk, a network drive, or on the hard disk. unix/linux has this VFS (virtual file system) thing that combines everything into a single directory hierarchy.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB