Reinstalling packages to get btrfs to compress the files?

I recently upgraded most of my partitions to btrfs. I turned on compression in fstab, but it will only compress newly created files, which makes sense.
Lets say I have firefox installed. If I do pacman -S firefox, I assume it will actually rewrite the files and not just skip over ones that are already there, right?
Assuming this is the case, what would be a good way to reinstall all of my packages without screwing up the dependency tree?
Maybe I'll have to do two commands:
sudo pacman -S $(pacman -Qqe)
sudo pacman -S --asdeps $(pacman -Qqd)
Does that seem right?
Last edited by pogeymanz (2013-05-01 14:09:41)

lucke wrote:Maybe adding "-l 1" to the defrag command would assure all files are acted upon.
Wow, reading the man pages reveals some handy tricks! 
man 8 btrfs wrote:
filesystem defragment -c[zlib|lzo] [-l len] [-s start] [-t size] -[vf] <file>|<dir> [<file>|<dir>...]
              Defragment file data and/or directory metadata. To defragment all files in a directory you have to specify each one on its own or
              use your shell wildcards.
              The start position and the number of bytes to defragment can be specified by start and len. Any extent bigger than threshold will
              be considered already defragged. Use 0 to take the kernel default, and use 1 to say every single extent must be rewritten. You
              can also turn on compression in defragment operations.
Edit: Width formatting...
Last edited by WonderWoofy (2013-05-01 14:56:50)

