No announcement yet.

Testing Out Linux File-Systems On A USB Flash Drive

  • Filter
  • Time
  • Show
Clear All
new posts

  • #16

    I wish they had specified what options were used, as there are several journalling options for the journalled fs used, and I am too lazy to go dig up the options for the os they used. I'd have like to have known if they used the ssd option for btrfs, also, I think Reiser4 (amazingly enough, people are still working on it) with it's wandering logs would have been a nice addition. UDF would be good too, for those of us who want out of the box portability.


    • #17
      Originally posted by rehaby View Post
      I would have liked to have seen ext2 and ntfs
      I second to that.


      • #18
        Originally posted by Apopas View Post
        I second to that.
        Doesn't ntfs use a journal as well? If so then as its hard to disable the journal on ntfs, it would be a poor choice for a filesystem for a flash drive or an SSD
        Last edited by DeepDayze; 11-12-2009, 10:30 PM.


        • #19
          Why did sqlite suddenly perform so well on ext4? sqlite has sucked hard from 2.6.31 and back on ext4.

          Is it because this is 2.6.32? or are barriers turned off? or some other mount option? I'd really really like to know.



          • #20
            I have a Class 10 SDHC card and it is slow as hell on Ubuntu 9.04 ext2.
            Problems are cron jobs, the apt-database or access to its cache by Firefox 3.5. I've thought it would easily outperform my slow 1,8" hdd but I was wrong.


            • #21
              Originally posted by Ant P. View Post
              Using a general-purpose Linux filesystem with permissions kind of defeats the point of a removable USB drive IMO.
              Interesting... Back when I first got a USB thumb drive, I readily went on and formatted it as ext3, and sure enough, even though I almost exclussively use Linux, the problem is then that not always and not on all systems do user ID numbers match, so if I made the drive owned by "the primary" user on my distribution of choice, which sets the UID for the first user created as 500, and then moved to another computer where I had also an account (with a different UID), then I couldn't write to the drive, or (some times) even access my data. Since then I thought time and time again on how could this be improved, and some of the solutions I came up with though feasible are not precisely secure (not that an NTFS or FAT formatted thumbdrive is any more secure, though):
              1. First, change the perms on the unit to ugo+rwx, so at least every single account on the array of Linux systems can access and write to it.
              2. Second, change the default umask so that new files have the o+rw octect allowed (000)
              This is only a workaround, as better integration would be much better, and instead of making these changes to the filesystem as such, have some sort of USB meta-mode for mkfs (to set the necessary perms on the filesystem, except for "lost+found") and for the distributions to be able to recognize volumes mounted on the USB-interface and mount them with a "permissive" umask... I've never been able to fully implement these and as such currently I end up using the default FAT as the format, but it sure would be much better to use superior filesystems than FAT (at the cost of "Windows portability", though)


              • #22

                Originally posted by BlackStar View Post
                I've been running Ubuntu for about 8 months a cheap 8GB Transcend USB stick. EXT4 all the way, with journalling. Just four tweaks: no swapfile, /tmp is tmpfs, disk elevator is none and no browser disk cache.

                This stick is very slow in random writes but pretty fast in random reads. I wouldn't say no to a better stick (Cruizer, SanDisk or Voyager GT), but the Transcend one works too for my day to day needs (programming, movies and a games like Diablo 2, Starcraft or World of Goo.)

                No "wear and tear" to speak of (my data is backed up online so I'm not worried) and the stick is absolutely silent! Boots up quickly, too.
                Hello sir,

                I want to learn how to put ubuntu on a flash drive formatted ext4. Can you cite some links where I could read a tutorial or any?