Bug 11512

Summary: /sbin/mount.ncp swallows or replaces numerous mount options
Product: [Retired] Red Hat Linux Reporter: pbc
Component: ncpfsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-05-22 18:46:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description pbc 2000-05-18 18:42:16 UTC
It appears that /sbin/mount.ncp was designed to provide some simple
defaults for ncpmount command, but it does not respect the numerous options
available for ncpmount. A line such as this in /etc/fstab

K2  /mnt/k2/var  ncp
defaults,mode=644,uid=root,gid=pbc,owner=pbc,volume=TMP,passwdfile=/etc/ncp
pass,server=K2,user=SERVICE_K2,multiple    0 0

will result in an ncpmount command that has a different mode, the default
owner, no password, different file modes, no multiple option, no volume.
There are *lots* more options that would also be omitted from the ncpmount
command.

I found it *far* more useful to simply replace /sbin/mount.ncp with a
symlink to /usr/bin/ncpmount.  It now does what I asked it to do.

Thanks for listening,
Philip

Comment 1 Bill Nottingham 2000-05-22 18:46:59 UTC
Hm, last time I checked, symlinking didn't work
properly. Apparently it does now. Fixed in 2.2.0.17-6.