As far as I know you can only mount whole partitionss in fstab.
Nope, anything that can be mounted via mount (including bind) can be mounted using fstab. I use it to mount source folders into a chroot for building source code. Since it's always mounted, I put it in fstab.
Linux does get viruses, they just aren't as prevalent. In my opinion, the two main reasons you don't hear about viruses on Linux are:
Significantly smaller market of desktop end-users than Windows and Mac
Linux users are usually smart enough to not fall for email scams, pop-ups, etc.
Viruses (in addition to wreaking havoc) are all about using social engineering to extract money/information from people. And the (generally) most gullible/easiest to exploit are the Windows/Mac users
Check out the command "rtcwake". You can set a cron job to run the command at any given time and give it the length you want to sleep, allowing you to specify a "shutdown" and "startup" time.
Nope, anything that can be mounted via mount (including bind) can be mounted using fstab. I use it to mount source folders into a chroot for building source code. Since it's always mounted, I put it in fstab.
Of the two, I would pick systemd. But before I get into my reasons, can I ask why using fstab wouldn't work?
If you wanted to recover the root password, you can:
Boot a Linux live cd
Mount the root partition
Use chroot on the newly mounted partition
Run "passwd" to change the root password.
Linux does get viruses, they just aren't as prevalent. In my opinion, the two main reasons you don't hear about viruses on Linux are:
Viruses (in addition to wreaking havoc) are all about using social engineering to extract money/information from people. And the (generally) most gullible/easiest to exploit are the Windows/Mac users
Check out the command "rtcwake". You can set a cron job to run the command at any given time and give it the length you want to sleep, allowing you to specify a "shutdown" and "startup" time.
http://www.howtogeek.com/121241/how-to-make-your-linux-pc-wake-from-sleep-automatically/