![]() |
2014-07-16
, 16:25
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#252
|
Ereswap gives the option, which swaps to use. They can be well both on uSD. I think that the choice should be left to the user (it might be still recommended to have two swaps on uSD)
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2014-07-16
, 16:44
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#253
|
ereswap is hardcoded which is not good.
flopswap uses blkid to locate the swaps at boot time this is the correct way to locate partitions, you should only use swap partitions specified in /etc/fstab.
Using hardcoded paths is bad as stock and upstream kernel issues locations randomly.
The Following User Says Thank You to marmistrz For This Useful Post: | ||
![]() |
2014-08-18
, 16:03
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#255
|
Sixwheeledbeast: what's your final decision on my proposal: a definite "no"?
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2014-08-18
, 18:54
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#256
|
I don't plan on modifying flopswap to do this.
TBH now flopswap is in Extras, I don't plan to make any major changes.
I have already explained why flopswap was designed this way.
You really should consider making 2x 800Mb swaps on the uSD IMO.
![]() |
2014-09-24
, 08:17
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#257
|
The Following 3 Users Say Thank You to marmistrz For This Useful Post: | ||
![]() |
2014-09-25
, 16:45
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#258
|
sixwheeledbeast: I finally gave in, made that two swap on uSDand now I'm experiencing a problem with Flopswap. The relocateswap script isn't executed at bootup (or it's effects are negated somewhere later)
If one runs `sudo start relocateswap`, the swap is properly relocated (using only 1 partition)
blkid | grep swap -- ( need root) dpkg-query -W -f='${Version}\n' upstart dpkg-query -W -f='${Version}\n' flopswap cat /etc/default/mount-opts-overwrite cat /etc/default/mount-opts cat /etc/fstab
One more request: could you show a busy indicator while the scripts are running (e.g. swap is being flopped) and, even better, gray out the 4 buttons while flopswap is busy?
![]() |
2014-09-26
, 17:15
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#259
|
![]() |
2014-09-27
, 21:34
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#260
|
I'm on all 3 swaps, flopswap is enabled (otherwise I wouldn't have relocateswap in event.d)
http://paste.ubuntu.com/8426857/
Btw. it might be a good idea for scripts to only collect data and output it to stdout and/or some temp directory and for the GUI to be created with Qt only. The banners can be easily missed and we don't really need them if running from terminal - in this case stdout would be much better.
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
If you want to support my work, you can donate by PayPal or Flattr
Projects no longer actively developed: here