Hi !

How can I transfer the current running system which booted from hda
to a ramdisk and unmount all local filesystems ?

I want to setup a server, which gets its power supply from an UPS,
but this ups canīt tell the machine whether commercial power is
lost/restored,
though a shutdown is not possible.

I wrote a shellscript which checks via mii-tool if the network link is up /
alive,
when the link is lost, machine should stop all "public" accessible services
(pop,
ftp, httpd, " unmount local file systems (exept of ramdisk of course), and
wait
with a minimal root system in the ramdisk until the network link is up again
(power is restored), or beeing cut off because of the ups is out of
capacity. (which doesnīt matter,
because of all filesystems on harddisks are cleanly unmounted)

I have to mention that the switch/hub is not connected to the ups, of
course.

mhm, I do have enough ram for copying the hole machinesī harddisk into a
ramdisk,
but  I think thats the wrong way... in needs to much time to do such a copy
in case of
power could be lost .....

any idea would be fine ...





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to