[Gelistirici] Suspend sorunları

S.Çağlar Onur caglar at pardus.org.tr
25 Tem 2008 Cum 01:45:00 EEST


Selamlar;

24 Tem 2008 Per tarihinde, Fatih Aşıcı şunları yazmıştı: 
> Evet bu işe yarıyor; ancak ondan önce /etc/suspend.conf dosyasını oluşturmak 
> gerekiyor ki initramfs içine bu dosya da girsin.

Britney olsa "Ops, i did it again" derdi burada fakat o aramızda yok o yüzden ben suspend paketinin postInstall betiği YALI ile kurulunca resume= satırını bulamadığı için suspend.conf oluşturmuyor, 2007'de bu sorun yoktu çünkü paket öntanımlı kurulmuyor ve sonradan sisteme geliyordu. Sonradan postInstall'u dürtünce düzgünce oluşuyor config diyorum.

Bahadır bu durum için ne yapabiliriz? Gökmen acaba bu ilk config'i yazma işini YALI'ya mı eklesek?

bankai ~ # cd /home/caglar/sourcebox/svn/devel/applications/powermanagement/suspend/comar
bankai comar # ipython
In [1]: import package

In [2]: package.postInstall(0,0,0,0)

In [3]:
Do you really want to exit ([y]/n)? y
bankai comar # cat /etc/suspend.conf
# Auto generated suspend.conf
# your snapshot device. You should not need to change this.
snapshot device = /dev/snapshot

# enter your swap device here.
resume device = /dev/sdb1

# compression will often speed up suspend and resume
compress = y

#image size = 350000000

# Debugging option
#suspend loglevel = 2

# compute checksum will slow down suspend and resume. Debugging option
#compute checksum = y

## encryption support is rather basic right now - e.g. USB keyboards will not
## work to enter the key in the standard initrd, also beware of
## non-US keyboard layouts. Only use this if you know what you are doing.
#encrypt = y
#early writeout = n
#splash = y
 
> Denemek isteyenler suspend.conf içine swap bölümünü yazabilirler. Bendeki 
> şöyle mesela:
> 
> hp-pardus tmp # cat /etc/suspend.conf
> resume device = /dev/sda5

Saygılar
-- 
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20080725/ceafae2a/attachment-0002.pgp>


Gelistirici mesaj listesiyle ilgili daha fazla bilgi