Skip to content

Commit 332153f

Browse files
authored
Merge pull request #55 from UoA-eResearch/feature/drive_symlink
enable symbolic links on research drive with linux mount command
2 parents 8f371c7 + b390696 commit 332153f

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

_doc/mount-drive.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ if [ "$?" -gt "0" ]; then
5555
fi
5656
```
5757

58+
5859
If you save this code in the file `~/mount_drive.sh` and give it executable permissions via `chmod u+x ~/mount_drive.sh`, you can then run the script like this:
5960
```bash
6061
~/mount_drive.sh
@@ -66,5 +67,14 @@ If you save this code in the file `~/mount_drive.sh` and give it executable perm
6667
sudo umount -l ${HOME}/rescer201800002-cer-researchfolder-test
6768
```
6869

69-
Make sure you adjust `${HOME}/rescer201800002-cer-researchfolder-test` to the location you used when you mounted the research drive
70+
Make sure you adjust the target of this command, `${HOME}/rescer201800002-cer-researchfolder-test` in this example, to the location you used when you mounted your research drive.
71+
72+
73+
## Symbolic links within a research-drive
74+
--
7075

76+
If you want to create symbolic links within the research drive, add the option `mfsymlinks` to the list you provide in your mount command (continuing from the code above):
77+
78+
```bash
79+
options="username=${USER},${common_options},mfsymlinks"
80+
```

0 commit comments

Comments
 (0)