Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mounting_university_drives_on_linux_at_boot-time [2024/07/25 11:21] – ac1mde | mounting_university_drives_on_linux_at_boot-time [2024/07/25 14:45] (current) – [Mounting U and X drives automatically on Linux at boot-time] ac1mde | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Under construction ! | ||
| - | |||
| ======Mounting U and X drives automatically on Linux at boot-time====== | ======Mounting U and X drives automatically on Linux at boot-time====== | ||
| - | This requires the user to have sudo access, and be comfortable with some minor editing of system files. | + | This requires the user to have sudo access, and be comfortable with using the Linux command line and some minor editing of system files. |
| - | It's not really suitable for WiFi-connected devices, as any network offline-time or switch to a different hotspot may cause the shares to lock up and necessitate a reboot. Use for ethernet-connected desktops only. | + | It's not really suitable for WiFi-connected devices, as any network offline-time or switch to a different hotspot may cause the shares to lock up and necessitate a reboot. Use for ethernet-connected desktops only. Also, it's not suitable for shared computers; only if you are the sole user. |
| First it's necessary to install some extra package to allow mounting of network shares onto the local filesystem: | First it's necessary to install some extra package to allow mounting of network shares onto the local filesystem: | ||
| Line 29: | Line 27: | ||
| </ | </ | ||
| - | To tell the system to mount these at boot-time, it's necessary to edit the file system table. Before doing this, find out your uid and gid values, using the " | + | To tell the system to mount these at boot-time, it's necessary to edit the file system |
| + | Also, if you haven' | ||
| + | (see the section "View University Storage Information" | ||
| Then edit: | Then edit: | ||
| Line 41: | Line 41: | ||
| // | // | ||
| </ | </ | ||
| - | The above is generic, so you need to: | + | The above is generic, so you need to replace: |
| - | * replace | + | * stfdataXX with your storage server, |
| * Ac1xxx with your //ITS// username, | * Ac1xxx with your //ITS// username, | ||
| * the uid and gid with your own, so it the shares can be mounted in your home directory, | * the uid and gid with your own, so it the shares can be mounted in your home directory, | ||
| - | * and "your_username" | + | * and <your_username> with your //local// username |
| One this is set up, reboot, log in, and the U and X drives should be available in your home directory. | One this is set up, reboot, log in, and the U and X drives should be available in your home directory. | ||
| - | + | ||
| ====Alternative: | ====Alternative: | ||
| Line 53: | Line 54: | ||
| < | < | ||
| // | // | ||
| - | // | + | // |
| </ | </ | ||
