[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

521.0. "Re: plong gets usage message from mount when she does odemount" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Wed Jan 26 1994 09:39

Date Of Receipt: 	18-JAN-1994 23:15:12.17
From: 	ALPHA::"[email protected]" "Jim McGinness"
To: 	[email protected], [email protected], [email protected]
CC: 	[email protected], [email protected]
Subj: 	Re: plong gets usage message from "mount" when she does odemount

I tried "sh -xv /usr/sde/odemount goldos" on auric and it looks like the
mount command is being called with the ode_fstab comments still attached
to the mount point.  An excerpt:

MOUNTCMD=mount buffer:/share/buffer/build/submits.dsk2 /share/buffer/build/submi
ts.dsk2 gold os submits (DEC3.0)
+ [ ( 0 -eq 1 ) -a ( -n mount buffer:/share/buffer/build/submits.dsk2 /share/buf
fer/build/submits.dsk2 gold os submits (DEC3.0) ) ]
+ [ -n mount buffer:/share/buffer/build/submits.dsk2 /share/buffer/build/submits
.dsk2 gold os submits (DEC3.0) ]
+ sed s/^/    /
+ mount buffer:/share/buffer/build/submits.dsk2 /share/buffer/build/submits.dsk2
 gold os submits (DEC3.0)
    usage:
      mount [ -dfrwu ] [ -t nfs | ufs | cdfs | external_type ] [ -o options ] sp
ecial node
      mount [ -adefrwu ] [ -t nfs | ufs | cdfs | external_type ]
      mount [ -dfrwu ] special | node

I see this happening on flambe and pangloss, too.

The odemount command we can see in /usr/sde/tools/common/odemount doesn't
appear to support a -bg flag.  Has someone put the wrong one out there?

The fix for this mount problem is to add the variable COMMENTS to the
end of the two "read" commands in odemount.  This also eliminates the
need for the blank-stripping sed command that appears 4 lines below (I
suspect it was trying to strip off comments, but was missing a needed
"."). I've place a repaired version of odemount in my home directory.


T.RTitleUserPersonal
Name
DateLines
521.1Re: plong gets usage message from mount when she does odemountSMURF::FILTERAutomatic Posting Software - mail to flume::puckWed Jan 26 1994 09:409
Date Of Receipt: 	19-JAN-1994 05:20:34.75
From: 	ALPHA::plong "Paula Long USG  19-Jan-1994 0520"
To: 	[email protected] (Jim McGinness)
CC: 	[email protected], [email protected], [email protected],
	[email protected], [email protected], plong@DEC:.zko.alpha
Subj: 	Re: plong gets usage message from "mount" when she does odemount

THANKS JIM!!  I'll grab your version of odemount for now paula