Bug 10940

Summary: v9fs mount options are not preserved
Product: File System Reporter: sqweek (sqweek)
Component: v9fsAssignee: Eric Van Hensbergen (ericvh)
Status: CLOSED CODE_FIX    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.26 Subsystem:
Regression: No Bisected commit-id:

Description sqweek 2008-06-19 14:20:17 UTC
After mounting with v9fs, the options are messed up:

# mount -t 9p -o trans=unix,dfltuid=1000,dfltgid=1000,uname=sqweek,noextend /tmp/ns.sqweek.:0/wren /tmp/wren
# mount |grep /tmp/wren
/tmp/ns.sqweek.:0/wren on /tmp/wren type 9p (rw,sync,dirsynctrans=unix)

 I'm guessing that's supposed to be dirsync,trans=unix at the very least.
-sqweek
Comment 1 Eric Van Hensbergen 2008-06-24 15:50:10 UTC
Problem does not happen in current tip -- probably resolved by earlier option fixes which are already in 2.6.26-rc series.
Comment 2 sqweek 2008-07-21 08:55:54 UTC
 In 2.6.26 I get:

/tmp/ns.sqweek.:0/wren on /home/sqweek/n/wren type 9p (rw,sync,dirsyncunix,trans=unix,uname=sqweek,noextend,nodev,uid=1000,gid=1000,dfltuid=1000,dfltgid=1000)

 Which is great, but still missing a comma after dirsync :)
-sqweek