[PATCH] Show NFS as the source if dracut left it for us (#875235)

Jesse Keating jkeating at redhat.com
Mon Nov 12 16:47:13 UTC 2012


On 11/12/2012 06:32 AM, Chris Lumens wrote:
> What's the problem with opts here?  I believe there's a method.opts, and
> there's a box in the UI that can be populated.

The problem is that the device string we get out just lists the host and 
the path, e.g. reducio:/srv/mirror/development/18/x86_64/os

We can't get the options out of that string.  If we look at proc mounts 
for it there is a /huge/ list of options applied:

reducio:/srv/mirror/development/18/x86_64/os/ /run/install/repo nfs 
ro,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.10.10,mountvers=3,mountport=20048,mountproto=udp,local_lock=all,addr=192.168.10.10 
0 0


We could perhaps sanitize that down a bit to a set of options beyond our 
defaults and then feed that into method.opts, but that was more code 
than I was comfortable with for F18, or at all as it seems like a moving 
target.

-- 
Jesse Keating
Fedora -- FreedomĀ² is a feature!


More information about the anaconda-patches mailing list