To be clear all that's needed is zero the drive (dd if=/dev/zero of=/dev/sdd iflag=nocache oflag=direct bs=16M) and ATA security erase? What command did you use for the latter?
If you tried this, what SMR drives did you have and did it help?
I have a bunch of SMR drives that I have no use for besides backups of video datasets. I need encryption and handling of file renames but with a backup software like Kopia, it performs at 15 Mb/s while rsync is 2-6x that (obviously the backup software is doing more like native encryption, compression, deduplication). I use Btrfs for checksums but its send/receive doesn't support pause/resume (I believe I can get that by first sending to a file locally on the source disk, rsyncing that file (which supports pause/resume), then receiving that file on the destination disk but I think sending to and receiving from takes time along with needing additional space for the file for both disks.
I think I have to settle wth rsync --fuzzy to at least handle some renames on Btrfs on LUKS. I would use ZFS but don't want to build ZFS modules on all my Linux machines.
If you don't make an effort to find answers from the best source of info, why would you expect other people to do that for you? If you don't want to learn, why would you use Arch?
There will always be a small minority with loud voices. As a frequent lurker on this sub, there isn't a crowd of people complaining, just your typical trolls. Welcome to the internet.
If you really want to thank the devs, contribute in a positive way, not bring light of non-existent drama for some upvotes. It should be no surprise people who actually took the time to use Arch are willing to accept compromises.
How pathetic do you have to be to keep begging for software and then go to make multiple accounts posting the same garbage as if it's a great concern to many people here? Read the room, sad little man. What you want is the free labor of Arch devs volunteering their own time. What you offered is not only zero contributions but non-stop crying.
How pathetic do you have to be to keep begging for software and then go to make multiple accounts posting the same garbage as if it's a great concern to many people here? Read the room, sad little man. What you want is the free labor of Arch devs volunteering their own time. What you offered is not only zero contributions but non-stop crying.
Only thing I'm missing on Wayland is KeepassXC's autotype and barrier (share mouse/keyboard between multiple machines), but I have no plans to switch back to X due to its complexity.
I have a personal script for installing Arch. How can I run this script stored on a Pi server in the live cd? I prefer not to copy it to the live cd. Theoretically I should be able to have just a live cd, boot it on any machine on the local network, and grab/execute the Arch install script from the Pi server.
I guess I can temporarily enable passphrase authentication on Pi ssh server and use scp or sftp, but that's not ideal. I have never hosted a webpage before, is hosting one on the local network (not served to the outside world for security/privacy reasons) where it's the content of a script an alternative where i can just curl and execute it?
FWIW I'm on Wayland and Firefox frequently crashes out of the blue with the same "channel error," it's frustrating. I think it's when my system has high disk IO activity that this happens most often.
Is etckeeper considered more of a hack to force git to track files with elevated permissions/ownership or is it a complete solution with little (if any) caveats to track files not in $HOME?
How do track and use configs from a git repo or gists? For example, if this vim theme and this git gist happens to receive periodic updates, how do I ensure I get the latest ones when they are available? They are unlikely to receive updates, just an example.
Do people generally clone any repos involving files they can use directly like with these configs and then maybe have a script run on a timer that checks for updates say every month treating like it's a package update? And instead of copy and pasting the configs to their directory, make a symlink to the cloned repo itself (unless you can track a single file in a repo or something to that effect)?
Currently, I just add the source where the file came from (github link) to the top of the file and check if there's an update here and there, but I would like a more systematic approach to ensure I get the latest updates when available. I also don't like this approach because it modifies the source file but does not actually affect its functionality.
Is it worth using systemd to autostart programs? Previously, I would put anything that is dependent on the window manager to .xinitrc. Having moved to wayland, I moved those over the a sway config that exec these instead. Now I'm looking into setting up a screen locker that runs before the system sleeps. It seems like using systemd units is an approach but I was wondering what things to consider, e.g. pros/cons of setting up a unit for every program that should be autostarted.
Fixed. I downgraded linux to 5.4.15 as stated in the OP but forgot to downgrade linux-headers to the matching version as well. /u/zliop/u/StoicAvator
How should a ZFS user avoid this problem in the future? Is best practice to just update and if it breaks, then just revert to a working snapshot? Or am I expected to subscribe to a ZFS mailing list and only upgrade if nothing problematic is mentioned?
Just to put the content of your links somewhat into perspective. Anyways, I'm not really sure how relevant all this is for ordinary desktop users. On a usual desktop, the game is over long before an attacker starts looking for broken SETUID binaries... because user data is the real trophy, and to defend this data you need to get the sandbox configuration right.
What do you suggest for sandboxing user data? E.g. chromium from seeing ~/notes.
Oh I see. My laptop has the Kabylake processor--in the wiki, the newer intel-media-driver is described as "HD Graphics series starting from CannonLake (or optionally from Broadwell)", no idea what that means (why not just "starting from Broadwell"?).
For comparing between this driver and the older libva-intel-driver, an objective test would be comparing the output of vainfo and a subjective test would simply be viewing videos on mpv?
Lastly, one can use both VAAPI and VDPAU without conflicts since applications that support hardware acceleration will simply choose one or the other and they don't conflict? From doing some reading, some people seem to imply choosing one over the other. Installing both has the advantage of covering all grounds in the event that an application may support one but not the other, assuming there's no conflicts or caveats.
When you do aursync -c <package> to download and build it, it automatically adds to the custom repo and you don't need to use repo-add? I don't see anywhere in the manual where it says this is the case, but when I do aur repo --list to list the contents of the database it shows the package even though I haven't used repo-add on the package. I only used repo-add in repo-add /var/cache/pacman/custom/custom.db.tar to create the custom repo initially.
If that's the case, then I suppose generally you won't need to use repo-add when using aurutils then, except initially if you want to add any existing built packages to the custom repo? However, you still need to use repo-remove to remove the package from the database generally where you no longer want a package and have pacman uninstall it.
I think I understand now, please correct or elaborate if I'm wrong. So a repo only allows one version of a package, i.e. I can have either wine-3.6-1-x86_64.pkg.tar.xz (considered old version of package in later examples) or wine-3.8-1-x86_64.pkg.tar.xz (considered current version of package in later examples) but not both and this is implied by the fact that repo-remove removes using wine as opposed to the full name e.g. wine-3.6-1-x86_64.pkg.tar.xz? Also, I can also have both python2-2.7.15-4-x86_64.pkg.tar.xz and python-3.6.0-1-x86_64.pkg.tar.xz because they are different packages and pacman's sync options really only handles the package's "base name", e.g. python2 and the database will take care of the version of the actual package, e.g. python2-2.7.15-4-x86_64.pkg.tar.xz.
I think my confusion stemmed from the fact that I misunderstood the CacheDir as being associated with the database and the repo. So it seems that the repo is more of a "snapshot" of the all packages that will be synced when using e.g. pacman -Syu, and if you want to install wine-3.6-1, you can't sync to it from the database as it's not currently in the database (only the current version installed is). Therefore, you need to use pacman -U /path/to/wine-3.6-1-x86_64.pkg.tar.xz, referring to the actual file itself, as opposed to `pacman -U wine-3.6-1 because it's not in the database.
When adding all multiple packages at once using globbing repo-add /path/to/repo.db.tar.gz /path/to/*.pkg.tar.xz, /path/to/ is generally desirable to be the same directory as CacheDir to keep things simple and clean, right? Referring to the warning in the wiki:
repo-add adds the entries into the database in the same order as passed on the command line. If multiple versions of the same package are involved, care must be taken to ensure that the correct version is added last. In particular, note that lexical order used by the shell depends on the locale and differs from the vercmp ordering used by pacman.
The "correct" version is generally desired to be the latest version built then. How would one handle the globbing issue to ensure the latest version is always being added to the repo when using globbing with repo-add then?
Much appreciated. I'm using aurutils if it's relevant.
To be clear all that's needed is zero the drive (
dd if=/dev/zero of=/dev/sdd iflag=nocache oflag=direct bs=16M) and ATA security erase? What command did you use for the latter?If you tried this, what SMR drives did you have and did it help?
I have a bunch of SMR drives that I have no use for besides backups of video datasets. I need encryption and handling of file renames but with a backup software like Kopia, it performs at 15 Mb/s while rsync is 2-6x that (obviously the backup software is doing more like native encryption, compression, deduplication). I use Btrfs for checksums but its
send/receivedoesn't support pause/resume (I believe I can get that by first sending to a file locally on the source disk, rsyncing that file (which supports pause/resume), then receiving that file on the destination disk but I think sending to and receiving from takes time along with needing additional space for the file for both disks.I think I have to settle wth
rsync --fuzzyto at least handle some renames on Btrfs on LUKS. I would use ZFS but don't want to build ZFS modules on all my Linux machines.Did TRIM fix this issue? Does zeroing the drives after a reformat actually improved performance that the reformat itself wouldn't have done?
You RTFM or the wiki.
If you don't make an effort to find answers from the best source of info, why would you expect other people to do that for you? If you don't want to learn, why would you use Arch?
How hasn't that answered your question then?
There will always be a small minority with loud voices. As a frequent lurker on this sub, there isn't a crowd of people complaining, just your typical trolls. Welcome to the internet.
If you really want to thank the devs, contribute in a positive way, not bring light of non-existent drama for some upvotes. It should be no surprise people who actually took the time to use Arch are willing to accept compromises.
How pathetic do you have to be to keep begging for software and then go to make multiple accounts posting the same garbage as if it's a great concern to many people here? Read the room, sad little man. What you want is the free labor of Arch devs volunteering their own time. What you offered is not only zero contributions but non-stop crying.
How pathetic do you have to be to keep begging for software and then go to make multiple accounts posting the same garbage as if it's a great concern to many people here? Read the room, sad little man. What you want is the free labor of Arch devs volunteering their own time. What you offered is not only zero contributions but non-stop crying.
I use interception-tools which is very powerful and works with Linux console and X as well.
Swayidle and swaylock works perfectly for this for years now.
Only thing I'm missing on Wayland is KeepassXC's autotype and barrier (share mouse/keyboard between multiple machines), but I have no plans to switch back to X due to its complexity.
I have a personal script for installing Arch. How can I run this script stored on a Pi server in the live cd? I prefer not to copy it to the live cd. Theoretically I should be able to have just a live cd, boot it on any machine on the local network, and grab/execute the Arch install script from the Pi server.
I guess I can temporarily enable passphrase authentication on Pi ssh server and use scp or sftp, but that's not ideal. I have never hosted a webpage before, is hosting one on the local network (not served to the outside world for security/privacy reasons) where it's the content of a script an alternative where i can just curl and execute it?
FWIW I'm on Wayland and Firefox frequently crashes out of the blue with the same "channel error," it's frustrating. I think it's when my system has high disk IO activity that this happens most often.
Is etckeeper considered more of a hack to force git to track files with elevated permissions/ownership or is it a complete solution with little (if any) caveats to track files not in
$HOME?How do track and use configs from a git repo or gists? For example, if this vim theme and this git gist happens to receive periodic updates, how do I ensure I get the latest ones when they are available? They are unlikely to receive updates, just an example.
Do people generally clone any repos involving files they can use directly like with these configs and then maybe have a script run on a timer that checks for updates say every month treating like it's a package update? And instead of copy and pasting the configs to their directory, make a symlink to the cloned repo itself (unless you can track a single file in a repo or something to that effect)?
Currently, I just add the source where the file came from (github link) to the top of the file and check if there's an update here and there, but I would like a more systematic approach to ensure I get the latest updates when available. I also don't like this approach because it modifies the source file but does not actually affect its functionality.
Is it worth using systemd to autostart programs? Previously, I would put anything that is dependent on the window manager to
.xinitrc. Having moved to wayland, I moved those over the a sway config thatexecthese instead. Now I'm looking into setting up a screen locker that runs before the system sleeps. It seems like using systemd units is an approach but I was wondering what things to consider, e.g. pros/cons of setting up a unit for every program that should be autostarted.Does bubblejail allow whitelisting a directory? /u/igo95862
Fixed. I downgraded
linuxto 5.4.15 as stated in the OP but forgot to downgradelinux-headersto the matching version as well. /u/zliop /u/StoicAvatorHow should a ZFS user avoid this problem in the future? Is best practice to just update and if it breaks, then just revert to a working snapshot? Or am I expected to subscribe to a ZFS mailing list and only upgrade if nothing problematic is mentioned?
Have you tried boot environments for Btrfs as a way to deal with stability of Arch?
It's an ods file and has never interacted with Microsoft Office. Could you try to see if you're experiencing the same problem as me for MM/YY?
What do you suggest for sandboxing user data? E.g. chromium from seeing ~/notes.
Oh I see. My laptop has the Kabylake processor--in the wiki, the newer intel-media-driver is described as "HD Graphics series starting from CannonLake (or optionally from Broadwell)", no idea what that means (why not just "starting from Broadwell"?).
For comparing between this driver and the older libva-intel-driver, an objective test would be comparing the output of
vainfoand a subjective test would simply be viewing videos on mpv?Lastly, one can use both VAAPI and VDPAU without conflicts since applications that support hardware acceleration will simply choose one or the other and they don't conflict? From doing some reading, some people seem to imply choosing one over the other. Installing both has the advantage of covering all grounds in the event that an application may support one but not the other, assuming there's no conflicts or caveats.
When you do
aursync -c <package>to download and build it, it automatically adds to the custom repo and you don't need to userepo-add? I don't see anywhere in the manual where it says this is the case, but when I doaur repo --listto list the contents of the database it shows the package even though I haven't usedrepo-addon the package. I only usedrepo-addinrepo-add /var/cache/pacman/custom/custom.db.tarto create the custom repo initially.If that's the case, then I suppose generally you won't need to use repo-add when using aurutils then, except initially if you want to add any existing built packages to the custom repo? However, you still need to use
repo-removeto remove the package from the database generally where you no longer want a package and have pacman uninstall it.Also, I see you replied to my other thread regarding
repo-add, I think I understand it now.Much appreciated.
I think I understand now, please correct or elaborate if I'm wrong. So a repo only allows one version of a package, i.e. I can have either
wine-3.6-1-x86_64.pkg.tar.xz(considered old version of package in later examples) orwine-3.8-1-x86_64.pkg.tar.xz(considered current version of package in later examples) but not both and this is implied by the fact thatrepo-removeremoves usingwineas opposed to the full name e.g.wine-3.6-1-x86_64.pkg.tar.xz? Also, I can also have bothpython2-2.7.15-4-x86_64.pkg.tar.xzandpython-3.6.0-1-x86_64.pkg.tar.xzbecause they are different packages and pacman's sync options really only handles the package's "base name", e.g.python2and the database will take care of the version of the actual package, e.g.python2-2.7.15-4-x86_64.pkg.tar.xz.I think my confusion stemmed from the fact that I misunderstood the CacheDir as being associated with the database and the repo. So it seems that the repo is more of a "snapshot" of the all packages that will be synced when using e.g. pacman -Syu, and if you want to install
wine-3.6-1, you can't sync to it from the database as it's not currently in the database (only the current version installed is). Therefore, you need to usepacman -U /path/to/wine-3.6-1-x86_64.pkg.tar.xz, referring to the actual file itself, as opposed to `pacman -U wine-3.6-1 because it's not in the database.When adding all multiple packages at once using globbing
repo-add /path/to/repo.db.tar.gz /path/to/*.pkg.tar.xz,/path/to/is generally desirable to be the same directory as CacheDir to keep things simple and clean, right? Referring to the warning in the wiki:The "correct" version is generally desired to be the latest version built then. How would one handle the globbing issue to ensure the latest version is always being added to the repo when using globbing with repo-add then?
Much appreciated. I'm using aurutils if it's relevant.