I, too, would like to see the ability to tie a client to a machine, and have
requested this from Perforce. I agree that in the Unix world, NFS mounting to
create a homogenous user environment is a good idea for more reasons than just
Perforce clients. The comparable mechanism in the Windows world is drive
mappings.
However, these in themselves do not address issues of a heterogenous platform
environment. NFS for Windows and samba for Unix can help, but the basic
filesystem addressing syntax is different. And this doesn't even take into
account the Mac and others.
People make mistakes, and beginners make even more mistakes. I have run into
this as a fairly frequent beginner mistake, despite specific coaching to the
contrary.
Not to mention that sometimes you want to establish that sharing clients
between machines is bad policy. In fact, this kind of sharing is contrary to
Perforce's best practice recommendations. I have only found one situation in
which this is not a good recommendation, and that is portability builds of a
tentative fix for which exposure by submission is not appropriate (shared
branch, no branch, etc.).
Nick Barnes wrote:
> At 1999-10-20 18:48:05+0000, Bruce Edge writes:
>
> > I got around this problem with a rather convoluted use of nfs
> > mount points and links such that the client looks the same
> > from both machines.
>
> I have also used NFS mounts to solve this problem, except that the NFS
> server is not a development machine -- it doesn't even need developer
> logins -- and so the mount points of filesystems on the NFS server is
> irrelevant. In medium-to-large organizations I strongly recommend
> locking developers out of critical servers.
>
> The key is that the mount point of any filesystem which contains any
> part of a p4 client view should be the same on any machine on which
> that p4 client is run. This isn't hard to arrange, and is of
> considerable benefit for reasons unconnected to Perforce.
>
> Once you have arranged that, Bob can write his code on any machine
> which has the particular version of the particular editor which he
> prefers, and compile it on a machine which fits particular customer
> requirements, and use p4 and NFS interchangeably on the two machines:
> "p4 edit" on his edit box, "p4 submit" on his compile box, or
> whatever.
>
> > Also, both machines are NTP time sync'd which may or may not be necessary.
>
> Time synchronization (within a second) is a good idea to get NFS to
> play nicely. It's not necessary for p4; p4 does not use client time
> for anything AFAIK. There are a variety of ways to get time
> synchronization; I recommend NTP but some systems don't like it.
>
> Nick B
>
> _______________________________________________
> perforce-user mailing list - perforce-***@perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
--
=======================================================================
Stephen Vance |
mailto:***@vance.com | http://www.vance.com
=======================================================================
A computer programmer is a machine for turning coffee into programs.
-- Paraphrase of the late mathematician Paul Erdo"s