The attached debdiff works for me, with a few shortcomings
- it doesn't mount this swap during one of the normal swap activations. Doing 
otherwise would require to do the mkswap very early in the scripts
- it hardcodes priority 10, regardless of the "pri" value set in /etc/fstab. It 
should be possible to parse the options, and extract the value of pri to pass 
it in the swapon line, but I'm not sure it is really worth it
- on boot (on a PS3), the message "/dev/ps3vram Device or resource is busy" 
will appear... I couldn't find a way to hide it (tried the trick done on swapon 
in mountall.sh, with no improvement).

With my /etc/fstab configured with a "/dev/ps3vram swap" entry, I get an
additional 250 Mo of swap directly on boot.

** Attachment added: "explicit mkswap and swapon in checkroot.sh"
   http://launchpadlibrarian.net/25076844/fix357980.debdiff

-- 
PS3: Handle swap on ps3vram automatically on boot
https://bugs.launchpad.net/bugs/357980
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to