Root.sh location in Windwos

Hi,
Where the Location of the ROOT.SH in the Windows 2008R2
I'm sorry if the Q is not good like your Q -----> i'm not professional
thanks for all

sami wrote:
Hi,
Where the Location of the ROOT.SH in the Windows 2008R2
I'm sorry if the Q is not good like your Q -----> i'm not professional
thanks for allfor windows no need to run root.sh ---> sh shell script is fro *nix(linux,unix) platforms only not for windows , for windows hosts entry with registry will run internally by oracle during installation.
shell script equivalent in windows is batch jobs(*.bat file).
running root.sh at the end of the installation in *nix environment i
After you have successfully installed the oracle, the Oracle Installer prompts you to run root.sh.
root.sh, which is a shell script, updates/creates an oratab file. The oratab file is a list of all services to be discovered by the oracle. For each database created, the entry is of the form: <SID>:<$ORACLE_HOME>:[Y/N]
refer oracle installation guide for more information regarding root.sh file

Similar Messages

  • Can I move a subpage to the root page location?

    The default homepage of our exisiting portal users is the page group root page. We have designed a new page that we wish to use as the root page. This new
    page is current a subpage within the page group.
    How can I copy or move this
    subpage page so it replaces the root page?
    Portal 9.0.2.3
    Thanks,
    Paul

    hi paul,
    you cannot replace the root page since this is a very special page in portal that is the container for all the content held in a page group.
    you can of course move around pages and page structures within a page group. if you need to change the default homepage of your users/groups you can do that in the profile settings of theses users/groups and just point to the page that you want to use as your new homepage.
    another solution is delete the content from your root page and use list view for bulk copy/move of items to the root page from your sub-page.
    there are several solutions to this.
    regards,
    christian

  • SQL Server 2008 R2 Installation Media Root Directory location for XP SP3?

    Where is the SQL Server 2008 R2 Installation Media director?  This question asks during a 'new installation or add features to an existing installation'.  The installation media root directory is not indicated under 'options'.  I trying side-by-side
    installation next to SQL Server 2008 Express Edition. 
    It appears that C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2 (where 1033_ENU_LP, Resources, and x86 dirs are installed) is the installation media root directory, but is is not a valid folder. 
    Also tried copying the 1033_ENU_LP, Resources, and x86 dirs from the C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2 into a directory that I created in c:\2008R2installationDir, and then running setup.exe, but still do not have
    an installation media root dir specified under options.

    There is no DVD; SQLServer2008R2SP2-KB2630458-x86-ENU.exe was downloaded.  This problem occurs when setup.exe is run, after running *ENU.exe to download the files.  Specifying the directory where the
    SQLServer2008R2SP2-KB2630458-x86-ENU.exe doesn't help. 
    >>It doesn't seem like any instances have been installed, yet.  Nothing shows up under Administrative Toos | Services.  Under Start | Microsoft SQL Server 2008 R2 , there are two choices:  Configuration Tools and Documentation&Tutorials.
    Hello,
    What seems to me that you have downloaded SP2 for SQL server 2008 R2(SQLServer2008R2SP2-KB2630458-x86-ENU.exe ).And as you say you dont find any thing under SQL 2008 r2.So i guess that is why SP2 installation is not moving
    ahead.Can you download SQL server 208 R2 setup again and install database engine and ither fetures with client tools.And then you can move ahead with SP2 installation
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Where are root certificate located in OS 10.6.8?

    I have been using Outlook for my mail, as Mail has dropped several attachments and does not seem to be as reliable.  However, I am receiving error messages informing me that the root certificates for my .me account are not trusted.  I accessed Keychain after downloading certificates from the Apple website, but I was not allowed to drag them into Keychain.  When I attempted to open them, nothing seemed to happen to the list that was there.  Does anyone know how to resolve this "untrusted certificate" issue?

    You have probably figured this out by now, but I had trouble with this also.  I figured it out by first quitting Safari, then going to the folder mentioned by Niel (Choose Go to Folder from the Finder's Go menu and provide ~/Library/Safari/ as the path). 
    Once that folder is opened, leave it open and then enter Time Machine.  It will open up to that folder and then go back to your backup you want to restore from and restore the bookmarks.plst file. 
    That worked for me anyway and was a huge save after an iCloud mistake!
    Shawn

  • Classpath root for locating properties file?

    I'm trying to read a property file from a pluggable Reports destination. I've tried placing it in the domain root and in the domain lib folder (I'm sure it was picked up there in a previous release) but I can't appear to find it.
    What is a general classpath root that could be used for storing properties files in?
    Thanks in advance,
    Nik

    Open your %DOMAIN_HOME%/server/AdminServer/logs/AdminServer.log and search for java.class.path.
    You'll see all classpath roots available, I'm using %DOMAIN_HOME%/config/soa-infra.
    Cheers,
    Vlad

  • Location of KM content root

    Hi,
    i am wondering where on the SAP backend the root is located for the KM content.
    In portal go to content administration then KM content . In the right hand frame a directory structure appears under root.
    I need to know where this root is located since I need to ftp files to subdirectories in the root.
    Is this under the PCD, portal content directory? Or is it deep in the j2ee/cluster/server0 etcetera directories?
    Or should I look for the answer looking at the repository managers?
    I'm a bit stumped on this one
    thanks
    Tom

    Hello Tom,
    The root directory is not located on the file system, it is a preconfigured repository that is located in the DB so you cannot navigate to it in the portal filesystem.
    http://help.sap.com/saphelp_nw70/helpdata/en/a1/dd710631094157908461a1ae471a8c/frameset.htm
    Depending on the repository managers you want to ftp to, you may for example be able to do this for FS or FSDB repositories.
    See the following documentation on the different repositories available:
    http://help.sap.com/saphelp_nw70/helpdata/en/62/468698a8e611d5993600508b6b8b11/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/frameset.htm
    You can also use portal Drive or web folders to transport large amounts of content to these repositories.
    http://help.sap.com/saphelp_nw70/helpdata/en/42/c99b91341a6bade10000000a1553f6/frameset.htm
    Regards,
    Lorcan.

  • Unknown variable or property name 'ReportFilePath'. Error accessing item 'Runstate.Root.Locals.ReportFilePath'. in TestStand

    Hi all.
    I was using Teststand 4.2 up to last week and upgraded to TS 2013. In 4.2 I was using the following to get the location of the teststand report:
    Runstate.Root.Locals.ReportFilePath
    but with TS 2013 this no longer works.. is the following error:
    Unknown variable or property name 'ReportFilePath'.
    Error accessing item 'Runstate.Root.Locals.ReportFilePath'. in TestStand - Get Property Value (String).vi->
    I've tried the following now with no success:
    RunState.Root.Report.Location
    So my question is how can I get the location (path) of the report file during test programmatically please?
    Please find enclosed a screenshot of the report config:
    Solved!
    Go to Solution.
    Attachments:
    TS_ReportConfig.png ‏42 KB

    Shashidhar,
    Thanks for your help! With your tips, I finally got it to work. For anyone else trying to modify report names based on user input after the sequential process model sets the file name path I will re tell what I did:
    Edit the Ni_RerportGenerator.seq plugin found in C:\Program Files (x86)\National Instruments\TestStand 2014\Components\Models\ModelPlugins\
    You go into this file and add the step higlighted in Blue at that same location. Please see the expression I typed in the expression box. Setting Parameters.ReportOptions.NewFileNameForEachUUTStatus to true forces re-evaluation of the report name at the end of the sequentialmodel.seq.
    Then you add a FileGlobal in the sequenatialmodel.seq. I called my FileGlobal ReportFileName
    Then I added an expression in my test sequence that modified the the new FileGlobal I created:
    Finally I updated the report options (Go to Cofigure>Report Options > Report File Pathname and under File/Directory Options select "Specify Report File Path by Expression" and I entered my expression. It appears that you can disregard the evaluated report file path error (box below) because your pathname won't be generated until run-time.
    This worked well for me hopefully it will for others. 
    Thanks,
    Marco

  • Writing vals in characteristic of $PARENT or $ROOT of configurable material

    Hi,
    I'm trying to write some values on a characteristic of the $PARENT and $ROOT elements located in the tree of the BOM for a configurable material.
    But, if i try to define something like this in a procedure dependency :
    $ROOT.Total_price = $SELF.Price
    i get an error saying: "Syntax error in simple action/procedure".
    On the other hand, if i write this other code:
    $SELF.Price = $ROOT.Price
    it works OK.
    So, it seems that it not possible to write values on the characteristics of $PARENT or $ROOT directly in a dependency.
    Can someone give any idea to write vals in a characteristic of the $ROOT or the $PARENT inside a dependency, please?
    Thanks in advance,
    Juan Carlos

    Hi again,
    I'm going crazy with this problem. No idea?? Help, please
    Thanks,
    Juan Carlos

  • Logs are generating with owner and group as 'root'

    Hi,
    In our newly installed and configured Oracle application server(10.1.3.5), the logs are generating with owner and group as 'root'.
    Location: $ORACLE_HOME/Apache/Apache/logs
    -rw-r----- 1 root root 6700 Apr 3 02:03 access_log.1364947200
    -rw-r----- 1 root root 430 Apr 3 02:04 error_log.1364947200
    We have configured it on port 80. For this the '.apachectl' ownership and permissions are changed as below:
    -rwsr-s--- 1 root dba 1703780 Jul 21 2009 .apachectl
    Kindly let me know what are the changes to be made, for the logs to be generated with the group as 'dba' instead of 'root'.
    Thanks.
    Edited by: 985284 on Apr 3, 2013 3:14 AM
    Edited by: 985284 on Apr 3, 2013 4:22 AM

    Ok - that is quit weird then. If you want to run the HTTP Server on a privileged port, you basically change the ownership of the .apachectl executable :
    cd ORACLE_HOME/Apache/Apache/bin
    chown root .apachectl
    chmod 6750 .apachectlas per [url http://docs.oracle.com/cd/B25221_05/core.1013/b25209/ports.htm#CIHJEEJH]documentation.
    Your user and group directive should be set to :
    User oracle
    Group dbaUpon starting, the http server would start as root and then switch the effective userid of the process from root to oracle. In the process list (ps -ef | grep httpd), you should see oracle.
    Do you have the same configuration and what do you see in the process list?

  • Locating correct template file

    Hello,
    I am editing a web site that someone else created a few years ago.
    On the HTML pages there is greyed out code. I understand this is code coming from a template?
    At the top of each HTML page is a line that I would assume points to the template:
    <html><!-- InstanceBegin template="/Templates/amhotel_new.dwt" codeOutsideHTMLIsLocked="false" -->
    In the folders that host this site, there are three subfolders (one in httpdocs, one in public_html and one in www) called Templates/ with a file called amhote_new.dwt
    I have tried updating all three files, and uploading them - but the items I am trying to change remain the same.
    Is there something I need to do, to 'refresh' the greyed out code within an html page?
    Thanks in advance
    Amber

    >I have no idea if the site is properly define in DW? Not really sure what that means.
    The very first step when working with DW is defining the site in the site manager. Most importantly, it means setting the local and remote root folder locations.
    >The Templates folder is in the www folder.
    This is almost certainly incorrect. If you've set the local root directly to C:\Users\Amber\Documents\AMHWebsite then the Templates folder MUST be located at C:\Users\Amber\Documents\AMHWebsite\Templates
    There is no reason for you to even have a local www directory.
    Next, check your remote site definition. The root folder should be set to either httpdocs, public_html or www. Check with your host if you're not sure. Once it's set correctly, when you view your remote files in DW you should not see any of those directories. You should only see the files and folders of your public site.

  • Root copied at ~/mounted. How? And how to remove safely?

    My root is located on a btrfs volume labeled "aroot" in subvolume "aroot/arch". My user directory (~) is located on the volume "raid1" in subvolume "raid1/nstgc5". I noticed this when my daily back up script was copying way too much, which is a different issue (my OS installation should not be 22 GB), and found that indeed it was copying from the subvolume, not / since only those thing which are in the subvolume are present on ~/mounted.
    My first thing to check was /etc/fstab. Nope, nothing there.
    Next I searched through 5000 lines of journalctl for "mounted" but found only two instances and neither of them were related.
    After that I checked my snapshots to confirm that (1) it was not present yesterday and (2) if the snapshot also has this "copy" of my arch installation, which is not quite the same as /. Both turned out to be "yes" in the sense that this is a new thing since yesterday's run of the back up script (which runs btrfs sub snap and rsync), and that I have a second copy of my arch installation.
    And lastly, I ran "cat /var/log/pacman.log | tail" and compared it to "cat ~/mounted/var/log/pacman.log |tail". What this shows is that it is a copy, and not any sort of reflink, hardlink or what not. Or at least that's what I think.
    My two questions are then, how did this happen, and what is a safe way to fix it?

    First of all I really dont understand people who insert any NOT compatible cards into the slot and dont check the slot properties.
    You can damage the slot using a not compatible card!
    Why didnt you check the user manual which is always preinstalled on your notebook?
    There are all details about the compatible cards.
    However, I really dont know if you will be able to remove the inserted card but maybe you could use tiny pair of tweezers
    Note; don't open the notebook. This would cancel the warranty. The best solution is to ask the notebook technician for the help...
    good luck

  • How can I use mySQL with OC4J

    Hello,
    I have standalone OC4J and I want to use mySQL database (Oracle is no problem). My data-sources.xml for application (not global data-sources) is:
    <data-sources>
    <data-source class="com.evermind.sql.DriverManagerDataSource"
         connection-driver="org.gjt.mm.mysql.Driver"
         ejb-location="jdbc/MG_DBDS"
         inactivity-timeout="30"
         location="jdbc/MG_DBCoreDS"
         name="MG_DBDS"
         password=""
         pooled-location="jdbc/MG_DBPooledDS"
         url="jdbc:mysql://127.0.0.1:3306/test"
         username="root"
         xa-location="jdbc/xa/MG_DBXADS"/>
    </data-sources>
    Deploy return me:
    Error initializing data-source 'jdbc/MG_DBCoreDS': DriverManagerDataSource driver 'org.gjt.mm.mysql.Driver' not found
    Then I run this command:
    java -jar %OC4J_HOME%\admin.jar ormi://192.168.1.14:23791/ admin heslo -application Register -updateDataSource -oldLocation jdbc/MG_DBCoreDS -jar mysql-2.0.11-bin.jar
    this action is success and create in OC4J folder lib with jar file mysql-2.0.11-bin.
    When I use this configuration in application, I get connection but creating Statement cause SQL Exception - No suitable driver.
    When I try to restart OC4J, I get the same message as throught deploy - Error initializing data-source ...
    What is go wrong???? Could me help anyone?
    Thanks
    Libor

    pooling solution:
    1) put driver mysql.jar into any directory wich described in OC4J application.xml file like
    " <library path="D:\j2ee\home\lib">jdev-generated</library>"
    2) put a new datasource in data-sources.xml:
    <data-sources>
    <data-source name="MySqlDS"
    location="jdbc/MySqlDS"
    class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource"
    max-connections="100"
    min-connections="5"
    inactivity-timeout="200"
    wait-timeout="10"
    username="scott"
    password="tiger"
    url="jdbc:mysql://localhost:3306/oln?useUnicode=true"/>
    </data-sources>
    OC4J needs a special pooling class in comparision with other containers. For example, JBoss has own implementation of pooling broker, so pooling is enabled by default.

  • How can I cleanly reinstall all Safari?

    My wife is having lots of issues with Safari on her iMac. Tabs don't open when told in preferences to do so, they only open a new window and display nothing but a blank page (I've even tried the command line tricks to fix this, it works once and then it fails again). She has pages that won't load for no apparent reason and my PC and Mac work fine, among other odd issues.
    I used +locate -i+ after a /usr/libexec/locate.updatedb as root to locate any file on my mac that had the word Safari in it. I then did a rm -rf on all of those files and reinstalled Safari. We still get the same issues.
    Am I missing something else? I'd like to completely remove Safari and reinstall. As a last resort I will install the OS over itself but I can't afford a clean install at this point because I can't back up her home directory right now. They only thing I'm backing up is her bookmarks.

    Hi,
    Try troubleshooting the Safari .plist file.
    Quit Safari (Commadn + Q)
    Open a Finder window. Select your Home Folder in the Sidebar on the left. It has a small house icon. Then open the Library folder then the Preferences folder.
    Move the com.apple.Safari.plist file from the Preferences folder to the Desktop.
    Now launch Safari. See if that makes a difference.
    And empty the Safari cache more often. Command + Option + E
    Check Safari / Preferences - Extensions. Might be an Extension causing the problem.
    And if nothing above has helped, try troubleshooting third party Safari add ons.
    http://support.apple.com/kb/TS3230?viewlocale=en_US
    Uninstalling and reinstalling Safari doesn't always help.
    And login to another account. Try Safari there. Same behavior then check the startup disk for errors.
    Click here: Then click: *Try Disk Utility*
    http://support.apple.com/kb/TS1417
    Carolyn

  • [SOLVED] How to get sudo and kdesu to honor my user password?

    Hi folks,
    Well, I must be missing something. I think I've tried everything listed here https://bbs.archlinux.org/viewtopic.php?id=143487 and in the referenced links, but I still have the problem of my system rejecting my password for some uses of sudo and kdesu but not others.  I've included my /etc/sudoers file below.
    My problem may be due to screwing around with users:  I started out using bruce (1000), then switched to bbraley (1001), then deleted bruce in kusers, then changed bbraley to 1000. When that created more problems without solving the original one, I switched back to 1001.  I've played with adding and removing my user from groups, including creating a sudo group, making sure I am a member of wheel group, etc. 
    What seemed to be everyone's magic fix,
    pacman -S pambase
    didn't work when I tried it successfully with my bbraley password, then later, when that began failing, using the root password. pambase reinstalls, but there is no resulting change in the behavior of sudo.
    Side question: Most of my experience is with kubuntu in which I never created a root user and never had any trouble having my user password work with sudo or kdesu. Is there a reason Archwiki beginners guide suggests assigning a separate root account and password?
    Can anyone help?
    Here's the output of
    groups
    root adm disk wheel log locate network video audio optical storage scanner power users nm-openconnect systemd-network bbraley sudo sddm
    Here's the output of
    cat /etc/group |grep `id -un`
    root:x:0:bbraley
    adm:x:4:root,daemon,bbraley
    disk:x:6:root,bbraley
    wheel:x:10:root,bbraley
    log:x:19:root,bbraley
    locate:x:21:bbraley
    network:x:90:bbraley
    video:x:91:bbraley
    audio:x:92:bbraley
    optical:x:93:bbraley
    storage:x:95:bbraley
    scanner:x:96:bbraley
    power:x:98:bbraley
    users:x:100:bbraley
    systemd-network:x:193:bbraley
    nm-openconnect:x:104:bbraley
    sddm:x:619:bbraley
    bbraley:x:500:
    sudo:*:501:bbraley
    Here's what
    ls -l /etc/sudoer
    yields:
    -r--r----- 1 root root 2948 Mar 22 07:25 /etc/sudoers
    And here's my sudoers file:
    ## Defaults specification
    ## You may wish to keep some of the following environment variables
    ## when running commands via sudo.
    ## Locale settings
    # Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
    ## Run X applications through sudo; HOME is used to find the
    ## .Xauthority file. Note that other programs use HOME to find
    ## configuration files and this may lead to privilege escalation!
    # Defaults env_keep += "HOME"
    ## X11 resource path settings
    # Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
    ## Desktop path settings
    # Defaults env_keep += "QTDIR KDEDIR"
    ## Allow sudo-run commands to inherit the callers' ConsoleKit session
    # Defaults env_keep += "XDG_SESSION_COOKIE"
    ## Uncomment to enable special input methods. Care should be taken as
    ## this may allow users to subvert the command being run via sudo.
    # Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
    ## Uncomment to enable logging of a command's output, except for
    ## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
    # Defaults log_output
    # Defaults!/usr/bin/sudoreplay !log_output
    # Defaults!/usr/local/bin/sudoreplay !log_output
    # Defaults!REBOOT !log_output
    ## Runas alias specification
    ## User privilege specification
    root ALL=(ALL) ALL
    ## Uncomment to allow members of group wheel to execute any command
    ##%wheel ALL=(ALL) ALL
    ## Same thing without a password
    %wheel ALL=(ALL) NOPASSWD: ALL
    ## Uncomment to allow members of group sudo to execute any command
    %sudo ALL=(ALL) ALL
    bbraley ALL=(ALL) ALL
    ## Uncomment to allow any user to run sudo if they know the password
    ## of the user they are running the command as (root by default).
    Defaults targetpw # Ask for the password of the target user
    ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
    ## Read drop-in files from /etc/sudoers.d
    ## (the '#' here does not indicate a comment)
    #includedir /etc/sudoers.d
    Last edited by Bruce1956 (2015-03-28 05:16:03)

    Trilby wrote:I've never used the targetpw setting, but I wouldn't be surprised if that was the problem.  With that setting, if you want to run something as root (the default use of sudo) then you'd need the root password, not the user password.  Comment out that setting, and the next line.
    I had never used it, either, but I misread some reference and thought it might help. Since you say it causes the behaviour I'm trying to eliminate, I will get rid of it, as suggested. However, the behavior preceded my addition of this line in the file, so I don't think this will correct the problem. Edit: Removing it kept the root password from being universally required (I can now edit /etc/sudoers using my user password) and returned it to requiring it sometimes (I still need the root password to use kdesu).
    As for some other distro not having a root account, that is simply impossible.  There was a root account.  If you didn't have the password for it, then that installation was severely crippled.
    Sorry, you're right. I should have said that kubuntu does not expect users to assign a password to the root account and instead expects primary users to access that account's privileges via su, sudo, or kdesu only.
    https://help.ubuntu.com/community/RootSudo
    By default, the root account password is locked in Ubuntu. This means that you cannot login as root directly or use the su command to become the root user. However, since the root account physically exists it is still possible to run programs with root-level privileges. This is where sudo comes in - it allows authorized users (normally "Administrative" users; for further information please refer to AddUsersHowto) to run certain programs as root without having to know the root password.
    Thanks for responding to my request for help. Any other ideas?
    Edit:  Here's what I keep getting that only accepts the root password, not my user password
    http://s15.postimg.org/4z0o86oln/Runasroot_KDEsu.png
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
    Last edited by Bruce1956 (2015-03-23 04:41:06)

  • [How-To] SquashFS with LZMA compression

    SquashFS (.sfs) is a compressed read-only file system for Linux. SquashFS compresses files, inodes and directories, and supports block sizes up to 1 MB for greater compression. SquashFS is also free software (licensed under the GPL) for accessing SquashFS filesystems.
    SquashFS is intended for general read-only file system use and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed. The standard version of SquashFS uses gzip compression.
    Here is my How-To on how to get LZMA compressed SquashFS in Archlinux.
    Requirements
    1) squashfs-tools with LZMA patches. This package provides tools (mksquashfs, unsquashfs) to create Squashfs filesystem. With standard version (from /extra repository) you can create only gzip-compressed  Squashfs filesystem. To get LZMA support you must install package:
    squashfs-tools-lzma
    This package doesn't conflict with package from /extra. It provides mksquashfs.lzma, unsquashfs.lzma. So if you want create LZMA compressed filesystem you must use:
    mksquashfs.lzma source dest
    Otherwise for GZIP compressed filesystem:
    mksquashfs source dest
    2) squashfs module with LZMA patches. Without it you cant't mount your LZMA compressed filesystems. Here is two ways on how to get it.
    2.1 Patch kernel with SquashFS LZMA patches.
    Before proceed i recommend to read Custom Kernel Compilation with ABS
    You must apply on sources three patches:
    051-squashfs_pcomp.patch
    052-pcomp_lzma_support.patch
    053-squashfs_lzma.patch
    And set in kernel config:
    CONFIG_SQUASHFS=m|y
    CONFIG_SQUASHFS_SUPPORT_ZLIB=y
    CONFIG_SQUASHFS_SUPPORT_LZMA=y
    CONFIG_CRYPTO_UNLZMA=m|y
    m|y means that you can build it as a module (m) or as a part of kernel (y).
    Build kernel as usual and after that you can mount LZMA compressed filesystems.
    2.2 Build standalone module without patching and rebuilding the whole kernel.
    Warning. I am not Linux guru. And i think that this method is not optimal (but it works). Any suggestions are welcome from experienced users.
    For ARCH kernel here is PKGBUILD on AUR:
    kernel26-squashfs-lzma-modules
    Create directory (called for example squashfs-module) somewhere on your hard disk. Cd to that directory;
    Download here Linux kernel sources (i strongly recommend to use same sources as in PKGBUILD of your kernel);
    Download LZMA patches listed in 2.1;
    Now you need kernel config file. Get it from your kernel package;
    Unpack linux kernel sources. Cd to that directory;
    Copy kernel config file here and rename it to .config;
    Now we can patch our kernel:
    patch -Np1 -i /pathto_051-squashfs_pcomp.patch
    patch -Np1 -i /pathto_052-pcomp_lzma_support.patch
    patch -Np1 -i /pathto_053-squashfs_lzma.patch
    Before building modules we need some preparations:
    make prepare
    make modules_prepare
    The kernel is patched and all preparations are ready. We can build modules:
    make modules SUBDIRS=crypto
    make modules SUBDIRS=fs/squashfs
    Modules are ready. Now we need to copy it to our kernel modules directory:
    cp crypto/unlzma.ko /lib/modules/KERNELVERSION/misc
    cp fs/squashfs/squashfs.ko /lib/modules/KERNELVERSION/misc/squashfs_lzma.ko
    Now execute:
    depmod KERNELVERSION
    Modules are installed and ready for use.
    Now you can load modules:
    modprobe unlzma
    modprobe squashfs_lzma
    Remember to load both of them (unlzma and squashfs_lzma) and in that order.
    I don't like this way. I think it is to possible to simplify this process. And this modules doesn't contain information about dependency. So you must manually load unlzma module.
    How to use it
    1) First we need to create SquashFS filesystem.
    For GZIP:
    mksquashfs source dest
    For LZMA:
    mksquashfs.lzma source dest
    For example:
    sudo mksquashfs.lzma /usr /usr.sqfs
    2) Now we can mount it as usual.
    sudo mount -t squashfs -o loop /usr.sqfs /mountpoint
    Benchmark
    du -hs /usr/
    3.3G /usr/
    GZIP (standard):
    sudo mksquashfs /usr/ /usr.sqfs
    Parallel mksquashfs: Using 2 processors
    Creating 4.0 filesystem on /usr.sqfs, block size 131072.
    [=============================\] 137140/137140 100%
    Exportable Squashfs 4.0 filesystem, data block size 131072
    compressed data, compressed metadata, compressed fragments
    duplicates are removed
    Filesystem size 1449060.58 Kbytes (1415.10 Mbytes)
    46.41% of uncompressed filesystem size (3122543.79 Kbytes)
    Inode table size 1365724 bytes (1333.71 Kbytes)
    29.28% of uncompressed inode table size (4664165 bytes)
    Directory table size 1437349 bytes (1403.66 Kbytes)
    42.30% of uncompressed directory table size (3397611 bytes)
    Number of duplicate files found 21775
    Number of inodes 141741
    Number of files 127438
    Number of fragments 7820
    Number of symbolic links 3853
    Number of device nodes 0
    Number of fifo nodes 0
    Number of socket nodes 0
    Number of directories 10450
    Number of ids (unique uids + gids) 6
    Number of uids 2
    root (0)
    policykit (102)
    Number of gids 6
    root (0)
    locate (21)
    mail (12)
    tty (5)
    policykit (102)
    dbus (81)
    real 7m28.167s
    user 11m18.825s
    sys 0m4.214s
    du -h /usr.sqfs
    1.4G /usr.sqfs
    LZMA (patched):
    sudo mksquashfs.lzma /usr/ /usr.lzma.sqfs
    Parallel mksquashfs: Using 2 processors
    Creating 4.0 filesystem on /usr.lzma.sqfs, block size 131072.
    [=============================|] 137140/137140 100%
    Exportable Squashfs 4.0 filesystem, data block size 131072
    compressed data, compressed metadata, compressed fragments
    duplicates are removed
    Filesystem size 1326846.64 Kbytes (1295.75 Mbytes)
    42.49% of uncompressed filesystem size (3122543.79 Kbytes)
    Inode table size 1067747 bytes (1042.72 Kbytes)
    22.89% of uncompressed inode table size (4664165 bytes)
    Directory table size 1360891 bytes (1329.00 Kbytes)
    40.05% of uncompressed directory table size (3397611 bytes)
    Number of duplicate files found 21775
    Number of inodes 141741
    Number of files 127438
    Number of fragments 7820
    Number of symbolic links 3853
    Number of device nodes 0
    Number of fifo nodes 0
    Number of socket nodes 0
    Number of directories 10450
    Number of ids (unique uids + gids) 6
    Number of uids 2
    root (0)
    policykit (102)
    Number of gids 6
    root (0)
    locate (21)
    mail (12)
    tty (5)
    policykit (102)
    dbus (81)
    real 22m51.122s
    user 28m39.617s
    sys 9m46.870s
    du -h /usr.lzma.sqfs
    1.3G /usr.lzma.sqfs
    Results
    Size of /usr: 3.1 Gib (3.327.028.002) 131.201 files, 10.642 sub-folders
    Size of usr.sqfs: 1.4 Gib (1.483.841.536)
    Size of usr.lzma.sqfs: 1.3 GiB (1.358.692.352)
    P.s. Sorry for my poor english. Any corrections are welcome.
    P.p.s. Any suggestions, improvements are welcome.

    I appreciate this howto, although performance seems bad. I also suggest you put it on the wiki instead of the forums because more people will be able to find it that way. Any idea why performance seems so bad? 1.4G vs 1.3G doesn't seem like a good trade-off, especially considering the time it takes to do the lzma based compression.

Maybe you are looking for

  • Why does good disk utility image generate error message?

    I created a disk image of a data cd using disk utility. When I open the dmg file I get the message: "The disk image you are opening may be damaged and could damage you system. Are you sure you want to open this image?" When I open the image there are

  • Screen brightness to 1 bar after wakeup after sleep!!

    Has anyone experienced that when you wake your macbook up after sleep the screen brightness is set to 1 bar... dont know if this is actually a problem or if it can be set in system pref.. thanks in advance for your replies...

  • Expand Size of Second Partition - OS X Lion

    Resurrecting for Lion the partition resizing problem, previously discussed on archived Leopard posts. When you have created two partitions in an os / x journaled volume for data storage and backups. You want to shrink partition #1 and give the freed

  • Photoshop stop working when i try to open it

    Photoshop stop working when i try to open it, this only happens in my gf notebook, on my notebook Photoshop works normally... It Don't initiate, when are on startup it just crash... Its like the image below, but Photoshop CC

  • Actions not working from CS6 to CS5

    I use a series of actions that were created in CS6 and are not that complicated. They resize and align an object to coordinates with the center reference point and proportions constrained. I assumed that they would translate to other coworker's machi