|
Buttcoin purse posted:Oh also it has "SIXEL graphics display support" since apparently that's a thing someone upthread cares about That was probably me, but since I don't use windows except for gaming I don't care about SIXEL support there.
|
# ? Mar 21, 2019 15:49 |
|
|
# ? Mar 28, 2024 22:19 |
|
bitprophet posted:
I'm pretty sure mmap() must at least mostly work or a hell of a lot of stuff would break...looks more like there are compatibility issues in edge cases (the sort that might also cause trouble if you were trying to port Linux software to a non-Linux UNIX, not that anyone does that any more).
|
# ? Mar 21, 2019 16:08 |
|
feedmegin posted:I'm pretty sure mmap() must at least mostly work or a hell of a lot of stuff would break...looks more like there are compatibility issues in edge cases (the sort that might also cause trouble if you were trying to port Linux software to a non-Linux UNIX, not that anyone does that any more).
|
# ? Mar 21, 2019 16:43 |
|
I want to run a CPU intensive command on multiple cores, where each call processes a different range of numbers. I can generate a list of numbers with `seq FIRST STEP LAST > in.txt` Then I tried to use GNU parallel based on this example *verbatim*: https://www.gnu.org/software/parallel/man.html#EXAMPLE:-From-a-to-b-and-b-to-c And the result is quote:parallel: Warning: Input is read from the terminal. You either know what you So it seems parallel is extremely dumb and broken. Is there another alternative that works?
|
# ? Mar 25, 2019 09:32 |
|
peepsalot posted:I want to run a CPU intensive command on multiple cores, where each call processes a different range of numbers. That example works fine for me? code:
|
# ? Mar 25, 2019 12:43 |
|
Also, what is the exact command you entered, and what shell are you using?
|
# ? Mar 25, 2019 14:12 |
|
ToxicFrog posted:Also, what is the exact command you entered, and what shell are you using? Also like I said I copied the example verbatim in order to test before running the actual command. I tried copy-pasting as well as typing it out manually in case the HTML had a weird character. edit: version info GNU parallel 20161222 bash 4.4.19(1)-release peepsalot fucked around with this message at 22:59 on Mar 25, 2019 |
# ? Mar 25, 2019 22:16 |
|
peepsalot posted:edit: version info The latest version is 20190322. There have been 27 releases since the version you're using. If for whatever reason you can't update, try `man parallel` and see if the examples in the documentation that shipped with the version you have are different.
|
# ? Mar 26, 2019 14:01 |
|
What is wrong with having a disaster recovery system such as this for home VM's: Regularly backup everything in / except for /proc and /sys Keep a text file containing the partition layout. When poo poo hits fan, just create another VM with the same partition layout, install base system that's the same distro as the dead one. Copy files over to new system. So a CentOS 7 VM would have a new CentOS 7 VM created and everything copied over to it, possibly with a rescue CD. Ubuntu 18.04 to Ubuntu 18.04. etc.
|
# ? Mar 31, 2019 01:56 |
|
There are better ways to backup vms. But it’s a sound plan. I’d personally just backup /home and automate everything else via packages and stuff with ansible.
|
# ? Mar 31, 2019 04:40 |
|
jaegerx posted:There are better ways to backup vms. But it’s a sound plan. I’d personally just backup /home and automate everything else via packages and stuff with ansible. Cool. I thought I'd missed something. The reason I asked is that I've been tinkering around with Bacula (which can be a PITA to set up) and I've already got it pulling all of the files off my VM's into a backup volume. I can restore a whole VM into a directory tree: code:
I just thought that there would be something I had missed but if that's a decent idea I will use it for my backup plan. The Bacula storage repo (and catalog export) will get regularly backed up, too. So if the Bacula VM dies I still have the backups. e: I will probably need to exclude /boot from my backups if I am doing a 'lazy restore' since there's no need to restore boot or grub if I am rebuilding the system manually. apropos man fucked around with this message at 08:28 on Mar 31, 2019 |
# ? Mar 31, 2019 08:24 |
|
Kind of a quaint way to be doing things in TYOOL 2019 but sure, it can work.
|
# ? Mar 31, 2019 10:11 |
|
other people posted:Kind of a quaint way to be doing things in TYOOL 2019 but sure, it can work. Heh. I'm open to recommendations.
|
# ? Mar 31, 2019 10:13 |
|
It’s a VM? Can’t you just back up/make a copy of the entire VM image?
|
# ? Mar 31, 2019 12:05 |
|
Yeah. It's a bit wasteful to copy the whole 20G or whatever the qcow2 is. Also, I'd have to shut the VM down, copy the image and start it up. Also, Bacula will do a weekly full backup and nightly incrementals (or whatever schedule you give it) and the VM can run while that is happening.
|
# ? Mar 31, 2019 15:23 |
|
jaegerx posted:There are better ways to backup vms. But it’s a sound plan. I’d personally just backup /home and automate everything else via packages and stuff with ansible.
|
# ? Mar 31, 2019 18:55 |
|
Every time I open a text file through the file manager I get the following message. It's really annoying. What's going on? It's not happening with any other file types. I'm running Mint and still getting comfortable with Linux.
|
# ? Apr 2, 2019 03:16 |
|
Shofixti posted:Every time I open a text file through the file manager I get the following message. It's really annoying. What's going on? It's not happening with any other file types. Did the files come from an external drive or another system? If so, they will have the execute permission set by default. Other files won’t do that because they are clearly not executable, but Mint has no way to tell that a text file isn’t actually a shell script, so it relies on the execute permission to determine that.
|
# ? Apr 2, 2019 03:31 |
|
Shofixti posted:Every time I open a text file through the file manager I get the following message. It's really annoying. What's going on? It's not happening with any other file types. Right click the file, properties -> permissions -> uncheck "Execute:" or from terminal "chmod -x yourfilename"
|
# ? Apr 2, 2019 03:32 |
|
Double Punctuation posted:Did the files come from an external drive or another system? If so, they will have the execute permission set by default. Other files won’t do that because they are clearly not executable, but Mint has no way to tell that a text file isn’t actually a shell script, so it relies on the execute permission to determine that. Yes you're right. My setup is SSD 1 (Linux), SSD 2 (Windows), HDD (shared bulk storage). I poked around and this issue is only happening when I open a text file from the shared HDD or Windows SSD. peepsalot posted:If its just that particular file, it must have gotten executable permissions set on it somehow. Is there some way to apply this to every .txt file on my shared HDD? I have many and this method seems a bit too labour intensive. [Edit - sorry I now see that I can easily apply this to every .txt by searching for all .txt and mass selecting and then going to properties. However, I don't have ownership of the files. I looked up the chown command and figured I could do something like this to take ownership of the entire drive but it's not working. By not working I mean it executes without throwing an error but I still don't have ownership of anything on the drive.] code:
Shofixti fucked around with this message at 04:28 on Apr 2, 2019 |
# ? Apr 2, 2019 03:48 |
|
I think the issue with shared drives which Double Punctuation was getting at is that windows ntfs doesn't really do permission flags like execute, so linux assume they are all executable, or something like that. Something that might work is mounting the shared drive with noexec option in fstab or however its mounted.
|
# ? Apr 2, 2019 08:17 |
|
Eee 1018p, xubuntu 18.10 fresh install, wireless no workie. Atheros 9x. I was going to make it a print server or pihole or something. Tips or pointers?
|
# ? Apr 2, 2019 08:37 |
|
apropos man posted:Keep a text file containing the partition layout. I should do this in my backup system too. https://unix.stackexchange.com/questions/12986/how-to-copy-the-partition-layout-of-a-whole-disk-using-standard-tools has some information about getting partitioning tools to generate a machine-readable dump of the partition tables.
|
# ? Apr 2, 2019 09:29 |
|
Tad Naff posted:Eee 1018p, xubuntu 18.10 fresh install, wireless no workie. Atheros 9x. I was going to make it a print server or pihole or something. Tips or pointers? Short answer: Maybe not supported, if it is supported it probably isn't very well, just gauging on the lack of information that I can find on a quick Googling. Or, the lack of information may indicate it normally Just Works. Personally, I wouldn't waste hours futzing with it and just find a well known USB-based wireless adapter that's supported and pop it in and move on with life. They're like <$20 at this point. The official RPi adapter is definitely mainline supported and easy to source.
|
# ? Apr 2, 2019 13:04 |
|
I've recently made the jump to Linux Mint on my primary home laptop in an attempt to learn and become more comfortable with Linux, and because I have a win10 work laptop and the OS bugs me. I really foobared my first install by going sudo apt-get crazy and not knowing what I am doing so I'm going to format and try again. I have a few questions for my second attempt: 1. What is the best file system format for normal day to day use? The install lets me select from BTRFS or EXT4 and this ties in with the journaling/backup system from what I can tell. Is there a big difference either way? This is a newer laptop with newer hardware so performance shouldnt be an issue. 2. Any sites with good beginners information? So far I have been working through this site and it has been helpful: https://linuxjourney.com 3. Finally has anyone used Cloudberry before? Pros/Cons? I use to use Backblaze on my windows laptop and thought I could pretty easily setup Cloudberry to use B2 storage and have it be even cheaper yearly.
|
# ? Apr 2, 2019 14:28 |
|
BaseballPCHiker posted:1. What is the best file system format for normal day to day use? The install lets me select from BTRFS or EXT4 and this ties in with the journaling/backup system from what I can tell. Is there a big difference either way? This is a newer laptop with newer hardware so performance shouldnt be an issue. Ext4 is an older, battle-tested filesystem that does't support things like snapshotting but is generally reliable. BTRFS is a relatively new filesystem that, IMO, should still be marked as highly experimental; it supports a bunch of cool ZFS-like features (snapshots, builtin RAID, builtin compression, online scrubs...) but is also prone to serious performance issues and weird hauntings like running out of space while still having lots of space free. Unless debugging your filesystem sounds like fun, I recommend choosing ext4. No help on the other questions, sorry.
|
# ? Apr 2, 2019 15:26 |
|
I've only ever managed to bork my install when trying to install things outside of my package manager, and after the 3rd format I don't bother anymore. Linux as a daily system just works, provided you don't want to do the things it can't (AAA gaming) or get too deep into the poweruser space, though it's there if you want to gently caress around. Also, Gnome 2 is the perfect desktop environment and the main reason I can't see moving away from Linux.
|
# ? Apr 2, 2019 15:36 |
|
When I last tried BTRFS on a laptop 2 years ago, it got serious filesystem corruption every time the laptop lost power without being shut down cleanly.
|
# ? Apr 2, 2019 15:38 |
|
ToxicFrog posted:Ext4 is an older, battle-tested filesystem that does't support things like snapshotting but is generally reliable. BTRFS is a relatively new filesystem that, IMO, should still be marked as highly experimental; it supports a bunch of cool ZFS-like features (snapshots, builtin RAID, builtin compression, online scrubs...) but is also prone to serious performance issues and weird hauntings like running out of space while still having lots of space free. Thanks for the response. I'll keep that in mind when I format and start over today, I think the first time I actually went with BTRFS because it seemed fancier not knowing it wasnt stable yet. ItBreathes posted:I've only ever managed to bork my install when trying to install things outside of my package manager, and after the 3rd format I don't bother anymore. Yeah thats basically what I did to a T. Had %90 of everything running fine, then thought to myself. Hmmm why dont I try installing this Steam/Proton business and see what thats all about. Lesson learned. It was working flawlessly before then and I was really liking it.
|
# ? Apr 2, 2019 15:40 |
|
Shofixti posted:Yes you're right. My setup is SSD 1 (Linux), SSD 2 (Windows), HDD (shared bulk storage). I poked around and this issue is only happening when I open a text file from the shared HDD or Windows SSD. Tad Naff posted:Eee 1018p, xubuntu 18.10 fresh install, wireless no workie. Atheros 9x. I was going to make it a print server or pihole or something. Tips or pointers? https://www.youtube.com/watch?v=J84v4k8pnyQ ItBreathes posted:Also, Gnome 2 is the perfect desktop environment and the main reason I can't see moving away from Linux.
|
# ? Apr 2, 2019 15:48 |
|
BaseballPCHiker posted:Thanks for the response. I'll keep that in mind when I format and start over today, I think the first time I actually went with BTRFS because it seemed fancier not knowing it wasnt stable yet. The native Linux steam works fine in my experience, though you should be able to grab that through apt as well. Haven't mucked about with proton. E: Crotchfruit posted:KDE and/or XFCE would like to have a word with you. Really my biggest complaint about Gnome 2 is simply that Gnome 3 went crazy and I thought that means that Gnome 2 development was officially halted. Sure there are forks, but do the forks have the monetary support of backers like Gnome flashback is built off of Gnome 3 but keeps all the Gnome 2 goodness. Any shortcomings of it I'm not aware of, but I'm not running a mission critical system here either. Fantastic Foreskin fucked around with this message at 15:59 on Apr 2, 2019 |
# ? Apr 2, 2019 15:49 |
|
^^ Proton is just Wine implemented through Steam, it doesn't require you to mess with anything if you got Steam (and graphics card drivers) running.BaseballPCHiker posted:Thanks for the response. I'll keep that in mind when I format and start over today, I think the first time I actually went with BTRFS because it seemed fancier not knowing it wasnt stable yet. Yeah, just go with EXT4 and never look back. Literally, the only time you'll need to think about which file system to use is if you want a flash drive that also works on Windows. Kassad fucked around with this message at 15:55 on Apr 2, 2019 |
# ? Apr 2, 2019 15:52 |
|
Kassad posted:^^ Proton is just Wine implemented through Steam, it doesn't require you to mess with anything if you got Steam (and graphics card drivers) running.
|
# ? Apr 2, 2019 16:21 |
|
Buttcoin purse posted:I should do this in my backup system too. https://unix.stackexchange.com/questions/12986/how-to-copy-the-partition-layout-of-a-whole-disk-using-standard-tools has some information about getting partitioning tools to generate a machine-readable dump of the partition tables. That is an awesome Stack Exchange page. I'm bookmarking it. Cheers! So far I've managed to recreate my VM's using the files stored in Bacula. It's not the most automated solution for restoring but the advantages are: 1. It will run a weekly full backup and nightly incrementals as standard. So I can restore a VM to the state it was in at 11pm previous to a disk fail. 2. Once it's setup I can forget about it. I can set up a periodic email to remind me it's still running, if I want. 3. The whole filesystem is saved: all configs and binaries, minus any manual exclusions I make. 4. The volume containing the backup data and SQL catalog file can be dumped onto my ZFS array for redundancy and further backup. 5. The volume containing backed up files is much smaller than making a copy of a 20G or 40G qcow for each VM. The only obvious downside is that if I have a catastrophic failure then I have to manually install a VM of roughly the same partition layout, boot from a system revcovery CD and rsync all the files back onto it. Then dick around with the virtual MAC and IP DHCP setting to restore my static IP. I run my VM's from a Samsung 970 NVMe drive, so when and if it actually fails could be years away. So the fact that it's an antiquated system with a clunky restore method doesn't bother me. I hardly ever expect to actually do the restore, but it's there if I need it.
|
# ? Apr 2, 2019 19:00 |
|
Crotch Fruit posted:I think all of the flash drives I have bought recently are still formatted with Fat32, which is nice since it's highly compatible. The only downside is the 4GB file size limitation, which hasn't been a problem but some of my blu-ray rips have ended up close to 4GB even after re-encoding. To get around this, I could format the drives as either exfat or NTFS. I think exfat would likely have better Linux support and NTFS of course would have better windows support, is this correct? Is there a different file system I should consider for flash drives? Inverse with Linux. NTFS has pretty widely distributed Linux drivers that are more mature (ntfs-3g, most distros included them by default),, exFat has some but they're not as common and a legal mess. They're both a bit slower than more native drivers (barring the one out of tree exFat kernel driver) due to being FUSE drivers that run outside of the kernel and use a bit more CPU. Both work fine with Windows, though.
|
# ? Apr 2, 2019 19:24 |
|
BaseballPCHiker posted:Yeah thats basically what I did to a T. Had %90 of everything running fine, then thought to myself. Hmmm why dont I try installing this Steam/Proton business and see what thats all about. Lesson learned. It was working flawlessly before then and I was really liking it. That should just be sudo apt install steam and away you go; Proton is bundled as part of Steam (and shouldn't interfere with mainline Wine installs). Mint is even based on Ubuntu which is the only distro Steam officially supports.
|
# ? Apr 2, 2019 19:29 |
|
BaseballPCHiker posted:Thanks for the response. I'll keep that in mind when I format and start over today, I think the first time I actually went with BTRFS because it seemed fancier not knowing it wasnt stable yet. From everything I've read about BTRFS in the last couple years, it's unlikely that it will ever become stable due to some early design errors. The kinds of design problems that would require wholesale rewrites and changing the on disk format. Two things that shouldn't happen once a file system has been mainlined into the Linux kernel. And also there aren't many people who are capable of fixing it besides the guy who created the fs. It's a mess and unlikely to get better. Redhat no longer ships it in RHEL. You hear about Facebook using it in production, but that's because they have the orchestration to test the integrity of any server and reprovision it from zero if it fails.
|
# ? Apr 3, 2019 00:10 |
|
peepsalot posted:I think the issue with shared drives which Double Punctuation was getting at is that windows ntfs doesn't really do permission flags like execute, so linux assume they are all executable, or something like that. Mounting with noexec option in fstab worked. Thanks!
|
# ? Apr 3, 2019 02:10 |
|
Its really unfortunate that btrfs is such a mess and zfs has licensing issues.
|
# ? Apr 3, 2019 03:17 |
|
|
# ? Mar 28, 2024 22:19 |
|
An oracle product? A mess? Never. Never.
|
# ? Apr 3, 2019 03:22 |