Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!pipex!uknet!mcsun!sun4nl!ruuinf!ruunfs.fys.ruu.nl!verleun From: verleun@fys.ruu.nl (Vincent Verleun) Subject: [NetBSD] remote home directory? Message-ID: <1993Jul16.110221.1400@fys.ruu.nl> Keywords: kernfs home NetBSD fstab exports Organization: Physics Department, University of Utrecht, The Netherlands Date: Fri, 16 Jul 1993 11:02:21 GMT Lines: 39 Howdy all, Is it possible to have a $HOME on a remote server? The thing is, I have a 1Gbyte SCSI drive attached to a server which runs NetBSD and I also have 9 other NetBSD machines (with 170Mbyte IDE HDs). I'd like to register all users to the SCSI and use the local HDs for swapping and local stuff. I exported a part of the SCSI HD in '/etc/exports' on the server machine, and the server gets mounted by the '/etc/fstab' on the client machines. So far, so good. But if I build a passwd entry on a client machine using the mounted server filesystem, the client machine gives me a real odd path which starts with 'kernfs'. Like this: >SERVER(ruuserver): /etc/exports: /usr -root=0 ruuclient1 ruuclient2 >CLIENT(ruuclient1): /etc/fstab: /dev/sd0a / ufs rw 1 1 kernfs /kern kernfs rw 1 1 /dev/sd0e //usr ufs rw 1 2 ruuserver:/usr /server nfs rw,rsize=1024,wsize=1024 0 0 (Yeah, yeah, I'm using NE1000/2000's) >CLIENT(ruuclient1): /etc/passwd: odd_ball:*:10000:10000::/server/users/oddball:/bin/tcsh ^^^^^^^ The path I get when I do a 'pwd' on a client in the oddball home-directory reads: '/kernfs/users/oddball'. Where does the '/kernfs' come from? It looks like some ghost filesystem, anybody got any clue? BTW it all works, but the path still bothers me. Regards, Vince. -- Vincent Verleun verleun@fys.ruu.nl. Utrecht University Physics Department Data Acquisiton Group. Buys Ballotlab 063b, Princetonplein 5, 3584 CC Utrecht, the Netherlands.