[maemo-users] MMC partitions w/ ITOS2006

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-06-12 at 15:40, ext Frantisek Dufka wrote:
> Kimmo H?m?l?inen wrote:
> > The swap file will be stored to the first partition (VFAT if you format
> > with the 770) as a file named '.swap'. 
> 
> That's interesting, so how did you solve situation when usb cable is 
> plugged in and first partition is unmounted while swap is used? If 
> swapoff is tried what if memory is already tight?

The same problem happens with multiple partitions as well, when the user
tries to remove the card. It has been solved by first checking whether
disabling swap is safe or not: if it's safe, it's disabled; if it's not
safe, a warning dialog pops up. (Same kind of mechanism is used to
handle the case when there is an open file on the MMC.)

BR; Kimmo

> 
> Frantisek
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://maemo.org/mailman/listinfo/maemo-users



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux