[ltp] Suspend-to-ram with / mounted from USB
Richard Neill
linux-thinkpad@linux-thinkpad.org
Sun, 05 Nov 2006 21:39:07 +0000
Laurent Gilson wrote:
are installs/upgrades/removes wirte to the stick.
>=20
> Maybe copying the often-changed files from the CF into a ramdisc and=20
> writing them back at shutdown is the right way. But then i will have to=
=20
> do something about my windows. Is it possible to insert a CF into a=20
> ultrabay-HD adapter ?
Should work ok. CF cards behave exactly like IDE disks. The adaptor=20
(CF/mini-IDE) is available for $3 or so on eBay. Should fit into=20
ultrabay adaptor just fine.
>=20
>> 2)You need to edit your suspend scripts to allow the usb key to be=20
>> unmounted before suspend, and remounted thereafter.
>=20
> Already done that. But it does not change my problem: files saved on th=
e=20
> stick are open at suspend and needed after resume. It does not matter i=
f=20
> it=B4s /usr or /.
I think you're in trouble. The suspend scripts are designed to rmmod the=20
usb devices. This means you *have* to unmount the stick. Therefore, you=20
*must* close the files which are on it before unmounting.
Do you really need suspend to RAM? Suspend to disk would probably work o=
k.
I'm afraid I'm not sufficiently expert to advise on the answer, but I=20
*think* it isn't possible.
Richard