Whamcloud - gitweb
Allow obdctl to use "$OBDDEV" to resolve a device number in setup.
authoradilger <adilger>
Wed, 24 Apr 2002 05:56:16 +0000 (05:56 +0000)
committeradilger <adilger>
Wed, 24 Apr 2002 05:56:16 +0000 (05:56 +0000)
commitfdee78b5e9e59757fa219266696098e48c782caa
tree1d7982aa5173c41330536cc033eb8e2159b63ee9
parentbcb47c4c689a1f5935a915dc6b3f7267040965e4
Allow obdctl to use "$OBDDEV" to resolve a device number in setup.

This required changing the NAME2DEV ioctl so that it didn't change the
currently selected device when it was resolving a name.  Now the NAME2DEV
ioctl only resolves the name, and obdctl selects the returned device
explicitly (to user-space the "name2dev" command works exactly the same).

Cleaned up setup scripts to remove last vestiges of hard-coded device numbers.
Instead we use "setup $OBDDEV" (note that the '$' must be escaped from the
shell if using it in a shell script).
lustre/obdclass/class_obd.c
lustre/tests/llext3.sh
lustre/tests/lllocalmount.sh
lustre/tests/llmount-server.sh
lustre/tests/llmount.sh
lustre/tests/llrext3.sh
lustre/tests/llrmount.sh
lustre/utils/obdctl.c