News for hackers. Stuff that matters.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by besulzbach on Monday July 22, 2019 @11:12AM (#20498730)
> The reason cited for this was that "a supported file system is required as Dropbox relies on extended attributes (X-attrs) to identify files in the Dropbox folder and keep them in sync".

Given that extended attributes are available in most of the filesystems used in Linux today, Dropbox still hasn't answered why they decided to go "ext4-only" for a while.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by rhinoceraptor on Monday July 22, 2019 @11:25AM (#20498888)
Probably since desktop Linux users are a tiny fraction of their user base, but create the most headaches and internet outrage.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by dev_dull on Monday July 22, 2019 @11:45AM (#20499089)
Relevant discussion: “Linux users were only 0.1% of sales but 20% of crashes and tickets”[1]

I feel like in open source this tends to work itself out with community patches, but with closed source it can become a real pain.

1. https://news.ycombinator.com/item?id=18845205

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by rsyring on Monday July 22, 2019 @11:57AM (#20499257)
I think what they may not consider is teams that have a small number of Linux users. In that case, Linux support could be required for the team to use Dropbox, even if the actual number of Linux devices is small.

My point being that the 0.1% of sales might be true per device, but "supporting Linux" might actually bring more revenue than just the devices themselves would indicate because the whole team's revenue would be lost if they didn't support Linux.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by gwbas1c on Monday July 22, 2019 @12:16PM (#20499448)
Doubtful. I work for a major Dropbox competitor and we don't have any Linux support. We aren't loosing any sales over Linux, nor are we under any pressure for Linux support.

Typically Linux support in products like this is organic: It happens when the engineers themselves use Linux and push upwards to support it.

Anyway, with the amount of testing and verification we do on our product, desktop Linux is impractical. We try to verify on as many possible user configurations as possible. (Multiple Windows versions, 32-bit and 64-bit, Multiple Mac versions, remote desktop, ect). Linux is so heterogeneous that we could only really support it if it was a large customer where we targeted their typical configurations.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by snackematician on Monday July 22, 2019 @01:01PM (#20499946)
Not sure who you work for, but I'm going to talk about Box since that is the competitor I'm familiar with. I'm in academia and to my annoyance have to interact with Box which has no linux support (and has also deprecated existing workarounds like WebDAV).

It's frustrating to me because academia is a major target for Box, and there are many of us linux users here. I wish the university admins that negotiate these deals would consider us.

It also feels like Box has a dismissive attitude towards us. Linux support has been a much requested feature for a long time, for example see this years-long thread: https://community.box.com/t5/Desktop-and-Mobile-Forum/Status.... IIRC mods encouraged people to vote for this feature request in BoxPulse, where it subsequently became one of the highest-voted features, but then labeled WONTFIX. Also annoying that Box supports linux-based Android, and also supported the less-used Windows phone. Yes there are a lot of linux distros out there, but Box could put out a snap, or just target one distro and let the other distros patch for themselves (like Steam does).

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by gwbas1c on Monday July 22, 2019 @01:49PM (#20500413)
The problem with supporting Linux, for commercial desktop software, is that it's extremely heterogeneous. Some user might be on Ubuntu, another on Redhat, another on Mandrake; all with very different details.

Thus, what happens is that so-and-so runs such-and-such which happens to be incompatible because of some whacky configuration alignment that no one considered.

The test matrix then becomes much more complicated than a traditional test matrix targeting common Windows and Mac configurations.

That's fine for expensive software where the end user might have a very close relationship with the vendor, but for "cheap" software the cost of supporting every possible way someone configured their computer is significantly higher than targeting Windows and Mac.

(Otherwise, the Linux version of a program might cost 2-10x what a Windows or Mac version will cost.)

I like to think of desktop Linux as a DIY hobby; but not something that you can expect commercial software vendors to support.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by danieldk on Monday July 22, 2019 @02:04PM (#20500557)
The problem with supporting Linux, for commercial desktop software, is that it's extremely heterogeneous. Some user might be on Ubuntu, another on Redhat, another on Mandrake; all with very different details.

If you are targeting businesses, virtually nobody will run Mandrake (which does not exist anymore), Mandriva, Arch, or whatever. When you target Ubuntu LTS and Red Hat Enterprise Linux, you have probably covered most of the enterprise user base.

(Otherwise, the Linux version of a program might cost 2-10x what a Windows or Mac version will cost.)

This surprises me, because Apple changes and breaks a lot of stuff every macOS release and Apple only supports one or two versions back for security updates. In the meanwhile, RHEL only releases every half-decade or so and supports every release for much longer. Ubuntu LTSes are only released every two years and are then more or less frozen as well.

I like to think of desktop Linux as a DIY hobby; but not something that you can expect commercial software vendors to support.

Except if you care about servers. Or developers for that matter.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by gwbas1c on Monday July 22, 2019 @03:15PM (#20501303)
The key word is "Desktop"
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by mbreese on Monday July 22, 2019 @03:24PM (#20501406)
In an enterprise, even Linux on the desktop is standardized and you’re likely to find that the LTS options (Ubuntu LTS or RHEL) will cover most of the Linux users. And those that aren’t covered are probably used to finding their own way, if given the appropriate tools.

Sure, for everyday end users, supporting Linux can be a pain, but if we’re still talking Enterprise, there are only a few distros that would need to be covered.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by hdfbdtbcdg on Monday July 22, 2019 @03:48PM (#20501627)
Dropbox works on a server. I know companies that picked it because of that.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by fauigerzigerk on Monday July 22, 2019 @03:56PM (#20501703)
>I like to think of desktop Linux as a DIY hobby; but not something that you can expect commercial software vendors to support.

I don't use desktop Linux myself and I'm not usually a desktop Linux advocate at all, but I know that a lot of developers use desktop Linux professionally for good reason. Public administration in Europe is also very gradually moving towards using more Linux on the desktop (in spite of well publicised setbacks). There is a lot of public pressure in that direction.

Desktop Linux may not be important now, but it probably has more growth potential than anything else. And if it grows even just a little bit, the impact on Windows/Mac-only cloud solutions will be disproportionate. It doesn't take a huge percentage of Linux desktops to make Windows/Mac-only cloud solutions very cumbersome.

I think it's a smart move by Dropbox to occupy that niche now, even if it's loss making. There could even be a bit of a moat, because Microsoft and Google both have reasons (Windows/Chrome OS) to drag their feet.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by cozzyd on Monday July 22, 2019 @03:34PM (#20501503)
Yes, I have a "free" "unlimited" Box storage via UChicago but I never think to use it since I'm a Linux user and it's such a pain to use from the browser. Supporting Ubuntu and EL would support the vast majority of users on campus.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by quantumsequoia on Monday July 22, 2019 @04:34PM (#20502067)
Here's info on how to build the CLI on linux

https://github.com/box/boxcli/issues/55

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by dev_dull on Monday July 22, 2019 @03:54PM (#20501680)
Is it a reasonable alternative to say linux is supported, but only on specific filesystems?
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by quantumsequoia on Monday July 22, 2019 @04:12PM (#20501867)
Box launched a CLI recently. Not a full client, but it's something

https://developer.box.com/docs/box-cli

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by bad_user on Monday July 22, 2019 @01:25PM (#20500208)
As a Linux and MacOS user I would never recommend a solution that does not work on Linux, unless it's effectively a free complement to something else the company is paying for.

As a Dropbox competitor I know that you've lost at least a couple of sales because with all the companies I worked thus far the only sync solutions used at the company level are Dropbox and Google Drive. And the later is only used because it's attached to Google Suite, but nobody pays for extra storage.

And all the companies I worked with have some Linux users. And I know, correlation is not causation, but I know that at least one of those companies haven't gone with Box because of missing Linux support.

If you haven't noticed lost sales it might be because companies with Linux users aren't even bothering to check you out.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by gwbas1c on Monday July 22, 2019 @01:40PM (#20500353)
We support Mac. That's rather challenging because Mac users are a minority, yet Mac development tends to be more expensive.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by hackmiester on Monday July 22, 2019 @12:37PM (#20499699)
> We aren't loosing any sales over Linux

How would you know if you were?

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by radiowave on Monday July 22, 2019 @01:42PM (#20500361)
In enterprise sales, there's often a huge disconnect between who you're selling to, and who is actually using the product.

In which context it might actually be perfectly correct to say that you aren't losing any sales over it, even if there are thousands of users who would use Linux support, were it there.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by acdha on Monday July 22, 2019 @01:14PM (#20500098)
“We decided to go with <other vendor> because they have Linux support”

“The sales team says that's a requirement for the companies they're talking to”

“Competitor X has Linux support and they're growing faster with no other obvious explanation”

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by jeltz on Monday July 22, 2019 @04:44PM (#20502162)
Most customers never contact your sales team in the first place if they see that you do not support their stuff.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by acdha on Monday July 22, 2019 @09:13PM (#20503684)
This very much depends on the product but note that is exactly why I listed other possibilities. If Linux support was a big opportunity they’d know — maybe not precisely but enough to know it was hurting them.

I’ve been using Linux for around 25 years, some of that selling commercial software and most buying. There’s a very noisy contingent of the community who make a lot of noise but never actually buy anything. You’ll go broke chasing their feature requests because there’s always one more thing before they can switch.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by toomuchtodo on Monday July 22, 2019 @12:39PM (#20499712)
It's shorthand for, "We might be losing sales, but we assume they're a negligible amount of total potential revenue", which is a fair assumption to make.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by danieldk on Monday July 22, 2019 @01:57PM (#20500492)
Anyway, with the amount of testing and verification we do on our product, desktop Linux is impractical.

And yet, there are many open source projects have the scale of a file synchronization tool or larger, that manage to work fine (and run a large battery of tests) across different Linux distributions, BSDs, and macOS.

I don't think it is impractical, it is probably just not a good business case.

(I don't necessarily agree, I think Linux users will typically send more fine-grained and useful bug reports and might help you shake out bugs more quickly.)

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by Shorel on Monday July 22, 2019 @01:12PM (#20500076)
I'm sure you don't lose a significant number of sales over Linux. The number of sales could probably be smaller than statistical error, and I think your company made the right decision.

But using 'any' as an universal quantification is false, because some users like me are paying for products like pCloud precisely because they support Linux.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by brightball on Monday July 22, 2019 @01:46PM (#20500386)
Yes, this. I often have this same conversation with restaurants who don’t have gluten free options. You certainly aren’t obligated to do so, but if you don’t have any and there is a single person in our dinner group who needs them...our entire group goes elsewhere.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by VeninVidiaVicii on Monday July 22, 2019 @02:01PM (#20500513)
While this is true, I think a more subtle reason to support Linux is the open-source scripts devs setup that may be mission critical.

I work in a bioinformatics lab, and I access Dropbox through the command prompt and do a lot of file cleanup through scripts for dozens of researchers, which is impossible on Windows or Apple.

This BTRFS reversal last year was a nightmare for everyone's research even though I'm the only one who uses Linux.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by AceJohnny2 on Monday July 22, 2019 @04:11PM (#20501853)
> which is impossible on [..] Apple.

Out of curiosity, why is that? macOS does provide a Unix environment and Bash & Zsh shells. (and Homebrew or MacPorts are package managers that can provide updated versions of whatever)

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by VeninVidiaVicii on Monday July 22, 2019 @08:28PM (#20503473)
I suppose it's possible in the sense that anything is possible. But, in my experience, Mac versions of Linux tools are not A) Posix compliant, B) outdated, C) don't have the exact same functionality, and/or D) Abandoned.

I use Linux because the scripts are easily moved between the cluster computers and my computers, but I suppose YMMV

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by acdha on Monday July 22, 2019 @09:20PM (#20503718)
> But, in my experience, Mac versions of Linux tools are not A) Posix compliant, B) outdated, C) don't have the exact same functionality, and/or D) Abandoned.

You’d definitely want to use Hombrew: you can get the GNU utilities instead of the BSD ones Apple tends to ship, at the latest versions, and it’s a single command to update everything.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by TheSpiceIsLife on Monday July 22, 2019 @06:48PM (#20503001)
Windows, what about PowerShell? I've not used it extensively, but have heard good things.

Or just use Python across all three platforms?

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by VeninVidiaVicii on Monday July 22, 2019 @08:32PM (#20503489)
Honestly it's not really feasible to use Python when basic Linux tools like comm, or dos2linux, which take literally just a few characters, recreating the functionality in Python would be a headache.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by TheSpiceIsLife on Monday July 22, 2019 @10:16PM (#20503924)
Yeah, I don' really know hey, I'm just a metal fabricator by trade.

My point was more generally about: surely tools exist on the different operating system to achieve similar outcomes?

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by moocowtruck on Monday July 22, 2019 @02:57PM (#20501131)
Yep, I am not a user of any of these services yet... but if I did go with one it would definitely require linux support and knowing I can trust the company wouldn't screw me. Just because the current sales are low does not mean there's no ability to make good future sales.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by munchbunny on Monday July 22, 2019 @01:04PM (#20499974)
On the one hand, that might be true, but I doubt that it's true enough in practice. Presuming competent PM's and data analysts, they've likely accounted for individuals vs. teams to begin with.

Even if they haven't and it's literally 0.1% Linux users, I think that it's unlikely a team will pivot on a sale because of a few users who insist on not using ext4. Instead, those Linux users will probably just end up creating ext4 partitions somewhere so everyone can get on with their jobs.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by michaelmrose on Monday July 22, 2019 @01:14PM (#20500102)
Storage is a commodity like toilet paper. If your preferred brand of toilet paper required you to remodel your bathroom would you do so or buy different toilet paper?
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by munchbunny on Monday July 22, 2019 @05:44PM (#20502599)
I'm not sure how your analogy works.

1. Dropbox isn't just storage. If it was just storage, it would never have taken off. The reason Dropbox makes tons of money is because it's actually selling a process. Still commoditized, but it's not as lightweight as toilet paper.

2. If you feel like creating an ext4 partition is analogous to remodeling your bathroom, I would question where you choose to hold strong opinions.

I think you have your analogy backwards. I'd happily switch out the toilet paper brand (the file system on one partition) in my bathroom (how my team and I manage shared documents) if that's what it takes to make the bathroom fit its purpose.

Besides, Dropbox didn't kill Linux support, they scaled it down to ext4, which is a perfectly inoffensive choice of file system for an end user.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by michaelmrose on Monday July 22, 2019 @06:37PM (#20502931)
Zfs has a lot of features over ext4 its not remotely equivalent.

Replacing this functionality on ext4 requires an entire stack of alternatives. Worse if you opt to use zfs and ext 4 you now need 2 complete stacks or to use an inferior set of tools to be compatible with a commodity service.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by jhoechtl on Monday July 22, 2019 @12:18PM (#20499480)
Linux users are tech-savy, know how to file bug reports ans help oberproportionally to improve a product.

May be another explanation.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by davesmith1983 on Wednesday July 24, 2019 @01:29AM (#20512568)
I would beg to differ. There are a lot of people / kids using it that don't really understand what is going on under the hood.

Also the number of bugs that get marked as Won't Fix that are real problems by upstream doesn't help so a lot of people like myself just don't bother after a while and just end up using something else or living with it being broken.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by Barrin92 on Monday July 22, 2019 @12:26PM (#20499569)
yet another explanation may be the fractured nature of the eco system. Every time I look at linux software bug trackers a good portion is distro related.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by CountSessine on Monday July 22, 2019 @01:53PM (#20500452)
This is why the right way to support linux is to solidly support exactly one and only one distro, and then let the rest conform or work around it.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by Shorel on Monday July 22, 2019 @01:04PM (#20499975)
Multiplatform code when tested tends to show more bugs than single platform code. Also, using different compilers (when it is possible) will help find obscure but real bugs.

In the end this makes the code more robust for all users, not only Linux users.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by davesmith1983 on Monday July 22, 2019 @03:42PM (#20501573)
> Multiplatform code when tested tends to show more bugs than single platform code.

Why would it make the code more robust for users on other platforms if they aren't experiencing those bugs?

Is exposing these bugs worth the extra development time? Surely just compiling with a different compiler is as likely to find bug in the compiler.

I am not saying you are wrong but you are making a lot of assumptions.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by berkut on Monday July 22, 2019 @04:01PM (#20501750)
This has been my experience as well writing cross-platform software (some of it proprietary in the past).

Because different compilers and different stdlibs do things in subtlety different ways, that may just work on one platform by chance. Memory alignment/layout is often slightly different for example.

Then IO behaviour is often quite different on Linux and OS X despite both being POSIX... (and once you need high performance or Async IO, you're using native APIs anyway).

Memory behaviour is also quite different in terms of buffering, when memory gets freed, etc - e.g. on Linux you often need some malloc_trim(0) calls to actually release recently-free'd memory), on other platforms that's not as necessary, so there are subtleties there.

Different platforms often have different includes as well (on Linux, you generally use GCC's STL/stdlib, on Windows it's a totally different set).

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by Thetawaves on Monday July 22, 2019 @11:09PM (#20504119)
Particularly around alignment - it could be that your compiler is emitting instructions that can deal with it, but in a sub-optimal way such that there is a performance penalty. On other platforms, that sort of behavior may cause a compilation failure, or the bugs they cause create bigger (and more noticeable) issues.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by davesmith1983 on Monday July 22, 2019 @04:32PM (#20502054)
I understand this. Think more along the lines of "If a tree falls down in a forest, does it make any sound if there is nobody there to hear it?". If there is a defect on Linux, but nobody is running it on Linux, is there really a defect?
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by berkut on Monday July 22, 2019 @04:35PM (#20502076)
It's quite possibly a silent bug on the other platforms as well (i.e. relying on undefined or compiler-defined behaviour that just happens to work currently).

A new compiler / OS update / graphics card driver in the future might trip the bug on the platforms it seems to be working fine on currently.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by davesmith1983 on Monday July 22, 2019 @08:03PM (#20503369)
Lets pretend a few things, because I don't think you understand what I am getting at. I have application called "Music Box", I am release version 2.0.0 and it is QA'd before release against Pear OS 7.0.

If Pear OS 8.0 is release a month later and breaks my application because of an API change their end. I would just release 2.0.1 of Music Box that fixes the defects. If I was proactive get hold of a beta or release candidate of Pear OS 8.0 and QA my application on there to see if there was any obvious defects.

The same with a newer compiler or a newer hardware driver. I would just get hold of the beta / release candidate and fix it then. The one thing I wouldn't do is try compiling it on a completely different OS that none of my users use.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by michaelmrose on Monday July 22, 2019 @01:10PM (#20500058)
If your software crashed it was probably broken to start with you just didn't know it yet.

Tickets showing actual bugs not tech support requests from people that can't read directions are valuable resources.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by tripzilch on Monday July 22, 2019 @05:43PM (#20502595)
> Relevant discussion: “Linux users were only 0.1% of sales but 20% of crashes and tickets”[1]

Might be fair to note that these numbers are for a video game, not a file syncing app. Linux is relatively new territory there, let's say when Steam started supporting it.

Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by mugsie on Monday July 22, 2019 @12:34PM (#20499668)
I wish it worked it self out with community patches - more likely is a github mega issue, with people suggesting their forks as solutions if the original maintainer doesn't reply for 24 hours, or during the UTC+8 9am-5pm window.
Re:Dropbox Brings Back Support for ZFS, XFS, Btrfs and eCryp... by geofft on Monday July 22, 2019 @11:41AM (#20499040)
Don't xattrs behave subtly differently on different filesystems? It makes sense to me to reduce the size of the testing matrix.