You're going to want to use the file /etc/fstab. It contains all the filesystems that should be mounted at boot time. Read the man page for fstab(5) for more information, but the line you need to add should look something like this
# dev mount point fstype fs_options dump fsck
/dev/sdf /path/to/mount/point ext4 defaults 1 2
Generally, if you want a filesystem to mount when your system boots you add an entry to
/etc/fstab
. Entries infstab
looks something like this:That's:
The last two fields are no longer terribly important; you can typically duplicate them from existing entries in your file.
You're going to want to use the file
/etc/fstab
. It contains all the filesystems that should be mounted at boot time. Read the man page for fstab(5) for more information, but the line you need to add should look something like thisI would put it in
/etc/fstab
where all system-wide mounts are defined.There is a /etc/rc.local script executed at the end of each multiuser runlevel