Changeset 41
- Timestamp:
- 01/23/08 22:05:31 (17 years ago)
- Files:
-
- trunk/pyHesiodFS/pyHesiodFS.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pyHesiodFS/pyHesiodFS.py
r38 r41 23 23 24 24 hello_path = '/README.txt' 25 hello_str = 'This is the pyhesiodfs FUSE autmounter. To access a Hesiod filsys, just access %s/name.\n' 25 hello_str = """This is the pyhesiodfs FUSE autmounter. To access a Hesiod filsys, just access 26 %(mountpoint)s/name. 27 28 If you're using the Finder, try pressing Cmd+Shift+G and then entering 29 %(mountpoint)s/name""" 26 30 27 31 class MyStat(fuse.Stat): … … 46 50 self.fuse_args.add("noapplexattr", True) 47 51 self.fuse_args.add("fsname", "pyHesiodFS") 48 self.fuse_args.add("volname", " pyHesiodFS automounter")52 self.fuse_args.add("volname", "MIT") 49 53 self.mounts = {} 50 54 … … 120 124 121 125 def main(): 126 global hello_str 122 127 usage=""" 123 Userspace hello example 128 pyHesiodFS 124 129 125 130 """ + Fuse.fusage … … 129 134 130 135 server.parse(errex=1) 136 hello_str = hello_str % {'mountpoint': server.parse(errex=1).mountpoint} 131 137 server.main() 132 138