Bug 10940 - v9fs mount options are not preserved
Summary: v9fs mount options are not preserved
Status: CLOSED CODE_FIX
Alias: None
Product: File System
Classification: Unclassified
Component: v9fs (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Eric Van Hensbergen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 14:20 UTC by sqweek
Modified: 2012-05-22 12:36 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.26
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.