• 0 Posts
  • 76 Comments
Joined 1 year ago
cake
Cake day: July 25th, 2023

help-circle

  • For me at least, it’s not that you’re asking questions. I answered, so obviously I’m sympathetic to confusion in this area. I’m just trying to encourage you to seek your answers in the documentation and manuals FIRST. The way your question was worded led me to believe that you had not read the manuals at all and were simply copying snippets of code and commands from some random question and answer style forum that did not teach you anything about the fundamentals of what those commands and code actually did. That’s fine too, lots of people started off that way, myself included. Reading the manuals gives you the context to step back and understand how those commands work and what they’re really doing. If you do, you’ll be much better able to troubleshoot your own problems, you’ll be able to ask better questions in forums like this, and you’ll get better and more useful responses.


  • With all due respect, RTFM. Mount and umount are two sides of the same operational coin. You mount the drive to use it and unmount it when you’re done. fstab is just a file system table used to remember and consistently apply the options used whether you’re mounting the drives manually or telling the system to do it at boot.

    Deleting a line from fstab is not the same as unmounting, it is just a shortcut to tell the system how you want that drive mounted when you or the system run the mount command. Mount directories (usually the folders in /media/ or /mnt/ ) also do not get automatically deleted just because you “yanked the drive”. Again, those directories are just where your system is expecting to mount the drive. When the drive is mounted they will be the root path to its contents, when the drive is unmounted they will be empty but they still exist. If your planning on mounting the drive again leave them there. If you’re not planning on mounting them again, delete them.

    If you’re not planning on regularly mounting a particular drive, it probably shouldn’t be listed in fstab and you should just run the mount command with the appropriate options (again fstab is just a table for remembering those options for the mount command).

    Many desktop Linux distros are also capable of automatically mounting new removable drives in such a way that the user can access them and doesn’t have to worry about touching fstab or the mount directories.






  • From the article it does seem that the failure of ability isn’t strictly related to computers per SE, but to an over all inability to think about the word problems given in an abstract and mathematically coherent way. They seemed to ask participants to solve what are essentially database query, reading comprehension, critical thinking, and logic problems in the context of an email suite. Word problems can be hard for anyone that hasn’t studied and practiced how to decipher them. It’s just that using a computer kind of forces one to confront those gaps in what should be a fundamental part of highschool education. Math and science classes aren’t just solving problems by wrote memorization or memorizing the periodic table, they are about problem solving. Lots of people fall through the gaps and don’t get that one special teacher who understood this.







  • If you can remove the alcohol from any “cocktail” and still have more than just flavored ice or a dirty glass, you were drinking slightly alcoholic mocktails the whole time.

    Old Fashioned mocktail is a cherry on top of a large ice cube that you’ve used to bludgeon some sugar and an orange.

    A Sazerac mocktail is akin to an empty glass someone just drink a sweet lemony drink from. You don’t get the lemony drink, just the dirty glass.

    A margarita mocktail is salty lime flavored ice. This is basically a daquiri mocktail too, adding a strawberry seems popular.

    A Manhattan mocktail is a sweetened cherry in an otherwise empty glass.

    A mojito mocktail is a bit more substantial, minty sugar water with a hint of lime.

    A mint julep mocktail, again just minty sugar water.

    A white Russian mocktail is just a glass of cream over ice.

    A mimosa mocktail is just a nearly empty glass of orange juice.

    The non-alcoholic parts of a cocktail are rarely more than a quarter of the volume if they’re made properly. Most cocktails are a half oz of sugar water and a citrus flavor. The other 2/3 of the volume (not counting the ice) is alcohol. Just order a soda, soda water (with or without a garnish), tea, or my favorite a Topo Chico and lime.


  • However, the issue is that I have to use sudo when using these commands and as a result after mounting I cannot make changes to my files in the drive(s) without using sudo.

    This isn’t because you’re using sudo to mount, that is the way to do it. This is because you’re mounting to a directory for which your regular user does not have write access. Create a directory owned by your user and make sure you have write access with sudo first. Or make it owned by a group that your user is a member (I use media) and give that group write access. Then mount the drive to that directory in the usual way (I prefer to clutter up my fstab with entries I rarely use). You should now have access without sudo.

    9 out of 10 times new users are struggling with access, it’s not a problem with the software, but a problem with permissions.