🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1380

Questions about nfs-exporting iso9660 cd-rom.

#1380
From: Stuart Pearlman
Date: Fri, 13 Nov 1992 23:39
54 lines
2209 bytes
I have a ISO9660 format cd-rom that I would like to keep mounted and
nfs export to other machines.

Question 1: how do I mount it at boot time so that it stays mounted?

Currently, I can mount it at boot time as long as I load the CDROM
filesystem first (kl_util -l CDROM), but when I log in the workspace
manager insists on ejecting it.  I have tried putting the mount entry
in both the netinfo mounts directory and in /etc/fstab, with
appropriate commands in the /etc/rc* files to mount it either way.
For a 4.3 filesystem, putting it in /etc/fstab instead of the netinfo
mounts directory seems to be enough to keep it permantly mounted (it
worked with the NeXTSTEP 3.0 upgrade disk).  For ISO9660 (cfs)
filesystems this doesn't seem to make a difference.

Question 2: When I nfs mount the disk onto our Sequent, ls -F of a
large directory (from the Sequent) results in each file (actually
subdirectory, if that makes a difference) being listed twice,
beginning with the 100th file.  Has anyone else encountered this
apparent nfs bug?  

This also happens with ls -l, but not with a plain ls, so the problem
seems to be confined to ls options that require a stat(2) system call.

In case all this isn't clear, what I see when I do an ls -F from the
sequent of the nfs-mounted cd-rom is:

subdir001/
subdir002/
subdir003/
subdir004/
.
.
subdir098/
subdir099/
subdir100/
subdir100/
subdir101/
subdir101/
subdir102/
.
.

Listing the same directory on the NeXT doesn't give this wierd
duplication.

Thanks for your help.

-stuart
-- 
Stuart Pearlman                                 stuart@oasys.dt.navy.mil
Trandes Corporation                             +1 301 459 0200
On-Contract-To: David Taylor Research Center    +1 301 227 1428
Technical Details
Message-ID: <27490@oasys.dt.navy.mil>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!rsg1.er.usgs.gov!darwin.sura.net!dtix!oasys!stuart

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!rsg1.er.usgs.gov!darwin.sura.net!dtix!oasys!stuart
From: stuart@oasys.dt.navy.mil (Stuart Pearlman)
Newsgroups: comp.sys.next.sysadmin
Subject: Questions about nfs-exporting iso9660 cd-rom.
Message-ID: <27490@oasys.dt.navy.mil>
Date: 13 Nov 92 23:39:34 GMT
Organization: Carderock Division, Naval Surface Warfare Center
Lines: 54
X-Organization: (formerly David Taylor Research Center)