Is there any way of resizing /etc directory in linux machine [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I have tried to create a partition name "/etc' at OS installation time and my installation was not working.When I cancel creating "/etc" directory than it worked. Though all configuration files are available in /etc directory but I tried to resize. Is there any way of creating a manual "/etc" directory or it is a bad try?










share|improve this question















closed as unclear what you're asking by Wildcard, Thomas Dickey, maulinglawns, RalfFriedl, schily Sep 8 at 20:00


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 2




    Why would you want to have /etc on its own partition? Related: unix.stackexchange.com/questions/77681/…
    – Kusalananda
    Sep 8 at 17:29










  • I have tried to create manual partitions like /tmp ,/usr,/var,/home directories but failed to create /etc directory .Is there any possible answers for this issue ?
    – Subarno Saha
    Sep 8 at 17:38










  • Possible duplicate of Moving /etc to separate partition
    – maulinglawns
    Sep 8 at 17:41










  • There is no practical reason that I could think of for having /etc on a partition by itself. Why would you want to do that?
    – Kusalananda
    Sep 8 at 17:49










  • Actually not for any serious issue,just for experiment.I could not found any information (why I cant manage /etc directory)
    – Subarno Saha
    Sep 8 at 19:42














up vote
1
down vote

favorite












I have tried to create a partition name "/etc' at OS installation time and my installation was not working.When I cancel creating "/etc" directory than it worked. Though all configuration files are available in /etc directory but I tried to resize. Is there any way of creating a manual "/etc" directory or it is a bad try?










share|improve this question















closed as unclear what you're asking by Wildcard, Thomas Dickey, maulinglawns, RalfFriedl, schily Sep 8 at 20:00


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 2




    Why would you want to have /etc on its own partition? Related: unix.stackexchange.com/questions/77681/…
    – Kusalananda
    Sep 8 at 17:29










  • I have tried to create manual partitions like /tmp ,/usr,/var,/home directories but failed to create /etc directory .Is there any possible answers for this issue ?
    – Subarno Saha
    Sep 8 at 17:38










  • Possible duplicate of Moving /etc to separate partition
    – maulinglawns
    Sep 8 at 17:41










  • There is no practical reason that I could think of for having /etc on a partition by itself. Why would you want to do that?
    – Kusalananda
    Sep 8 at 17:49










  • Actually not for any serious issue,just for experiment.I could not found any information (why I cant manage /etc directory)
    – Subarno Saha
    Sep 8 at 19:42












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have tried to create a partition name "/etc' at OS installation time and my installation was not working.When I cancel creating "/etc" directory than it worked. Though all configuration files are available in /etc directory but I tried to resize. Is there any way of creating a manual "/etc" directory or it is a bad try?










share|improve this question















I have tried to create a partition name "/etc' at OS installation time and my installation was not working.When I cancel creating "/etc" directory than it worked. Though all configuration files are available in /etc directory but I tried to resize. Is there any way of creating a manual "/etc" directory or it is a bad try?







linux centos etc






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 8 at 17:49









peterh

4,02792755




4,02792755










asked Sep 8 at 17:17









Subarno Saha

61




61




closed as unclear what you're asking by Wildcard, Thomas Dickey, maulinglawns, RalfFriedl, schily Sep 8 at 20:00


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by Wildcard, Thomas Dickey, maulinglawns, RalfFriedl, schily Sep 8 at 20:00


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 2




    Why would you want to have /etc on its own partition? Related: unix.stackexchange.com/questions/77681/…
    – Kusalananda
    Sep 8 at 17:29










  • I have tried to create manual partitions like /tmp ,/usr,/var,/home directories but failed to create /etc directory .Is there any possible answers for this issue ?
    – Subarno Saha
    Sep 8 at 17:38










  • Possible duplicate of Moving /etc to separate partition
    – maulinglawns
    Sep 8 at 17:41










  • There is no practical reason that I could think of for having /etc on a partition by itself. Why would you want to do that?
    – Kusalananda
    Sep 8 at 17:49










  • Actually not for any serious issue,just for experiment.I could not found any information (why I cant manage /etc directory)
    – Subarno Saha
    Sep 8 at 19:42












  • 2




    Why would you want to have /etc on its own partition? Related: unix.stackexchange.com/questions/77681/…
    – Kusalananda
    Sep 8 at 17:29










  • I have tried to create manual partitions like /tmp ,/usr,/var,/home directories but failed to create /etc directory .Is there any possible answers for this issue ?
    – Subarno Saha
    Sep 8 at 17:38










  • Possible duplicate of Moving /etc to separate partition
    – maulinglawns
    Sep 8 at 17:41










  • There is no practical reason that I could think of for having /etc on a partition by itself. Why would you want to do that?
    – Kusalananda
    Sep 8 at 17:49










  • Actually not for any serious issue,just for experiment.I could not found any information (why I cant manage /etc directory)
    – Subarno Saha
    Sep 8 at 19:42







2




2




Why would you want to have /etc on its own partition? Related: unix.stackexchange.com/questions/77681/…
– Kusalananda
Sep 8 at 17:29




Why would you want to have /etc on its own partition? Related: unix.stackexchange.com/questions/77681/…
– Kusalananda
Sep 8 at 17:29












I have tried to create manual partitions like /tmp ,/usr,/var,/home directories but failed to create /etc directory .Is there any possible answers for this issue ?
– Subarno Saha
Sep 8 at 17:38




I have tried to create manual partitions like /tmp ,/usr,/var,/home directories but failed to create /etc directory .Is there any possible answers for this issue ?
– Subarno Saha
Sep 8 at 17:38












Possible duplicate of Moving /etc to separate partition
– maulinglawns
Sep 8 at 17:41




Possible duplicate of Moving /etc to separate partition
– maulinglawns
Sep 8 at 17:41












There is no practical reason that I could think of for having /etc on a partition by itself. Why would you want to do that?
– Kusalananda
Sep 8 at 17:49




There is no practical reason that I could think of for having /etc on a partition by itself. Why would you want to do that?
– Kusalananda
Sep 8 at 17:49












Actually not for any serious issue,just for experiment.I could not found any information (why I cant manage /etc directory)
– Subarno Saha
Sep 8 at 19:42




Actually not for any serious issue,just for experiment.I could not found any information (why I cant manage /etc directory)
– Subarno Saha
Sep 8 at 19:42










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Typically, it is not useful if you use too many partitions, they significantly decrease the flexibility of your system. Unfortunately, many installer regularly enforces the user to fragment his machine into small partitions, what he later finds a nearly impossible task to fix. (In fact it is easy, but you don't need it, simply don't use partitions and so is it.)



For normal home installations it is typically enough if you are using only a single root partition and everything is there.



If you are using, or have to use multiple partitions (volumes), it is far better if you are using some advanced technology for that; for example LVM can move your partitions between hard disks without even unmounting them.



Your steps to unify your /etc partition to the rest of your system are these:



  1. copy everything from the /etc, for example with a cp -vfa /etc /etc-

  2. umount /etc

  3. rmdir /etc

  4. mv /etc- /etc





share|improve this answer



























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Typically, it is not useful if you use too many partitions, they significantly decrease the flexibility of your system. Unfortunately, many installer regularly enforces the user to fragment his machine into small partitions, what he later finds a nearly impossible task to fix. (In fact it is easy, but you don't need it, simply don't use partitions and so is it.)



    For normal home installations it is typically enough if you are using only a single root partition and everything is there.



    If you are using, or have to use multiple partitions (volumes), it is far better if you are using some advanced technology for that; for example LVM can move your partitions between hard disks without even unmounting them.



    Your steps to unify your /etc partition to the rest of your system are these:



    1. copy everything from the /etc, for example with a cp -vfa /etc /etc-

    2. umount /etc

    3. rmdir /etc

    4. mv /etc- /etc





    share|improve this answer
























      up vote
      0
      down vote













      Typically, it is not useful if you use too many partitions, they significantly decrease the flexibility of your system. Unfortunately, many installer regularly enforces the user to fragment his machine into small partitions, what he later finds a nearly impossible task to fix. (In fact it is easy, but you don't need it, simply don't use partitions and so is it.)



      For normal home installations it is typically enough if you are using only a single root partition and everything is there.



      If you are using, or have to use multiple partitions (volumes), it is far better if you are using some advanced technology for that; for example LVM can move your partitions between hard disks without even unmounting them.



      Your steps to unify your /etc partition to the rest of your system are these:



      1. copy everything from the /etc, for example with a cp -vfa /etc /etc-

      2. umount /etc

      3. rmdir /etc

      4. mv /etc- /etc





      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        Typically, it is not useful if you use too many partitions, they significantly decrease the flexibility of your system. Unfortunately, many installer regularly enforces the user to fragment his machine into small partitions, what he later finds a nearly impossible task to fix. (In fact it is easy, but you don't need it, simply don't use partitions and so is it.)



        For normal home installations it is typically enough if you are using only a single root partition and everything is there.



        If you are using, or have to use multiple partitions (volumes), it is far better if you are using some advanced technology for that; for example LVM can move your partitions between hard disks without even unmounting them.



        Your steps to unify your /etc partition to the rest of your system are these:



        1. copy everything from the /etc, for example with a cp -vfa /etc /etc-

        2. umount /etc

        3. rmdir /etc

        4. mv /etc- /etc





        share|improve this answer












        Typically, it is not useful if you use too many partitions, they significantly decrease the flexibility of your system. Unfortunately, many installer regularly enforces the user to fragment his machine into small partitions, what he later finds a nearly impossible task to fix. (In fact it is easy, but you don't need it, simply don't use partitions and so is it.)



        For normal home installations it is typically enough if you are using only a single root partition and everything is there.



        If you are using, or have to use multiple partitions (volumes), it is far better if you are using some advanced technology for that; for example LVM can move your partitions between hard disks without even unmounting them.



        Your steps to unify your /etc partition to the rest of your system are these:



        1. copy everything from the /etc, for example with a cp -vfa /etc /etc-

        2. umount /etc

        3. rmdir /etc

        4. mv /etc- /etc






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 8 at 17:49









        peterh

        4,02792755




        4,02792755












            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?