Re: [PATCH] RHEL 4 U2 nfsmountopts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2005-10-10 at 14:34 -0400, Brian Long wrote:

> I'm looking at CVS HEAD for anaconda/isys/imount.c and I see your
> options bitmask with IMOUNT_RDONLY, IMOUNT_BIND, and IMOUNT_REMOUNT.  I
> assume the *data is where the filesystem-specific mount options are
> supposed to be specified, but I don't see *data being parsed before
> calling nfsmount() with &extra_opts and &mount_opt.  The only thing I
> see is this:
> if (data)
> 	strdup(data);
> 
> Before I dig too much further, how do you expect *data to be transformed
> into extra_opts for nfsmount() or should extra_opts = strdup(data)?

>From the man page for mount(2):

The data argument is interpreted by the different file systems.
Typically it is a string of comma-separated options understood by this
file system.  See mount(8) for details of the options available for each
filesystem type.

-- 
  Peter


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux