slackware book clarification - 'grafted' partition
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
slackware book clarification - 'grafted' partition
I found this in the Slackware Linux Essentials book for Slackware 8.0 that came with Slackware 9.0:
Quote:
We call the main directory the root directory, and it's denoted with a single slash (/). This concept may seem strange, but it actually makes life easy for you when you want to add more space. For example, let's say you run out of space on the drive that has /home on it. Most people install Slackware and make one big root drive. Well, since a partition can be mounted to any directory, you can simply go to the store and pick up a new hard drive and mount it to /home. You've now “grafted” on some more space to your system. And all without having to move many things around.
(Note: I am not doing this. I am just trying to understand it.)
I don't see how expanding /home with a new drive is accomplished with this 'grafting' they are talking about. Is there some symbolic link mechanism that appends the new 'space' to the /home directory?
I does not append the new space. It replaces (when the new drive is mounted) the 'old' space with newly mounted one. Using described above /home capacity extension when you use 'mount /dev/hd... /home' you will see empty /home directory. But it will have a capacity of whole mounted drive. When you unmount this drive you'll see again the old content. So newly mounted drive is "covering" the old content.
So doing such 'capacity extension' you can rename /home to /old_home, create /home, mount new drive in /home copy /old_home to /home and finally remove /old_home.
This way you "extended" /home but also you got an additional free space which could be allocated when necessary inside the main drive directory tree belonging to the same partition.
Is there a hard copy of this book available as the html format is ok if your at the pc and is there a pdf version anywhere ? so i can print it even ...!
Is there any other slackware book available or is this ithe only one ?
Can anyone recommend a alternative book for learning slack ware for a newbie ?
I have read oreillys bash book butt would like to find out more about running slackware itself ..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.