May dietpi save Pine64 ; watch youtube via chromium
#10
(03-09-2017, 07:20 AM)kenneth558 Wrote:
(03-08-2017, 10:47 PM)pfeerick Wrote:
(03-08-2017, 06:52 PM)kenneth558 Wrote:
Code:
root@DietPi:~# dphys-swapfile setup
want /mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile=28000MByte, restricting to config limit: 2048MBytes, (etc...)

I'm not familiar with that command (used to just creating a swap partition and then enabling it), but since you've run the  dphys-swapfile setup command... have you run dphys-swapfile swapon to then actually enable the swapfile usage? It appears you need to run both commands?  Huh

Yes, I did but didn't think to include it because the swapon command produced no response.  My bad in not posting that info.  Thank you kindly for asking.  Did you enable swap via fstab instead?  

Come to think of it, that cat /proc/swaps command output must have gotten chopped off somehow.  It is actually:
Code:
root@DietPi:~# cat /proc/swaps
Filename                                            Type        Size    Used    Priority
/mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile file        2047996    0    -1

(03-09-2017, 10:29 AM)xalius Wrote: Can someone explain to me why you would A) need swap in the first palce and B) use non-standard tools to implement it?

A) Guessing that  I don't need swap (for youtubing, at least), and
B) I actually discovered that dphys-swapfile is a standard part of Ubuntu in the course of this.  I'm guessing that using a swap file instead of a swap partition is when you'd use use it. It is how the command-lining behind the whiptail GUI-like DietPi configurator tool handles swap.


Messages In This Thread
RE: May dietpi save Pine64 ; watch youtube via chromium - by kenneth558 - 03-09-2017, 11:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Having trouble reading MPU6050 sensor via I²C on Pine64 Jaxon 1 5,672 09-05-2025, 08:49 PM
Last Post: Alex92
  Wi-Fi/Bluetooth for PINE64, Model: Sopine A64 lamson 0 2,767 08-24-2021, 08:17 AM
Last Post: lamson
  AC Adapter Which One? Pine64 A64 DB V1.1 2GB REV B (Year 2016) databaseprogrammer 2 5,181 06-17-2021, 05:35 AM
Last Post: kqlnut
  How to get Netflix to work in Chromium or Firefox on PBP User 17828 13 25,420 09-24-2020, 08:52 AM
Last Post: solostian
  Just discovered Pine64 ! - first Q philip_rhoades 4 8,073 04-29-2020, 10:13 AM
Last Post: tophneal
  A newest user in Pine64 Aliko 1 5,326 04-19-2020, 10:33 PM
Last Post: tllim
  PINE64 Installer - Simple Way to Image Your MicroSD pineadmin 101 184,331 01-15-2020, 12:46 PM
Last Post: tophneal
  Emails from pine64 received as spam by gmail Matan 2 11,713 08-21-2019, 08:30 AM
Last Post: Leiaz
  How to handle a Pine64 correctly gbjensen 6 19,794 03-28-2019, 11:43 PM
Last Post: InsideJob
  Dietpi marekf 1 3,936 03-22-2019, 01:49 PM
Last Post: Violette

Forum Jump:


Users browsing this thread: 1 Guest(s)