Slashdot Mirror


Which Filesystem Do You Use On Portable Media For Linux Systems?

An anonymous reader writes "Most people use MS filesystems on Disk-On-Keys, and portable hard drives, as these are readable from most machines. But this way you lose the files' permission information, which many times is very inconvenient (you must agree that having Ubuntu asking you whether to execute or display every text file or image you open from a DOK is annoying). Using 'regular' Linux filesystems like ext keeps the permissions, but may require using the superuser when switching machines (as the UIDs are different). So do any of you have a creative solution for this problem?"

31 of 569 comments (clear)

  1. ext3 by Dice · · Score: 3, Insightful

    I don't use OSes other than Linux, so the choice is simple. If I did have to interact with Windows or OS X I'd probably use FAT32.

    1. Re:ext3 by bluelip · · Score: 3, Insightful

      Or possibly get a stick that supports U3 on it. Put the windows drivers for reiser on the CD portion of the drive and format the storage are as reiser. Self-contained, multi-platform, permission preserving solution.

      One such example of reiser drivers for windows.
      http://rfsd.sourceforge.net/

      --

      Yep, I never spell check.
      More incorrect spellings can be found he
    2. Re:ext3 by DigDuality · · Score: 4, Insightful

      umm, the defaults (fat32 formatted keys) work just fine in every distro automatically. Gnome and KDE are great at giving a way to automount in their file managers. What's the problem?

    3. Re:ext3 by raddan · · Score: 3, Insightful

      Threads like this remind me of why Linux will never make it as a mainstream OS.

      I converted two people in my office to Ubuntu recently. One is an accountant. The other is an attorney. Both of them were shocked at how reliable and low-maintenance Ubuntu was. Both of them wanted to know why no one else knows about this. The only thing they needed help with was installing the proprietary media codecs (and I should point out all I did was send them links). They installed Ubuntu themselves, and they regularly tell me how happy they are with their computers now.

      How many people have you converted to Linux recently?

    4. Re:ext3 by selven · · Score: 3, Insightful

      Now this is something I don't understand. How do these jokes cause any harm to Reiser's wife's children or family? Every time someone makes a joke about something that, for some reason, "shouldn't be taken lightly", there are people expressing their outrage about how it was wrong to make it. Everything is offensive to someone, we should all realize that being offended doesn't harm you in any way and you can just skip over to the next comment and let people who want to laugh about something do so.

    5. Re:ext3 by mrchaotica · · Score: 4, Insightful

      This thread is not evidence of Linux being deficient compared to Windows; portable media doesn't usually have intact and correct permissions on Windows systems either! The difference here is that Linux users are pickier about the issue while Windows users, on average, don't care (if they even know about and understand the problem to begin with).

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    6. Re:ext3 by Omnifarious · · Score: 3, Insightful

      It bothers me because it hurts innocent code. The code didn't do anything wrong. The software he wrote didn't murder anybody. But now the only thing anybody ever talks about when they talk about the code is murder. The code deserves better than that.

      That sounds like a joke, and it sort of is, but it also really isn't.

    7. Re:ext3 by X0563511 · · Score: 5, Insightful

      Hah, using NTFS actually causes MORE problems for the Windows user?

      Format a usb drive NTFS, and put some files onto it. Now, attempt to use this drive on another windows machine.

      Notice anything funny about the file permissions? Heh, this is the same problem Linux has with UID/GIDs on removable media!

      Interesting how the 'correct' fix for both is to use an antiquated filesystem.

      I wonder if and when we will ever see an equivalent of FAT64, to get around file size issues.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    8. Re:ext3 by JWSmythe · · Score: 2, Insightful

      Everything is offensive to someone

      False equivalency. You've just equated Nazis and the KKK with Teletubbies in terms of offensiveness. Bravo.

          That really depends on who you ask. Ask a proud KKK member, and they'll probably say the Teletubbies. Well, after the blacks, jews, and ... well, anyone not white. I'd say ask a Nazi, but ... well ... all that's left are very old men and the "neo-nazi"'s.

          Not that I'm expressing any support or opposition for any of your selected choices. I'm just clarifying that it's all in the individuals perspective.

          As for the offense that you took towards his message, wouldn't your own statement be taking light to what the first two groups listed have done in the past? But who am I to say that a group with millions of deaths accounted towards them could be viewed wrong as a comparison to the Teletubbies, or to Hans Reiser?

          But, I shouldn't even be writing this, since you've clearly stepped into Godwin's law territory.

          [ducking from massive -100 Godwin Violation moderations]

      --
      Serious? Seriousness is well above my pay grade.
    9. Re:ext3 by Eskarel · · Score: 2, Insightful

      It was pretty mediocre code to begin with. Interesting, but not anywhere near as revolutionary in practice as people seem to think. Add to that the fact that Reiser was it's primary maintainer and core developer and it's probably not worth bothering with. Especially since SSD's are likely to change the design of file systems rather dramatically in the next few years.

      Plus, slashdot has a lot of karma to make up for all of their "just because they found his car with the seat ripped out and a huge spot of her blood in it doesn't mean he killed her, he's just misunderstood" crap they spouted when he was being tried, so a little criticism of him and his works even things out a bit.

    10. Re:ext3 by bit01 · · Score: 5, Insightful

      I hear this bullshit often, and thats what it is, bullshit.

      You're the bullshitter. Get out into the real world. There are billions of people, thousands of languages, thousands of accounting standards. Many are not supported by windows, many are in the third world where the price of windows is a deal breaker, many are conforming to standards you've never heard of, many want software they control, many detest DRM and all it stands for, and many are thinking long term and not the short-term, blinkered thinking you're professing.

      M$ marketing and people sucked in by their propaganda like to claim Windows is the only possible alternative however it's just a dishonest attempt to create a self-fulfilling prophesy.

      In reality windows is only one of a number of alternatives, nothing lasts forever, and one size does not fit all.

      ---

      I never look at alternatives because I'm going to be running the same OS for the rest of eternity.

    11. Re:ext3 by Aim+Here · · Score: 3, Insightful

      Innocent code? ReiserFS? You cannot be serious!

      I've trashed more than one Linux install (okay, two) by attempting to use reiser's own utilities to undelete some accidentally rmstarred files or other. Hang, draw and quarter the sonovabitch, that's what I say! Death's too good for him!

      Oh and apparently he killed someone. Maybe he should pay a fine for that too, or something.

  2. Well, now ... by ScrewMaster · · Score: 3, Insightful

    So do any of you have a creative solution for this problem?

    Isn't the whole point of this "problem" that there shouldn't be a solution to the problem?

    --
    The higher the technology, the sharper that two-edged sword.
    1. Re:Well, now ... by rale,+the · · Score: 3, Insightful

      How does requiring the UID to match prove any more secure than requiring a username match, for a portable drive?  If I have the drive in my hand, I can plug it into any computer I want and access it as root anyway.

    2. Re:Well, now ... by node+3 · · Score: 2, Insightful

      File permissions security isn't all that useful on removable media like it is on the boot drive (and other internal drives).

      If a drive is portable, you can bypass any security permissions by simply plugging it into a computer where you are root, or compiling your own kernel or filesystem driver to ignore permissions.

      The default behavior for external drives (esp. flash drives) should be to completely ignore ownership permissions, with the option to enforce them if you really want to. Anything more strict and you make things harder for you, but no harder for someone with their own box.

  3. I just use by Darkness404 · · Score: 4, Insightful

    I just use FAT32 because the main point of my USB drive is to transfer data between computers and provide a backup of my most important documents. To be perfectly honest I don't know why anyone would need permissions on a USB drive. Most programs on Linux are easy enough that with your .whatever directory in your home folder simply just copy that to your drive and paste it on the new machine. With APT and such most software is easily accessible (making portable binaries like on Windows needless). So why would you even need it?

    --
    Taxation is legalized theft, no more, no less.
  4. uid issue by james_shoemaker · · Score: 3, Insightful

    Ever think of just making the uid's on your various machines match?

    James

    1. Re:uid issue by dbIII · · Score: 2, Insightful

      Permissions are irrelevant any when you can assume that whoever picks the thing up by accident or theft has root or Admin on their machine.

  5. DOK by Anonymous Coward · · Score: 5, Insightful

    What? Who on earth calls it a Disk on Key?

    1. Re:DOK by spazdor · · Score: 2, Insightful

      um, RDOK?

      --
      DRM: Terminator crops for your mind!
  6. Re:I use the FAT filesystem most sticks come with by mrcaseyj · · Score: 4, Insightful
    C3ntaur wrote:

    I invite anyone who claims CO2 is not a pollutant to sit in a room full of it for 10 minutes.

    I invite anyone who claims pure water is not a pollutant to sit in a room full of it for 10 minutes.

  7. Re:Poratibility by eapache · · Score: 4, Insightful

    The Linux NTFS drivers are working well now. That's what I use on my shared partition.

  8. Re:I use the FAT filesystem most sticks come with by _Sprocket_ · · Score: 2, Insightful

    I invite anyone who claims pudding is a pollutant to sit in $240 of it for 10 minutes. Aaawww yeah.

  9. Re:I use the FAT filesystem most sticks come with by harry666t · · Score: 3, Insightful

    sofar wrote:

    >mrcaseyj wrote:
    >>
    >>> C3ntaur wrote:
    >>> I invite anyone who claims CO2 is not a pollutant to sit in a room full of it for 10 minutes.
    >>
    >> I invite anyone who claims pure water is not a pollutant to sit in a room full of it for 10 minutes.
    >
    > I invite anyone who claims pure oxygen is not a pollutant to sit in a room full of it for 10 minutes

    I invite anyone who claims pure vacuum is not a pollutant to sit in a room full of it for 10 minutes.

  10. What about UDF? by xororand · · Score: 5, Insightful

    UDF doesn't have a 2 GB file size limit like FAT32 and seems to be well supported by most operating systems. I don't really have any experience with it but I just formatted my USB stick with UDF just to see how it goes.
    mkudffs --media-type=hd --vid=MyDiskLabel /dev/disk/by-id/usb-LEXAR_JUMPDRIVE_ELITE
    It works fine in Linux.

  11. Re:Poratibility by Anonymous Coward · · Score: 1, Insightful

    So you never burn a DVD from an image? You never film or watch an HD movie? I think you're a bit out of touch with what "most users" need nowadays.

  12. How do you deal with Linux destroying file dates? by sznupi · · Score: 1, Insightful

    At least few distros I've tried does that (and a) I wasn't bothered enough yet to search more thoroughly than quick google search b) it wouldn't help much anyway, since that's apparently a default behaviour...a big problem when using flashdisks with alien machines)

    Namely, when moving files across volumes, only the modification date remained intact, with creation date being "reset" to the time of moving (essentialy it worked the same as copying and then deleting the original; and while that's what the OS is doing under the hood, it is not the intention of the user if he chooses "cut" instead of "copy")

    That's a destruction of very, very basic file attribute; almost falls under the category of destroying user data... (yes, file creation dates are not important to some of you, I get it...but they are to others)

    --
    One that hath name thou can not otter
  13. Re:Poratibility by jedidiah · · Score: 1, Insightful

    If you think that "most users" do that sort of thing then it is YOU that is woefully out of touch with what users need today.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  14. Use the same UID on both/all machines? by xiando · · Score: 1, Insightful
    From the question,

    Using 'regular' Linux filesystems like ext keeps the permissions, but may require using the superuser when switching machines (as the UIDs are different).

    It sounds to me that the Question is not what filesystem to (ab)use, but how to make the files on the USB technology appear to belong to the same (ab)user on both/all boxen. Simply give yourself the same UID on both/all boxen and you are done.
    usermod -u 1000 youruser
    chown -R youruser:users /home/youruser

    man usermod and man chown for additional information.

  15. Re:Don't be retarded, there are no alternatives by Waffle+Iron · · Score: 2, Insightful

    That doesn't mean it isn't crappy. It especially isn't "in no way crappy", as the GP post asserted.

    There are plenty of abysmal widely used "standards" we are stuck with for no other reason than the fact that everybody uses them. FAT32 is one of them.

  16. Think of the Chilluns! by Tetsujin · · Score: 2, Insightful

    Not sure I'd use Reiser - I hear it's murder on your USB drive.

    It's easy to make fun of Reiser, the murderer, but don't forget, your laughs are at the expense of an innocent woman who was brutally murdered as well as two orphaned children.

    If one cannot laugh about the bad things in life, then the world becomes a very bleak place.

    --
    Bow-ties are cool.