Slashdot Mirror


What Dropbox Dropping Linux Support Says (techrepublic.com)

Jack Wallen, writing for TechRepublic: For a company to support Linux, they have to consider supporting: Multiple file systems, multiple distributions, multiple desktops, multiple init systems, multiple kernels. If you're an open source developer, focusing on a single distribution, that's not a problem. If you're a company that produces a product (and you stake your living on that product), those multiple points of entry do become a problem. Let's consider Adobe (and Photoshop). If Adobe wanted to port their industry-leading product to Linux, how do they do that? Do they spend the time developing support for ext4, btrfs, Ubuntu, Fedora, GNOME, Mate, KDE, systemd? You see how that might look from the eyes of any given company?

It becomes even more complicated when companies consider how accustomed to the idea of "free" (as in beer) Linux users are. Although I am very willing to pay for software on Linux, it's a rare occasion that I do (mostly because I haven't found a piece of must-have software that has an associated cost). Few companies will support the Linux desktop when the act of supporting means putting that much time and effort into a product that a large cross-section of users might wind up unwilling to pay the price of admission. That's not to say every Linux user is unwilling to shell out the cost for a piece of software. But many won't.

29 of 424 comments (clear)

  1. Why is the FS a problem? by Tomahawk · · Score: 5, Interesting

    Surely the OS is providing standard access to every FS, so from an application perspective everything looks the same. So why is it a problem for applications to support ext4 and btrfs when, via the OS, they should look the same?

    fopen() will still work, regardless, surely... no?

    1. Re:Why is the FS a problem? by marcelus · · Score: 5, Interesting

      I think that lower-level calls may be necessary to ensure a seamless performance. I don't know for Linux (where file locking rules are different), but as a Windows Dropbox user, I find it *very* nice that I can work on big Photoshop files, save them often and *never* have Dropbox get in the way by locking the file (and, furthermore, Dropbox only uploads or downloads chunks of the file that have changed) Google Drive, on the other hand, is a PITA when it comes to this: I was using it before and saving files often resulted in Photoshop complaining... a lot! (Google Drive is OK for backups or very small files, though) It might be that the naive approach of using posix-level calls is not really enough Just my $0.02

    2. Re:Why is the FS a problem? by asackett · · Score: 3, Interesting

      In my own experience, you are correct. In my own work, this is true.

      From the perspective of one shuttling a file from this place to that without any concern about its content, buckets of bytes are buckets of bytes. The files system says "I prefer moving blocks of 4096", I say okay, gimme 4096 of 'em this time and I'll keep asking until EOF.

      OTOH, from the perspective of one parsing those files for meaning, the situation becomes far more complex and our suspicion of their motives should increase.

      --

      Warning: This signature may offend some viewers.

    3. Re:Why is the FS a problem? by Tomahawk · · Score: 4, Informative

      "2 Types of Linux File Locking (Advisory, Mandatory Lock Examples)": https://www.thegeekstuff.com/2...

      This might be of some interest to you.

    4. Re:Why is the FS a problem? by Anonymous Coward · · Score: 5, Insightful

      Except Dropbox wants access to your filesystem details for their backup stuff., not just the file descriptor and data.

      So, in other words, Dropbox is run by retards who have no clue about proper software development.

      It's a program that copies files from one location to another. If Dropbox can't get out of the way and let the OS worry about things like the file system and systemD, then there is something seriously wrong with them.

      This is a classic case of Doing It Wrong®.

    5. Re:Why is the FS a problem? by Spazmania · · Score: 4, Insightful

      That exposes a basic misunderstanding of how software in Linux is built. The program which presents a remote filesystem should be separate from the program which synchronizes files. That's the unix way.

      It also makes Dropbox's job simple: a fuse (filesystem in userspace) driver and then let folks stack whatever other Linux software they want to on top of it.

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
    6. Re:Why is the FS a problem? by BigBlockMopar · · Score: 4, Interesting

      That exposes a basic misunderstanding of how software in Linux is built. The program which presents a remote filesystem should be separate from the program which synchronizes files. That's the unix way.

      It also makes Dropbox's job simple: a fuse (filesystem in userspace) driver and then let folks stack whatever other Linux software they want to on top of it.

      Yeah, I was confused about that argument about fractured filesystems (among other things) in the original post. How and why does that matter to them, unless they're doing something at a lower level than userspace?

      Yes, I agree, the Linux community is horribly fractured and must be a big nightmare for some applications to be ported. But if it's available for anything Apple, or anything Android, porting it to Linux should be relatively easy.

      From article:

      Although I am very willing to pay for software on Linux, it's a rare occasion that I do (mostly because I haven't found a piece of must-have software that has an associated cost).

      Mostly because we're accustomed to having enterprise-grade software free. Linux users aren't cheapskates, and consider that ALL the computers in the TOP500 list are running Linux. Linux users can shell out money.

      I'd be a lot more receptive to AutoCAD, for example, if they put out a Linux version. But why bother? There's FreeCAD and a host of others. Photoshop? GIMP. And let's not even get going on Blender.

      Dropbox - isn't it, really in the end, just rsync being run within a script? I liked the name for the credibility, but again, Linux has credibility in its own right.

      --
      Fire and Meat. Yummy.
    7. Re:Why is the FS a problem? by Anonymous Coward · · Score: 5, Insightful

      If that's the case then explain systemd. /s

      Easy; systemd is not the unix way.

    8. Re:Why is the FS a problem? by jellomizer · · Score: 5, Insightful

      This type of design is what I find is what developers make when they are at the "Arrogant Rookie" level of their career.
      Where if there was a book on the technology, The skills used are from chapter 1 and the last chapter.
      They are trying to show off how good they are by not doing things the easy way.
      I had once had to maintain an application because the developer who decided to access a database not via the SQL commands that it supported, but by directly accessing the DLLs and doing the direct calls to the database engine.
      Yes it was faster, but this product was so tightly tied to the Database system that it was nearly impossible to upgrade the database engine, and were at the direct wims of the Database Company, if they charged more then we had to pay more, or do a near full rewrite of the application. As well if there was a bug in the code, then the entire data would get messed up because of the low level access. As well it skipped steps to make the data SQL compatible so it required either a hex editor or custom programming for any ad-hoc report, or odd data fix.

      Normally if a company or a product seems to be very strictly worried about low level differences, chances are it was coded by an Amateur who thinks himself all that. And is a sure sign to avoid such product on all environments.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    9. Re: Why is the FS a problem? by jellomizer · · Score: 4, Insightful

      rsync was a Unix tool. So it was probably designed around the Unix design principals. While Dropbox was a hack design to Windows.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    10. Re:Why is the FS a problem? by jellomizer · · Score: 4, Insightful

      That is my thought. It was just FUD way to explain they just don't want to do it.
      Other then saying all these "technical" difficulties. They should just state that it is difficult to support Linux, because it is hard to train Level 1 India support to navigate a non-standardized UI.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    11. Re:Why is the FS a problem? by SharpFang · · Score: 3, Informative

      > Dropbox is run by retards who have no clue about proper software development.

      It is. My phone died on my trip and I had to buy some other quick; went for a cheapo that has 4GB of internal flash, 3 of which are preloaded with OS and various crapware. There's 1GB for user apps and data left. After mandatory updates of the built-in apps and installing some bare essentials (including Dropbox), I still had some 450MB free. I installed Dropbox to download the files I had on the old phone and I would need, like bus schedules at the destination, where network coverage was too dodgy.

      Nope. Can't make an 80KB file available offline through Dropbox. You need at least 500MB of space on your device. Free up some space.
      Oh, and I don't give a fuck that you still have 14GB free on your SD card. No 500M internal storage free, no offline files for you!

      --
      45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    12. Re:Why is the FS a problem? by Wrath0fb0b · · Score: 4, Interesting

      Surely the OS is providing standard access to every FS

      They are trying, and largely succeeding. Nevertheless, all non-trivial (and filesystems are highly nontrivial) abstractions are leaky

      fopen() will still work, regardless, surely... no?

      A service that offers background sync (i.e. changes are pushed to the cloud in the background) which doesn't just poll (polling is evil) needs an API much more complicated that fopen. Specifically, it needs a notification stream where it can create a 'watched' folder and be notified when:

      • A file in the watch was opened for writing was closed
      • A new file or directory entry was created
      • A file or directory was deleted
      • A file or directory was moved, either from outside the watch to inside, inside to outside or inside to inside. Note that this is essential to allow users to rename or reorganize their folders without retransmitting the entire file each time
      • Probably more I'm not thinking of . . .

      This is a (somewhat) solved problem, in the sense that inotify exists within some limitations described on the wikipedia page (and further in the man page). One really obvious limitation is that the kernel will not do this recursively for you, meaning that the client has to manually add/remove folder watches. The other is that rename events are clunky, coming in two halves with a linking identify. Anyway, if you read the history, you'll note this is the third or so attempt at getting this right, which at least suggests that it's non-trivial enough that we had to can the original (dnotify) interface and start over once.

      What was the point of this side-track into filesystem watching? Well, for one, we started with "how hard is fopen/fread" and now ended up with "holy crap, that's highly non-trivial to be async notified of changes within a directory tree (recursively!)". It also raises the question of whether the interface really is an airtight abstraction, or whether filesystem implementation details leak into the caller to be dealt with. Even answering that question for all supported Linux filesystems is non-trivial.

      If you take nothing else away, just remember that this is a far more complicated problem than rsync ;-)

      Postscript: rsync is 50K LOC

    13. Re: Why is the FS a problem? by GameboyRMH · · Score: 4, Interesting

      These are rare corner cases though, and not really a problem with rsync or the filesystem. By default rsync compares datestamps to check for changes and will skip over files where the datestamps match. Sometimes a file will be altered but its datestamp won't - the only situation I'm aware of like this is Linux filesystem container binary files. In my rsync scripts I have to touch each of them first if I want them to be seen as updated. Somewhat more commonly there are a few programs that will update the Modified datestamp on files they open even if they've only been read and not changed.

      I blame the way these programs handle datestamps. Linux/mount should update the datestamps of filesystem container files when they're written to, and programs shouldn't update the datestamps of files that are not changed.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    14. Re:Why is the FS a problem? by jellomizer · · Score: 3, Insightful

      It does sound like it, but I have made my career taking over other peoples work. While I see a lot of things that I think I could do better, I can see the logic behind the approach especially with the time such product was made.

      However I also have been able to meet the people with the code I am taking over, They seem to fall in categories.
      "Not my job, but it needed to be done": This is code from someone who didn't want to make an application, but just kinda grew out of hand. Oddly enough besides some infrastructure problems the code is rather clean and logical.
      "Arrogant Rookie": The guy who thinks he is all that, however while trying to make impressive stuff, really fails on understanding. This is usually the toughest code to figure out, because the easy way to solve problems seem to be consciously ignored.
      "General Pro": They are a professional, their code tries to make sense, and the code it normally easy to follow. Sometimes they have some bad days, but in general easy to follow and fix.
      "Rockstar Developer": The code is actually kinda OK, however perfection often makes their code dense at time, and difficult to maintain, until I can figure what is going

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  2. Are you retarded? by dnaumov · · Score: 5, Interesting

    Why would an image editing program give 2 shits about: ext4, btrfs, GNOME, Mate, KDE and systemd?

    1. Re:Are you retarded? by Computershack · · Score: 3, Insightful

      For the GUI you have to give them that, they have a valid point. Everything else is just bollocks though.

      --
      I only please one person per day. Today is not your day. Tomorrow isn't looking good either. - Scott Adams
  3. This old FUD? by The+Cynical+Critic · · Score: 4, Insightful

    I thought Slashdot of all places would be free of the old Microsoft FUD from the 90s about how supposedly fragmented Linux is and how Linux users don't want to pay for software because Linux itself is (usually) free... The reality is that from an application developer's perspective Linux is about as fragmented as Linux and OSX if you can use some pretty basic principles and Linux users do pay for software if good paid software is available. It's also kind of ridiculous for SystemD to be brought up here when application developers don't need to work with it and it's pretty much universally used at this point.

    But hey, gotta bait those clicks somehow right?

    --
    "Why should I want to make anything up? Life's bad enough as it is without wanting to invent any more of it."
    1. Re:This old FUD? by SharpFang · · Score: 4, Interesting

      Dropbox made some really dumb design decisions early on, tying the program way deeper into the OS works than it really needed, and suddenly they discovered that if you dig all the way through the one uniform friendly abstraction layer meant to be used by everyone and sufficient to everyone, you suddenly discover there are many different variants of works down below, of things you weren't supposed to touch in the first place. And they change a lot, and are hard to use.

      And now they try to pin the blame on someone else.

      --
      45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  4. And alternatively, they could just code cleanly by gweihir · · Score: 4, Insightful

    There is a ton of applications on Linux that all do not have these problems. It just requires a bit of experience and not using every damned feature some specialized installation may have. Apparently, Dropbox is lacking the skills for that though.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  5. Sorry, but this is nonsens. by TheSunborn · · Score: 4, Insightful

    Let's take the case of Adobe porting Photoshop to linux.

    1: ext4/btrfs - This does not matter at all. There is no case where photoshop cares about the filesystem it runs from.

    Ubuntu/Fedora - Not really a problem. I personally run Fedora, but fedora don't have any problems running binary software developed for Ubuntu. Case in point: Most of the games I have in my Steam library are developed for Ubuntu, and have newer been tested on Fedora by the devoper at all. But they still run fine on Fedora.

    Gnome vs Mate vs KDE - Again: Why should Photoshop care? None of my other apps really care so why should Photoshop?
    Case in point: Even if I replace Kde which I currently use with a version of Enlightenment which I have compiled my self, none of my software will stop working. Apps don't care.

    systemd: If Photoshop cares about my init system, something have gone really really wrong. No issue at all.

  6. Re:Linux is a moving target by Tomahawk · · Score: 3, Insightful

    You can always statically compile your libraries in, especially those that might end up being problematic.

  7. Took me a day to get it right. stat() and getxattr by raymorris · · Score: 5, Informative

    l wrote software that creates and syncs and *bootable* copy of a Linux machine. To have the clone boot and run right, everything needed to be copied over exactly - extended attributes included.

    It CAN be hard if you try to do it using the approach you are thinking of, but there is a much easier way. JavaScript programmers will recognize these two different approaches.

    > does the file system support symlinks, does it support locking? Can we reliably see if the file changed while we tried to sync it?

    stat() will tell you if the file is a symlink and when it last changed. If this file is a symlink, then it supports symlinks. You don't need to ask "does this filesystem support symlinks?", you just use stat() to find out what kind of file this is.

    > How about basic or extended attributes?

    Same thing. getxattr() will give you the extended attributes, if there are any. You don't need to start with detecting the filesystem and try to figure out if xattrs are possible, just use the getxattr() system call to read the extended attributes. You'll either get some or not.

    > Try that with /dev/zero and wait for your server space to fill up. Then download the already uploaded contents of /dev/sdb onto the current system.

    Remember when you called stat() earlier to get the file type and see if it's a symlink? That also tells you if it's a device file. So already done.

    Let's say you have really dumb programmers who don't know, and can't learn, that you get file information with stat(). Devices are in /dev. Don't copy the contents of files in /dev. You don't have to think about /dev/zero, /dev/random, etc - just know /dev is device files. Our system skipped /dev and /proc. Or just use rsync - it does the right thing by default. If you don't want to USE rsync, spend 30 minutes reading the rsync man page and do what rsync does. Those are options if you're too dumb to use stat().

    None of this depends on which filesystem, init system, or kernel is in use - you won't find a bunch if "if filesystem is reiserfs" in rsync.

    Back in the day you used to see two types of JavaScript. Dumb JavaScript looked like this:

    if(navigator.userAgent.indexOf('MSIE 5') != -1)
    { //we think this browser is IE5 // Can't use document.documentElement.getBoundingClientRect, give up
    } elsif (navigator.userAgent.indexOf('Safari') != -1) { // Code for Safari
          rect = document.documentElement.getBoundingClientRect() ...

    Smart JavaScript does this instead:

    if(typeof document.documentElement.getBoundingClientRect != "undefined");
    {
          rect = document.documentElement.getBoundingClientRect();
    }

    Just see if the feature is available, don't try to guess which browser it is and then try to figure out which features it has bases on the useragent.

    Linux is even easier. getxattr() is always there, it always works. If there aren't any extended attributes, it'll return none.

  8. Thanks for telling me what to think by Austerity+Empowers · · Score: 3, Insightful

    Linux is primarily used as a web server, as heavy corporate back-end infrastructure, or by hobbyists/enthusiasts. Dropbox's primary market are consumers on Windows, which only has the features you buy from someone, or the mobile market which needs, I guess, a place to store and share their dick-pics.

    Nothing about a web server should want to have anything to do with drop-box. It's already public, and drop-box has their own web server.

    The corporate world is highly allergic to drop-box as an enterprise storage medium. They all have other ways or other deals in place for any cloud storage they need, and it's not going to be public, nor part of their back-end infrastructure. Even for their end windows users, dropbox is usually forbidden under pain of termination.

    Hobbyists/enthusiasts realize their linux already has scp (all the distributions at this point), and so does any machine they may use. So they have DIY dropbox. Add in that this particular market is somewhat more distrustful of cloud-anything, and often has a more privacy and "my data is mine" and "my personal information is mine" bent and the pool of good customers here gets pretty small.

    So you have an OS that isn't going to ever be a big player on your product, and you're hurting for cash. So you can fire some devs and drop support for Linux. That's what I think this means.

  9. Article is nonsense by MobyDisk · · Score: 4, Informative

    Bottom line: Jack Wallen doesn't know what he is talking about. Nothing to see here, move along.

    First of all: the premise of the article is completely wrong: Dropbox isn't actually dropping support for Linux! The author wrote this entire nonsense article, then when "cvoltz" commented and pointed this out, they added an UPDATE to the top clarifying. The update completely undermines the point of the article. Also, the article provides "reasons" that are just generalizations with no technical backing. I won't rebut them because other posters have already done so. Also note that this author does not represent DropBox. So really, there's no substance here.

    While there are differences between Linux distros, and yes it can be a pain sometimes (mostly dealing with installation and dependencies, in my experience), none of the items listed are valid examples of those difficulties. The entire article should just be retracted.

  10. LOL Cats... by OneSmartFellow · · Score: 3, Funny

    From the comments sections:

    P. B. Lecavalier • 7 days ago
    I wrote a detailed comment demonstrating how this "award-winning" author has seemingly no idea of what he's talking about. It was swiftly deleted. Fine. I'll leave you with your spectacle of illusions.

  11. Lame excuse for we see our audience elsewhere by prefec2 · · Score: 5, Informative

    This is all bullshit:

    For a company to support Linux, they have to consider supporting: Multiple file systems, multiple distributions, multiple desktops, multiple init systems, multiple kernels.

    * You do not need to support multiple file systems. The kernel does that for you. Also most people use EXT-something.
    * You need ONE deb and ONE rpm. If your build-system would be anything modern this would be done automatically. You could even cooperate with package maintainers from distributions. Beside that it is easy to package something for debian/ubuntu. And I cannot imagine that this is super difficult for Fedora, SUSE, etc.
    * For a working desktop-service you do not need to support multiple desktops. You just need a running client service. Furthermore, you just need an open API, people will add tiny applets to ease shit. Also if you support Nautilus and Dolphin (or whatever it is called) then that would support almost everyone. For the rest see open API.
    * You do not need to support multiple init system, because it is a user service. It should not run when not logged in.
    * You do not need to support different kernels. You link with glibc. Period.

    Instead of lying to us, just say the truth. Linux users are few, they often do not use you paid services, and they often use evil Nextcloud setups anyway. We need to make more revenue and cut costs. We also love to take from the OSS community, but we do not really care about them.

  12. I guess this won't be the year... by Blaede · · Score: 4, Funny

    ...of Linux on the DropBox?

  13. Re:Took me a day to get it right. stat() and getxa by MachineShedFred · · Score: 3, Interesting

    Because that has never been a problem before, when dealing with oddball solutions of past filesystems. Deal with it the same way - a metadata file that holds the crap that the filesystem doesn't deal with well.

    For example, we've all seed the .DS_Store files on any fileshare that a Mac has visited, which holds Finder metadata that would be written to the HFS file system if it were HFS, and otherwise sits in a metadata file everywhere else. No, it's not the cleanest way to work, but it's something that Dropbox could implement in about two hours and be done with it, because this is a long-solved problem, and we don't need a new shaped wheel.

    --
    Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.