Accessing Volumes Besides SYS Using New BASH Shell
Novell Cool Solutions: Tip
By Curtis Parker
Digg This -
Posted: 4 May 2005
"Though this is covered in the documentation at an abstract level, this tip gives good hands-on steps that illustrate the point."
PROBLEM: Can't access volumes other than sys using the new BASH shell on OES NetWare or NW6.5 SP3.
When you load "BASH" at the console on OES NetWare, you have functionality similar to the bash shell on linux. However, by default you are restricted to the sys: volume. You cannot "cd" over to any other volumes on the server.
SOLUTION: To access other volumes in the NetWare BASH shell, you must mount them in some directory under SYS:.
Create a file in the SYS:ETC directory named PATHTAB. The syntax is:
Create the folder under the sys volume for the specified mount point. Then reload BASH and you should be able to "cd" to that folder and see the contents of the mounted volume. Specific folders under a volume can be mounted at any mount point under SYS:. The server must be OES NetWare or NetWare 6.5 with Support Pack 3.
Take these steps to make the volume DATA: accessible from NetWare BASH:
- Load BASH at the server console.
- Type mkdir /data
- Type vi /etc/PATHTAB
- Hit the "i" key to enter insert mode.
- Type /data data:\
- Hit Escape, then ":wq" and enter.
- Type exit to unload the BASH shell.
- Type BASH at the console prompt to load the bash shell again.
- Type cd /data and enter.
- Type ls to display the root of the DATA: volume.
You could also mount subdirectories to any mount point under SYS:. For example, to mount the DATA:\APPS\OFFICE\OPENOFFICE to the /openoffice directory in bash. Add this line to /etc/PATHTAB:
If you have any questions you may contact Curtis at cparker[at]utah.gov
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com