Similar Messages

  • My IPod no longer shuffles songs within playlists that are clearly set to shuffle.  It is about 3/4 full so I thought of maybe compressing the files to get more space.  Do you think that is the problem and if that might help?

    My IPod no longer shuffles songs within playlists that are clearly set to shuffle.  It is about 3/4 full so I thought of maybe compressing the files to get more space.  Do you think that is the problem and if that might help?

    Storage space on the iPod would not affect shuffled playlists or playlist shuffling, though substantially full iPods may wind up skipping songs on larger playlists after a while, and require a restart.  As for compressing the files themselves, you can automatically re-encode files to a lower bitrate by checking the box on the summary page when your iPod is connected to your PC/Mac.
    As for the shuffle problem, after restarting your iPod (hold the center button and Menu for a few seconds, until the Apple logo appears), make sure you're telling the iPod to shuffle the songs in a playlist by repeatedly clicking the center button until the Suffle Menu comes up, then scroll to the right to turn it on.  From that song forward, the playlists' contents should be shuffled every time the playlist ends, or is accessed from a new song.
    Shuffle does sometimes turn itself off, I've found, so double-check the setting is still on.  Also, iPods shuffle by randomly assigning a playlist order for your songs, which is different from traditional shuffle (on, say, iTunes or Windows Media Player, where the new song is determined at random upon the current track ending.  The iPod only chooses a random order of songs when you shuffle, to conserve battery life and queue up songs coming up on the playlist in the event of a shock).

  • I own a website and my customers download zipped files. Until yesterday everything worked great. All of the sudden they are getting a message that the file is invalid or corrupt. This does not happen in Chrome.

    I own a website selling digital files. My customers receive an email after they place their order with a download link. Up until yesterday (for the past 3 years to be exact) everything worked smoothly. I have not changed one thing on my site or cpanel. Now customers get an error that the file is invalid or corrupt when they try and download with firefox. The links work fine with chrome. Please tell me there is a solution. This is causing major trouble!!!

    You can get a "Corrupted Content Error" error if there are multiple location redirects send via the HTTP response headers.
    *http://www.mozilla.org/security/announce/2011/mfsa2011-39.html
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=681140 bug 681140] - Corrupted Content error due to multiple Content-Disposition header field instances
    A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • How do I convert an excel (2008) document to Numbers?  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid"

    How can I convert an Excel (2008) document to Numbers.  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid.

    That extension identifies the most current Excel file format, a format that can be opened by Numbers '09 (and by Numbers '08).
    A check with Numbers '09 shows it capable of opening .xlsx files when right-clicked (and Numbers chose as the application to open, when double-clicked (if Numbers has been set as the default application to open this type of file, or when dragged to the Numbers icon in the dock.
    I see two possibilities for Numbers inability to open it and the message you receive:
    1. The file is not actually an Excel file, and the sender has added the .xlsx extension to the filename manually.
    2. The file is an Excel file, but has somehow been corrupted.
    Have you tried opening the file with a different application? The open source Office suites, OpenOffice.org, LibreOffice and NeoOffice can also open .xlsx files. If they're unable to open this one, that would point toward the file itself being faulty. You can download these applications from their rspective websites, linked in the names above. All request a donation to support future development, but only Neo requires one to have been made recently, and that only for the current release (which won't be necessary to open .xlsx files).
    Regards,
    Barry

  • My mac will not copy more than one file at a time and gets locked up if the file is too large, my mac will not copy more than one file at a time and gets locked up if the file is too large

    my mac will not copy more than one file at a time and gets locked up if the file is too large, my mac will not copy more than one file at a time and gets locked up if the file is too large

    So now that you have repeated the same thing three times that doesn't make things any clearer at all.
    You are copying files from where to where?
    How are you attempting to copy files, software or click and drag?
    Any other detail would be helpful.
    Allan

  • HT3345 How do I open a password protected excel file created on a PC?  I get a message that the "file is encrypted and can't be opened"

    How do I open a password protected excel file created on a PC in numbers 09, on a MacBook Air?  I get a message that the "file is encrypted and can't be opened"

    This is actually not true; I support users who are doing this w/ Excel 2011 (v14.2.2+) for Mac and Windows users w/ Excel 2003 & 2007.  Win users are from finance dept, and who have pasword-protected various budget files.  The Mac users are (surprise) "creative" users, who enter pw to unlock and edit these budget files.
    These files are shared from a Mac server (running 10.6.8 server), and I do have an erratic problem where all users have read-only access to these pw-protected Excel files.  The manual work-around has been to copy the troublesome file(s) and confirm users have full access again.  I also do a shuffling of filenames, so that the new, working file has original file name.
    FYI: the Mac server POSIX and ACL permissions are correct, and don't appear to be source of the problem.
    It's easy an SMB file-locking issue or concurrent users trying to edit these files.  I keep reminding them that Excel is not a database!

  • My audio files no longer sync to the in the 5d in camera audio. It did when I bought the program but no longer does  I reinstalled and it still will not sync the files recorded on the H4N with the Canon 5D Mark Ii

    My audio files no longer sync to the in the 5d in camera audio. It did when I bought the program but no longer does  I reinstalled and it still will not sync the files recorded on the H4N with the Canon 5D Mark II  Camera. 
    The program used to import and transcode the Can 5D footage but no longer does.   The program freezes often and looses my projects as well.  Hard to make a living when your editing program is on strike!

    My audio files no longer sync to the in the 5d in camera audio. It did when I bought the program but no longer does  I reinstalled and it still will not sync the files recorded on the H4N with the Canon 5D Mark II  Camera. 
    The program used to import and transcode the Can 5D footage but no longer does.   The program freezes often and looses my projects as well.  Hard to make a living when your editing program is on strike!

  • When i send a file over iChat to another mac it compresses the file, where is this compressed file stored?

    Today i was transfering a few folders with pictures and videos over to another mac and I noticed that before i sent the file iChat would compress it.  Now this is understandable because they were fairly large files, over 2GB, and this would make them transfer faster.  The problem is that I was transfering the files because my mac is low on hard drive space and I was trying to free some up.  By compressing the files first it was using up more space on my hard drive and I quickly cancelled the compression.  I soon realized though that my hard drive space was still disappearing into thin air. I only had 6GB left and was running out fast.  As it reached 2GB I began to quickly delete large files I no longer needed hoping that I wouldn't run out of space. It dropped all the way down to 12.4MB before it finally stopped, even with me deleting files.  I'm not quite sure what was happening to all of my hard drive space, but was wondering if maybe iChat continued to compress the files even after I cancelled the compression.  Anyways if anyone knows why this happened or where iChat stores the files it compresses that would be greatly appreciated.

    Hi,
    I have heard of this before.
    One report suggested it was only PDF files their case.
    I cannot replicate it with any pic files (Over 2Gb) PDF or otherwise or files and folders combos.
    My tests were from Lion/iChat 6.0.3 to Snow Leopard (iChat 5.0.3)
    I would have thought iChat would have created the Zippped/Stuffed files in the same folder as the original items
    (i.e pic in the pictures folder (or relevant subfolder) and other files and documents in the Documents folder.
    With any application that does Stuffing/Zipping it will create temporary space for doing so.
    Much like the way a graphics app creates a Scratch file to keep the 20 or so Undos it works with.  (with graphic Apps you can make the Scratch file on another Drive if you have one which can help)
    Do this:-
    with iChat Open go to the Window Menu.
    Select the File transfers item
    In this Window (that pops up) select the File that was going to be Transferred.
    When it is highlighted then do a Right-Click or Control Click and select the option to Show in Finder
    Does it list the zipped file ?
    10:21 PM      Friday; February 10, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • When I try to play some of the songs in my itunes library, I get a prompt saying the file could not be used.  When I hit the "locate" button, it still won't locate the file.  I didn't delete any of these tracks and there is no common link between them.

    When I try to play some of the songs in my itunes library, I get a prompt saying the file cannot be used.  When I hit the locate button, the file cannot be found.  I didn't delete any songs/files and there is no common link between the missing songs.

    Hello there, Paso Kid.
    The following Knowledge Base articles provide some assistance with locating content in your iTunes Library:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    and
    Where are my iTunes files located?
    http://support.apple.com/kb/HT1391
    If you have already reviewed those steps and still cannot find the songs you purchased from iTunes, delete the songs and download them again using the information in this article:
    iTunes 11 for Windows: Download previous purchases from the iTunes Store
    http://support.apple.com/kb/PH12491
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I have been working on the same numbers file for the past few weeks.  The last time I opened it was 1 week ago.  Today when I tried to open it I am unable and getting a message that the file is invalid and the index.xml file is missing.

    I have been working on the same numbers file for the past few weeks.  The last time I opened it was 1 week ago.  Today when I tried to open it I am unable and getting a message that the file is invalid and the index.xml file is missing. 

    Hi Tracie,
    I upgraded to Maverick OS X 10.9.5, numbers spreadsheet is saved. Upon re-opening, it appears to be frozen, a warning "file is invalid as index.xml file is missing". I checked, and the file is not "locked". This appears to occur only with using the new numbers app. When I open previous spreadsheets from old iWorks, no such problem occurs.
    How did you resolve your problem?
    Would appreciate any help here.
    Thanks,
    Deehay

  • To run iTunes in 64-bit mooose the "Get Info" command in the File menu, and uncheck the "Open in 32-bit mode" checkbox in the iTunes Info window. but i doesn't have the tick thing plus i redownloaded it a

    To run iTunes in 64-bit mode, select the iTunes application in the Finder, choose the “Get Info” command in the File menu, and uncheck the “Open in 32-bit mode” checkbox in the iTunes Info window. but i doesn't have the tick thing plus i redownloaded it again and same message comes up

    Have you disclosed the "General" brick in the "Info" panel? Click the disclosure triangle to the left of "General":
    What is your iTunes version and MacOS X version?
    -- Léónie

  • Compress the file in Background when sending as an email.

    Hi All,
    Is there any way to compress the file in Background when sending as an email.
    Thanks in advance

    I haven't been able to find a solution to this so I am either going to incorporate my data into the body of an email or look at an http post solution...

  • Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec that was used to compress the file

    Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec that was used to compress the file
    How do I fix this?

    That would probably be a question best taken up in on a site for Windows support questions. Not knowing anything about the movie you're trying to play, all I can suggest is to confirm that the format of the movie you wish to play is supported in your version of WMP. If it isn't, you'll either need to convert the movie or use some other player software.
    Regards.

  • Getting "Can not open the file due to unknown error(FRM:0007)"

    Getting "Can not open the file due to unknown error(FRM:0007)", when refreshing the local copy of Deski report  from user docs.
    Any assistance
    Thanks,
    Sasi.

    Hi Sasi,
    One of the reason for this error is corrupted universe.So you can try following steps and restore copy of universe and then try to import this universe and check whether it works.
    1.While importing a universe, a temp file is created in the users local settings temp directory.
    2. For example C:\Documents and Settings\brijones\Local Settings\Temp\0dd0b0a7 .
    3. File has no extension is relatively the same size as the original universe file.
    4.Rename this file to original universe name.
    I hope it helps.
    Regards,
    Snehal

  • When I try to install file 1 of 2 for premier elements 9 I get an error. The file archive archive part is missing.

    When I try to install file 1 of 2 for premier elements 9 I get an error. The file archive archive part is missing.
    Can anyone help?

    Sharky101
    From where are you downloading these Premiere Elements 9 installation files....Adobe direct or from another web site?
    Please start again. If you did not already, turn off the antivirus and firewall(s) before starting with File 1 and then File 2.
    File 1 should be the Adobe Application Manager or its counterpart (.exe file), and File 2 should be the program (.7z file).
    If you have not tried it already, consider the following link from which to obtain your installation files for 9.
    http://prodesigntools.com/photoshop-elements-9-premiere-elements-9-direct-download-links.h tml
    These are tryout files into which you insert your purchased serial number during installation in order to make the files your copy.
    Please remember - after the install of Premiere Elements 9, download and install the 9.0.1 Update
    for Windows
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4929
    for Mac
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4930
    Please let us know if you are OK with the above information.
    Thank you.
    ATR

Maybe you are looking for

  • How do I delete photos that were added to my iPhone4, when I synced  it to my desktop?

    How do I delete photos that were added to my iPhone when I synced it with mt iMac?

  • Soainfra is not coming up

    Dear Legends, Please help me on bringing up the soainfra Environment Details OS : OEL 5.8 64bit WEBLOGIC : 10.3.6 SOA : 11.1.1.6 RCU : 11.1.1.6 DB : 11gR2 RAC 1 Adminserver 2 Managedservers - soa_server1 and soa_server2 Errors so for ======== <Mar 14

  • Upgrading to 3.0 or 3.2 GHz processors - is it worth it?

    I'm looking at purchasing a Mac Pro, as I am in need of a solid, high performance desktop machine that can burn through large photo and video editing tasks. These include editing video (currently SD, soon to be HD) in Final Cut Express, encoding/tran

  • Burn issue

    I am trying to burn a cd but I keep on getting an error...#4450.  Help!

  • Stock in alternative unit of measure

    Hi experts,                  I have problem regarding tools stock, I want to see stock of such material in alternative unit of measure in transaction MB52. Is there any settings for such option in MB52? Regards, Rakesh