Changeset 154 for trunk/source/attach
- Timestamp:
- 10/27/08 21:13:52 (16 years ago)
- Files:
-
- trunk/source/attach/attach (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/source/attach/attach
r53 r154 39 39 print_usage = True 40 40 else: 41 filsys = hesiod.FilsysLookup(args[0]) 41 filsys = hesiod.FilsysLookup(args[0]).filsys 42 42 if filsys: 43 os.symlink(filsys .getFilsys()[0]['location'], a)43 os.symlink(filsys[0]['location'], a) 44 44 sys.exit(0) 45 45 else: … … 60 60 exit_code = 2 61 61 if noise_level == 'verbose': 62 filsys = hesiod.FilsysLookup(args[0]) 63 print 'attach: %s attached to /mit/%s for filesystem %s' % (filsys .getFilsys()[0]['location'], arg, arg)62 filsys = hesiod.FilsysLookup(args[0]).filsys 63 print 'attach: %s attached to /mit/%s for filesystem %s' % (filsys[0]['location'], arg, arg) 64 64 elif noise_level == 'path': 65 65 print '/mit/%s' % arg