The device nodes in /dev are part of the file system, but they are not "on
disk", per se.  Think of them as you would named pipes.

Chris -)-----

Chris Cohen wrote:
> On Saturday 22 December 2007 19:51:16 Jussi Peltola wrote:
>> On Sat, Dec 22, 2007 at 08:29:11PM +0200, Lars Noodén wrote:
>>> I'd like to move the directories that are frequently written to off of
>>> the CF and into RAM so that / can be mounted read-only.
>>>
>>> /tmp and /var can be managed simply by modifying /etc/fstab:
>>>
>>>  #  /var.base has a template of directories to populat /var with
>>>  swap /var mfs -P/var.base,-s16000,async,nosuid,nodev,noatime,rw 0 0
>>>  swap /tmp mfs async,nosuid,nodev,noatime,rw,-s=15000 0 0
>>>
>>> It's not the same with /dev, however.  I've tried a few variations, e.g.
>>>
>>>   swap /dev mfs -P/dev.base,async,rw,-s=5000,-i=128 0 0
>>>
>>> but none allow the system to finish booting.
>>>
>>> What are the good ways to do work with /dev in RAM ?
>> What writes in /dev? Isn't it just device nodes?
> 
> Openssh needs to write to some devices. (Don't know which ones..)
> 

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   [EMAIL PROTECTED]
OnLineBook -- http://ubiqx.org/cifs/    -)-----   [EMAIL PROTECTED]
_______________________________________________
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to