Can we mount inherit-pkg-dir as a READ-WRITE while creating a zone ?

Posted on 2009-05-01
Last Modified: 2013-12-27
While using the inherit-pkg-dir directives in creating the zone, the specified directory gets mount via 'lofs' file system, and it is read-only.

Could not we change this and mount the specified directory via inherit-pkg-dir with lofs as a READ-WRITE? Thanks
add inherit-pkg-dir

set dir=/sbin

set type=lofs

add options rw


Open in new window

Question by:beer9
    LVL 22

    Accepted Solution

    No, the file systems that are inherit-pkg-dir are always read-only within the zone. You could create a lofs mount from
    outside the zone and mount it in the same place inside the zone.

    Why do you want to do this?

    Author Closing Comment

    Thank you blu! :-)

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
    Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now