CONGRATS YOU KNOW HOW TO ACCESS TERMINAL. Trust me, it took me 3 days to figure it out when i started..okay not 3 days but still.
There's a better way of accessing that file with a real gui app.
Code:
gksu gedit /etc/fstab
What you're doing is using gksu (the GUI version of sudo [super user do]) to open gedit (its the GNOME version of notepad, or wordpad in win) with the file in /etc/fstab (the first slash is called "root" or "filesystem")
EDIT: Forgot to mention, if you're using Kubuntu (the KDE version) and not Ubuntu (the GNOME version), then replace anywhere that i said gedit with kate. Its the KDE version of notepad etc.
Now as for the
Code:
tmpfs /dev/shm tmpfs defaults,ro 0 0"
Id behave at what you put in fstab. Its not necessarly good to f-up your fstab (its like screwing with the boot.ini file in *******). Honestly i dont even know what that piece of code does (sorry didnt follow your links, kinda late here right now).
First, id back it up. Open the file in gedit (with gksu). then hit save as... and name it like fstab.backup. Close gedit, then run the command again, then mess around. So if you do tank it (break it), you can just boot into a liveCD and replace the broken fstab with your spiffy original fstab.backup (make sure you remove the .backup part)
Then just go to the last line, hit return (enter) to make a new line and paste the code. You might have to do a restart, since fstab has to reload again to get the changes working. And there you have it.
Again be warned, fstab is not a plaything and sudo (or gksu) is like electricity, if you dont know what your doing, you'll get a shock of reality
Bookmarks