You are not logged in.
So taking everything that has been said and done in this thread, I gather that I may place the trim script file in /etc/cron.daily and it will do its job?
golinux wrote:
Not that it would make a difference but are you aware that sudo is not enabled by default in Devuan?
Maybe the Miyo guys enable it? I've never gotten an error message, I get a prompt for my password. Also I have used sudo to open read only files.
siva wrote:
Also, I have no idea why you didn't just run: /sbin/fstrim --all || true directly in a root shell.
I ran it in the terminal but got this:
fstrim: /: FITRIM ioctl failed: Operation not permitted
Then I added sudo in front of it, and after putting in my password there was a brief pause, then "ron@miyolinux:~$" came back. So does that mean it worked? I rebooted and all seems well (so far).
Also, I want to thank everyone for taking the time to help me out with this things. I appreciate it much. I'm determined to become "systemd free."
siva wrote:
Have you ran this command in devuan yet (not as a cron job, just a command)?
I tried two ways, but can't get it to run right. First I just doubled clicked the file but it didn't run, it just opened up in my text editor. Then I tried pasting the path to it in the terminal and got this:
bash: /home/ron/Desktop/trim: Permission denied
Then I added sudo before the path and got this:
sudo: bash:: command not found
I'm starting to feel a little dumb.
Thanks MiyoLinux. That worked!
siva wrote:
If all you want is to know how to set up the cron job, then figure out which cron application your version of Mint uses first. In devuan, you can either...
a) learn the cron version and syntax that miyo uses and create a new job for your needs; or,
b) if you really want, and if it's in the devuan repos, use the version of cron that Mint ships. Just try to understand that you may end up setting up more than anticipated if it's not a miyo default.
Here's what I found in Mint:
Package: cron Version: 3.0pl1-128ubuntu2
and
Package: anacron Version: 2.3-23
I'm assuming that by default Mint uses the Ubuntu cron.
siva wrote:
I am assuming you understand what this command does and why.
Just that it runs a trim job, whatever that is. Anything beyond that is gooblygook to me.
Will the time ever come where systemd will become an even bigger entwined mess (than it is now) that Devuan would simply have to no longer be based on Debian, but become completely independent? Or for any other reason? I'm mostly just asking for curiosity's sake.
I successfully added the backports, but when I mark the kernel for installation I get this error message:
linux-image-4.9.0-0.bpo.6-amd64:
Depends: linux-base (>=4.3~) but 3.5 is to be installed
If I have the backport enabled, why am I not being offered an updated linux-base version?
Thanks MiyoLinux. I did some research and found this below on debian's site. Is this what I need to do on Miyo/Devuan to get the backports? Also I'm a bit confused, would it go in the file sources.list found in /etc/apt or would it go in the file devuan.list in /etc/apt/sources.list.d? Thanks for your help.
1. For jessie add this line
deb http://ftp.debian.org/debian jessie-backports main
to your sources.list (or add a new file with the ".list" extension to /etc/apt/sources.list.d/)
2. Run apt-get update
First, I'm assuming that everything I see in Synaptic comes from the Devuan repos; is that correct? My main question is what is the newest available kernel? The newest one I see is 3.16.0-5. Is that right? The number seems kind of low to me. Is this kernel patched for the Meltdown/Spectre flaws?
Another question I have is that I have both 3.16.0-4 and 3.16.0-5 installed. Does Miyo automatically boot into the newest kernel? I don't get any prompt on boot-up asking me which kernel I want to boot into. uname -r shows 3.16.0-5 so I assume that's the case. If I ever needed to boot into an older kernel, how would I go about that?
Thanks!
siva wrote:
@Ron: to your original question, I'm curious what doesn't work. Are you saying the file /etc/cron.weekly/fstrim doesn't exist?
Yes.
siva wrote:
It may be helpful to copy and paste the file /etc/cron.weekly/fstrim (from your mint system) into this conversation . . .
How do I attach a file to this forum? I don't see a way. Here's the text of the file:
#!/bin/sh
# trim all mounted file systems which support it
/sbin/fstrim --all || true
I would like to set the script file fstrim to daily. In Mint I use this command: sudo mv -v /etc/cron.weekly/fstrim /etc/cron.daily
but this doesn't work in Miyo. How do I set this in Miyo? Can I just copy the fstrim file from Mint over to Miyo?
MiyoLinux wrote:
thank you for pointing this out! I'll fix the file on Sourceforge.
You're welcome, and thanks for the fix!
I hope this is the proper place to report this. The checksums for the file Miyo-XTRA-Jessie-64bit-20180120.iso do not match. I've downloaded the file three different times and I keep getting the following sums:
md5 587675f6947aa086394085488844ae72
sha 256 6c6c214b09fef868ee49e1c0df6915afc827756d803821a7aa6878463e1c15e2
On the checksum file they are listed as:
649ca81770ece7e7b8aa85bfeeabf3d7 - md5sum
472448b24b65488791a9ffba5a8f6f8e0df8ec0e962d2fc5f15d60882d4d06b7 - sha256sum
Is this just a mistake on the checksum file, I hope?