WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Fluff mounted samba cifs dir shows as file  (Read 8079 times)

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: Fluff mounted samba cifs dir shows as file
« Reply #15 on: February 18, 2011, 10:15:53 AM »
Hi stunix! Thanks for posting your issue and taking the time to explore the suggestions by the other forum members.

I spotted this thread last night when there was still only one reply.  I see a lot more has transpired since then.  Unfortunately, I don't have much insight on this particular issue, probably because I don't have much experience with network file mounting, including Samba.   :-\  Actually, basically zero experience in Linux, and a trivial amount of experience with network shares in Unix maybe 17 years ago.  :-[

Fluff uses the opendir() and readdir() POSIX API functions to scan the filesystem and list files.  I don't know if these APIs have any particular limitations with network filesystems, but if so, then I think it will not be a simple fix.  I'm not familiar enough with the other file managers that seem to work OK to know how they gather the directory structure and content, but perhaps they do it in a different way.  Maybe I'll look around a bit in one or two other file managers for ideas. If they use a completely different method and it won't expand the executable much, maybe I'll consider adopting it, but it would likely take a while (weeks? months?), especially if it entails a lot of low-level recoding work.

I see you said "if you cant fix it, no big deal, ill use xfm." Short term at least, I think you will need to use another file manager.  I made Fluff to be a much lighter-weight alternative to XFE, Rox Filer, Nautilus, and so on.  I would like it to work on almost any file system, but to stay small, maybe some sacrifices must be made.  But perhaps I just need to code smarter.   Of course, I'll consider any source-code patches people send me.  ;)
--
Mike Lockmoore
« Last Edit: February 18, 2011, 10:22:51 AM by MikeLockmoore »

Offline stunix

  • Newbie
  • *
  • Posts: 10
    • stunix.com
Re: Fluff mounted samba cifs dir shows as file
« Reply #16 on: February 18, 2011, 11:03:21 AM »
Hey Mike. 

thanks for your interest.
One function which can be worked around is not a deal breaker, there is quite a bit of stuff I need to play with in this TC project before I can set it in place so Ill watch out and see what brilliant people like yourself do in the future.

If I can help let me know.

Stu

Offline combo3

  • Full Member
  • ***
  • Posts: 148
Re: Fluff mounted samba cifs dir shows as file
« Reply #17 on: February 18, 2011, 01:06:46 PM »
Can't reproduce error.

Was able to browse mounted samba share with Fluff using virtualbox and on network pc booted via pxe.

Maybe the problem is a config setting in virtualbox?