Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77728 - netmount does not handle nfs4 tag in fstab.
Summary: netmount does not handle nfs4 tag in fstab.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-12 12:45 UTC by Bel Zébute
Modified: 2005-01-12 15:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bel Zébute 2005-01-12 12:45:09 UTC
netmount does not recognise nfs4 types in the fstab.  It all lay down to the awk line that need to be modified in the netmount script.

My fstab example is as follow:

192.168.0.1:/            /home        nfs4 rsize=8192,wsize=8192,intr,rw,hard,proto=tcp,port=2049 0 0
192.168.0.1:/usr/portage /usr/portage nfs  rsize=8192,wsize=8192,intr                             0 0


Reproducible: Always
Steps to Reproduce:
# awk '!/^#/ && $3 == "nfs" && $4 !~ /noauto/ { print $0 }' /etc/fstab

Actual Results:  
S192.168.0.1:/usr/portage /usr/portage nfs  rsize=8192,wsize=8192,intr         
                   0 0

Expected Results:  
192.168.0.1:/            /home        nfs4
rsize=8192,wsize=8192,intr,rw,hard,proto=tcp,port=2049 0 0
192.168.0.1:/usr/portage /usr/portage nfs  rsize=8192,wsize=8192,intr          
                  0 0


Of course, when using this line, it works: 
# awk '!/^#/ && ( $3 == "nfs" || $3 == "nfs4" ) && $4 !~ /noauto/ { print $0 }'
/etc/fstab
Comment 1 SpanKY gentoo-dev 2005-01-12 15:18:35 UTC
you neglected to provide `emerge info` like the bug report page told you to

that said i'm pretty sure you have baselayout-1.9.x seeing as how i added nfs4 support to baselayout-1.11.x already