I had a family member like this… They’d go off about how awful capitalism is, and the shit that goes with it (to which I’d generally agree) but have a house full of google home devices, brag about how much they buy on amazon, and simp for the giant megacorp for which they worked a retail job…
Varoufakis is just one of many people who have come up with fancy new terms for capitalism and imperialism. It’s not to say that he doesn’t have an important perspective on some things, but coming up with new terms for things defined over a century ago only serves to distract.
Wouldn’t the best term be mercantilism? Power through the accumulation of wealth, but instead of nations it’s now corporations. It’s definitely not capitalist since capitalism is about having competition, and that doesn’t happen without constant government intervention to break up monopolies and trusts.
over a century ago Lenin has defined imperialism as capitalism in decay, monopoly capitalism, capitalism that has outgrown competition, that has stopped playing a progressive role in history and became solely a force of reaction, and since then not much has changed
I think the problem with capitalism isn’t the cool stuff that has been produced under it, it’s everything else about it. Literally the only reason to forgo buying a MacBook or a Google Home device as some sort of anti-capitalism spite move is to have the upper hand in conversations like this. In reality, you not making those purchases won’t move the needle in any way. If it did, it would be in the negative. Our entire economic system and system of employment relies on making purchases like that. Consumer spending is the economy.
Fundamentally there is no difference between buying an iPhone vs any other phone in terms of its support for capitalism. If anything, an iPhone might be better. Apple actually inspects its factories and at least pays lip service to stopping the most egregious abuses like forced or child labour. That white box Chinese android phone? If anything was built by forced or child labour, it’s that.
So targeting individuals for their purchases is both pointless and counterproductive. If you want to affect change, then vote, protest, organize. Push for and support proper regulation and controls. Make it so that people’s employment isn’t required for them to get healthcare, services, shelter. Make it so that an economic recession impacts those with the most, not those with the least.
Stressing about trying to make the least capitalist choice under a capitalist system just does exactly what they want you to do. The more time you spend judging your neighbour, the less time you spend looking up and see who’s really fucking you.
Thank you. I was trying to figure out how to express my opinion on this matter, and you pretty much did. We’re all allies in this, just by virtue of the fact that we were born into it. Let your fellow man do their thing, knowing they probably made the best decision possible with the information they had, and focus on systemic improvements, instead of trying to control one dude at the end of the line.
I spose you missed the part where I generally agreed with his criticisms (as someone who is also part of the system), and how the focus of my reply was the simping and bragging.
I always love working with partitions because of the knowledge it gives you, but it is also certainly dangerous and from time to time it is unnevitable to suffer an accident. In any case I always try to do this type of operations with parted and if possible with GUI (gparted).
Being in the photo situation, can’t you make a fsck as the error messages tell you?
fsck /dev/nvme0n1p2
If not, the most practical would be, IMHO, to boot from a rescue live, e.g. www.system-rescue.org/Download/Once booted, you can lift the graphical interface with startx and do with gparted the operations you need on these partitions.
The existing file system appears to have been damaged possibly because cfdisk has not adjusted (shrinked) the existing file system before changing the partition settings. In my case, this kind of thing I only dare to do with gparted if partitions contain file systems with data.
I would try the second option I mentioned above, as my last chance: to start a live-rescue and look that allows us to gparted, but I am not very optimistic about it
We thank Dave for his decisive contribution. For future occasions try to backup everything before doing operations of this type. This small script works very well for me:
cfdisk only changes the partition table, this table like a small paper that you store at the front (or back) of drive where you put information, it’s just a list of coordinates like from this point to this point is your home, from this to this is your yard, from this to this is your neighbor. Just because you changed the values on your paper doesn’t actually make your neighbor closer or further.
System read this list to figure out where are the “borders” between different sections that you defined to load and use them logically for multiple file systems.
The partition table is just a set of pointers to various places on the physical disk where partitions should be, inside those partitions are filesystems with all your data. It’s like the table of contents in a book. You can mess around with the table of contents and make the page numbers for chapters different, but all the words in the book are still there.
Now you’re lucky that filesystem drivers are fairly smart these days. They sanity check things all the time. When you write the partition table to disk all the active filesystem drivers get notified of the changes, so they can keep track of things. When the driver noticed that the size of your filesystem exceeded the size of your partition, it basically was like “Hold it right there, I’m not touching any of this!”. At that point the filesystem would have been forcibly unmounted and disconnected, which is why none of your commands worked after running cfdisk, they were on that filesystem.
Note that your approach was almost the right way to do it. To make your filesystem bigger you can expand the partition using cfdisk ( as long as there is physical room on the disk!) and then run a program called resize2fs , and it will expand the filesystem to suit.
Similarly, you can shrink the filesystem in the same kind of way, except you run resize2fs first and command it to shrink the filesystem to a particular size. It will do that (assuming there’s enough free space in your filesystem to do so) then you shrink the corresponding partition with cfdisk to match.
Of course, as you’ve learned, resizing partitions is moderately risky so backups are a good idea. Having said that I routinely expand filesystems in VMs like this without backups - I make the VMs disk larger in its settings, then run cfdisk and expand the partition, then run resize2fs.
I sincerely appreciate your consideration to help and explain
Its funny that i tried resize partitions without knowing how to do that. I thought i should format new partitions after editing partition table coz thats what i did when installing linux, but im wrong again ig.
Call sorry.next().value as many times as you need to baby, hell you can even use it in a for-of loop because Generator functions are Iterable. I fucking love JavaScript
just to add a little more explanation to what the other posters are suggesting… a hard drive, from the perspective of your OS is very very simple. it’s a series of bytes. for the sake of this example, let’s say there are 1000 of them. they are just a series of numbers.
how do you tell apart which numbers belong to which partitions? well there’s a convention: you decide that the first 10 of those numbers can be a label to indicate where partions start. e.g. your efi starts at #11 and ends at #61. root at starts at #61 and ends at #800. the label doesn’t say anything about the bytes after that.
how do you know which bytes in the partions make up files? similar sort of game with a file system within the bounds of that partion - you use some of the data as a label to find the file data. maybe bytes 71-78 indicate that you can find ~/.bash_histor at bytes 732-790.
what happened when you shrunk that root partions, is you changed that label at the beginning. your root partion, it says, now starts at byte #61 and goes to #300. any bytes after that, are fair game for a new partion and filesystem to overwrite.
the point of all this, is that so far all you’ve done is changed some labels. the bytes that make up your files are still on the disk, but perhaps not findable. however - because every process that writes to the disk will trust those labels, any operation you do to the disk, including mounting it has a chance to overwrite the data that makes up your files.
this means:
most of your files are probably recoverable
do not boot the operating system on that drive, or any other that will attempt to mount it, because you risk overwring data
before you start using any data recovery tools, make a copy of the raw bytes of the disk to a different disk, so that if the tools mess up you have an option to try again
ONLY after that is done, the first thing I’d try is setting that partion label back to what it used to say, 100gb… if you’re lucky, everything will just work. if you aren’t, tools like ‘photorec’ can crawl the raw bytes of the disk and try and output whatever files they find.
I’ve just been following community guidelines, which is to change the title of a post from “Name That Song” to the song title when someone guesses it. I see your point though. I’ll mention it to who runs it and see what they think.
What they’re suggesting is to back up the whole disk, rather than any single partition. Anything you do to the partition to try and recover it has the potential to make a rescuable situation hopeless. If you have a copy of the exact state of every single bit on the drive, then you can try and fix it safe in the knowledge that you can always get back to exactly where you are now if you make it worse
Also, it’s probably possible to fix the partition so that it’s as big as it used to be. It’s likely that some of your data is corrupted already, but the repartitioning won’t have erased the old data except here or there where it’s written things like new file tables in space it now considers unused
Yes a back up is possible. Don’t back up partitions, back up the whole device. All 150+g at once.
Whenever you try to mount the device or the filesystems, make sure to mount it read-only so that no changes are written to the device.
Also, shrinking 84g of data into 32g is definitely not possible. Just changing the fdisk partition table doesn’t shrink or relocate the data. You need a filesystem-aware resizing tool to shrink the filesystem before shrinking the partition.
Hopefully you can just change the partition table back to the original values and get a clean fsck.
I read the comic as referring to adblocking software as opposed to any specific extension. I can’t pinpoint what gives me that idea though so who knows
I was talking with a sysadmin once who intentionally removed nano and emacs from any system he was granted access to. His explanation was “if they can’t use vim I don’t want them on my machines”
Brilliant! I don’t entirely disagree with that. I had vim forced on me at my old job, including actual vi on some of the more ancient systems. I got so used to it that I don’t really know how to use nano and definitely not emacs.
I never understood what the big deal was. Write. Quit. If you can’t remember that ‘w’ means write and ‘q’ means quit, I don’t know how else to help. Add in some decent options in your vimrc and it is pretty comfortable. I am in no way some guru who knows every shortcut and fancy command out there, but I like using it and it is the first thing I install on a new system.
I am not one to judge what text editor, OS, phone, car, or computer you like. You do you. If I was a sysadmin that had to deal with people who really shouldn’t be on those systems and that was an easy way to discourage people from screwing with it, then hell yeah.
Knowing VIM does not make one a better sys-admin. You can be an idiot, and still know how to drive Vi/Vim. There is FAR FAR FAR more to managing an OS and than that. If you think requiring VIM is enough to keep unknowledgeable people away from servers, you are probably the one who shouldn’t be managing servers.
This is the “ad”. Personally, I don’t think a little plug like this is worth any kind of fuss. If it were a real ad or something, then yea I would get it.
You guys are quick to forget that Wine (Wine Is Not an Emulator) is, in fact, not an emulator. Most windows ransomware will successfully encrypt your files if ran with wine.
True story, Linux sees MIME types, so if Hot.Chick.Blows.Brother.mp4 is a virus, it shows up with a Windows (MZ) binary icon, not a media icon 😉… unlike Windows which only recognizes extensions 😒.
Microsoft, in their infinite wisdom, also decided that file extensions should be hidden by default. So you won’t even see that you downloaded TaylorSwift_1989_TaylorsVersion.exe instead of TaylorSwift_1989_TaylorsVersion.mp3 unless you changed that setting ahead of time.
That’s not a Linux thing. It’s just whatever desktop shell you chose to use and various shells behave in various ways. The reason this might be safer in most Linux distros is that you’re discouraged from executing things under a privileged user which means that malware can’t make significant changest to your system easily. If you do the same in windows, you’d be just as safe.
I mean Mac OS has its place. There’s a reason so many music producers and coders choose that OS. It’s a rock solid stable approach for those use cases.
That being said, personally I would always prefer Linux but that’s mostly because I don’t do those things.
I don’t even particularly hate windows, I just like PopOS better
I’m a dev and I mainly see issues with removed… Every update breaks some tools the cli tools are ancient, homebrew is slow as hell and breaks quite often, docker is really slow and costs money if you don’t know how to avoid that, it’s very expensive to get to a certain amount of RAM that costs nothing on PC and so on.
It’s way too reliant on their cloud infrastructure though, causing it to detect and react to malware slower than other solutions and it turns to shit the second the network disconnects. The PC security channel on YouTube has some good analysis of it.
lemmy.ml
Active