* Q: "VMS logicals" in Unix/OSF1
@ 1994-03-23 19:05 Peyton Bland
1994-03-24 21:17 ` Peyton Bland
0 siblings, 1 reply; 2+ messages in thread
From: Peyton Bland @ 1994-03-23 19:05 UTC (permalink / raw)
I have a problem that could be solved rather easily using something like
VMS logicals. Is there a way to do something like this in Unix/OSF1?
(Please no flames for mentioning VMS here; I still prefer Unix by a long
shot!) Here is the story...
On a previous Unix box, we had a filesystem called /img that everyone used
for large data files. On our DEC Alpha, the data that _was_ kept in /img
will now be spread across two filesystems called /space2 and /space3; users
in one group (and I don't mean "group" in the Unix sense) will have their
files on /space2 but will be prevented (by quotas) from keeping anything on
/space3, and vice versa for users in the other group. (The reason is a
political/management one that isn't important here.)
Users in both groups have previously generated files which make reference
to full path names under the old system (eg, /img/bland/ct/smith/head.fld).
It would be nice if these same paths would be recognized under the new
system for _all_ users. However, I don't see how to do this since /img is
now spread across /space2 and /space3. Otherwise a simple link called /img
that would resolve to the desired place would work. But for one group the
link needs to resolve to /space2 and /space3 for the other.
Is there an easy way to do this? By the way, defining a shell variable
won't really work since file browsers in our application don't evaluate
variables as part of the pathname.
Thanks, Peyton
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Peyton Bland Digital Image Processing Lab
Dept. of Radiology University of Michigan
-----------------------------------------------------------
"We all have better moments than anybody ever knows, and so
do all the others.... We are a great mystery. Each one of
us is a secret, and on that basis we ought to treat each
other with the deepest respect."
-- Garrison Keillor
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Q: "VMS logicals" in Unix/OSF1
1994-03-23 19:05 Q: "VMS logicals" in Unix/OSF1 Peyton Bland
@ 1994-03-24 21:17 ` Peyton Bland
0 siblings, 0 replies; 2+ messages in thread
From: Peyton Bland @ 1994-03-24 21:17 UTC (permalink / raw)
Short version of the original question:
> On a previous Unix box, we had a filesystem called /img that everyone used
> for large data files. On our DEC Alpha, the data that _was_ kept in /img
> will now be spread across two filesystems called /space2 and /space3; users
> in one group (and I don't mean "group" in the Unix sense) will have their
> files on /space2 but will be prevented (by quotas) from keeping anything on
> /space3, and vice versa for users in the other group. (The reason is a
> political/management one that isn't important here.)
>
> Users in both groups have previously generated files which make reference
> to full path names under the old system (eg, /img/bland/ct/smith/head.fld).
> It would be nice if these same paths would be recognized under the new
> system for _all_ users. However, I don't see how to do this since /img is
> now spread across /space2 and /space3. Otherwise a simple link called /img
> that would resolve to the desired place would work. But for one group the
> link needs to resolve to /space2 and /space3 for the other.
Thanks to you who responded. The solution is fairly simple - at least for
this specific case: Just create /img and within it make a series of
symbolic links that point to the appropriate filesystem/directory for each
user:
mkdir /img; cd /img
ln -s /space2/data/smith smith
ln -s /space3/data/jones jones
... and so on...
Thanks again, Peyton
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Peyton Bland Digital Image Processing Lab
Dept. of Radiology University of Michigan
-----------------------------------------------------------
"We all have better moments than anybody ever knows, and so
do all the others.... We are a great mystery. Each one of
us is a secret, and on that basis we ought to treat each
other with the deepest respect."
-- Garrison Keillor
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-03-24 21:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-23 19:05 Q: "VMS logicals" in Unix/OSF1 Peyton Bland
1994-03-24 21:17 ` Peyton Bland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox