You then need to find out where the drive is located, which can be done with the command lsblk. Once you've done that, you have a mount point that can house the external drive. SEE: Linux 101: How to execute commands from within the nano text editor (TechRepublic) You would then want to make sure whatever user or group that would need to use the directory has access using the chown command (as in sudo chown -R :writers /data) and then give the group write access with the chmod command (as in sudo chmod -R g+w /data). You could, however, create a new directory, say data with the command sudo mkdir /data. You can't simply mount, say, /dev/sdb to the root file system. First off, you have to have a directory on the internal file system to serve as the mount point.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |