|
Mode 7 Samurai posted:I was following through a guide using fstab but in the following line That's not a command you throw into a prompt or shell script, that's a mount point for /etc/fstab... Your edit pretty much implies that you're dropping this fstab entry into a shell script somehow.
|
# ¿ Feb 27, 2016 20:46 |
|
|
# ¿ May 21, 2024 23:03 |
|
Mode 7 Samurai posted:Both return "no such file or directory" Again: these are not commands. The error message you pasted above indicates that you're trying to enter these on the command line. They are entries in /etc/fstab, which you can then mount using the mount command.
|
# ¿ Feb 27, 2016 23:56 |
|
Mode 7 Samurai posted:I am apparently bad at linux, I cant seem to get this to work. I am new to Linux so its all partially stuff I sort of understand and a bunch of stuff I dont, haha Open up /etc/fstab in an editor with sudo, and pop a line in for the path you want to mount. //ip/share /local/mount/point cifs rw,username=username,password=password 0 0 You need to make sure the local mount point exists - so if you use /data for example, make that data directory: sudo mkdir /data Once that's done, you should be able to mount /data, and you're good to go.
|
# ¿ Feb 28, 2016 02:51 |