I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
This depends on the system, but the easiest thing is going to be adding it directly to /etc/fstab.
Edit that file and add your disk to the list, something like:
You'll need to change the mount point to whatever you actually use, I'm guessing here :) and also the filesystem. Ext4 is the most common with Linux, and if you get it wrong it won't break anything - it just won't mount.
If you add it to the fstab configuration file you don't need to reboot to try it, make sure it's not mounted (sudo umount /dev/sdb5 if you need to) and run sudo mount -a which tells the system to ensure everything in fstab is mounted. If it works and you see the drive, everything's good. If it doesn't, revert your changes to be safe and let me know what error you got.
I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
This depends on the system, but the easiest thing is going to be adding it directly to
/etc/fstab
.Edit that file and add your disk to the list, something like:
You'll need to change the mount point to whatever you actually use, I'm guessing here :) and also the filesystem. Ext4 is the most common with Linux, and if you get it wrong it won't break anything - it just won't mount.
If you add it to the
fstab
configuration file you don't need to reboot to try it, make sure it's not mounted (sudo umount /dev/sdb5
if you need to) and runsudo mount -a
which tells the system to ensure everything infstab
is mounted. If it works and you see the drive, everything's good. If it doesn't, revert your changes to be safe and let me know what error you got.Thanks!
I am surprised u know my home directory is
/home/rishit
.I am a master hacker! I know eveerything!
lol