[Gluster-devel] [bug #17330] glusterfs-fuse - accepts only absolute path to volume spec

Anand Avati INVALID.NOREPLY at gnu.org
Sat Aug 5 10:39:12 UTC 2006


URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17330>

                 Summary: glusterfs-fuse - accepts only absolute path to
volume spec
                 Project: Gluster
            Submitted by: avati
            Submitted on: Saturday 08/05/2006 at 10:39
                Category: GlusterFS
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: Redesign
                  Status: None
                 Privacy: Public
             Assigned to: vikasgp
             Open/Closed: Open
        Operating System: GNU/Linux

    _______________________________________________________

Details:

there needs a slight shift in code in glusterfs-fuse.

volume spec parsing/tree creation happens inside init() of fuse's callback,
and by then fuse would have chdir()'d to /.

the work happening in init() of fuse is just tree creation. This should be
moved to main() (before calling fuse_main) and the tree should be kept in a
global variable which should be used in init() callback as it is getting used
now.







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17330>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/






More information about the Gluster-devel mailing list