Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: marka@dmssyd.syd.dms.csiro.au (Mark Andrews) Newsgroups: comp.sys.sun Subject: Re: Loopback mounting from rc script Keywords: SunOS Message-ID: <6542@brazos.Rice.edu> Date: 10 Apr 90 13:04:57 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 24 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n111 X-Sun-Spots-Digest: Volume 9, Issue 111, message 12 In article <6503@brazos.Rice.edu> bob@omni.com (Bob Weissman) writes: |X-Sun-Spots-Digest: Volume 9, Issue 111, message 10 | |I'd like to loopback mount /var/tmp/tmp on /tmp... | |I've tried both of the obvious methods, i.e., putting | | /var/tmp/tmp /tmp lo rw 0 0 | |in my /etc/fstab after all mounts of type 4.2, and | | mount -v -t lo /var/tmp/tmp /tmp > /dev/console 2>&1 The problem is that the default path when mount is run does NOT include /etc or /usr/etc. To make sure mount is run with the correct PATH in it's envirionment execute ther following. PATH=$PATH mount -v -t lo /var/tmp/tmp /tmp > /dev/console 2>&1 You can put loopback filesystems in /etc/fstab and mount them by PATH=$PATH mount -vat lo Mark.