Changeset 41

Show
Ignore:
Timestamp:
01/23/08 22:05:31 (17 years ago)
Author:
broder
Message:

Patch from me. Fixes the README file and volname

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pyHesiodFS/pyHesiodFS.py

    r38 r41  
    2323 
    2424hello_path = '/README.txt' 
    25 hello_str = 'This is the pyhesiodfs FUSE autmounter. To access a Hesiod filsys, just access %s/name.\n' 
     25hello_str = """This is the pyhesiodfs FUSE autmounter. To access a Hesiod filsys, just access 
     26%(mountpoint)s/name. 
     27 
     28If you're using the Finder, try pressing Cmd+Shift+G and then entering 
     29%(mountpoint)s/name""" 
    2630 
    2731class MyStat(fuse.Stat): 
     
    4650        self.fuse_args.add("noapplexattr", True) 
    4751        self.fuse_args.add("fsname", "pyHesiodFS") 
    48         self.fuse_args.add("volname", "pyHesiodFS automounter") 
     52        self.fuse_args.add("volname", "MIT") 
    4953        self.mounts = {} 
    5054     
     
    120124 
    121125def main(): 
     126    global hello_str 
    122127    usage=""" 
    123 Userspace hello example 
     128pyHesiodFS 
    124129 
    125130""" + Fuse.fusage 
     
    129134 
    130135    server.parse(errex=1) 
     136    hello_str = hello_str % {'mountpoint': server.parse(errex=1).mountpoint} 
    131137    server.main() 
    132138