Directories on seperate partitions.
I want to install and have / on one partition, /etc on another and /home on yet another. But I want to be able to use cd /home/giligun/ to access my home directory. So fstab should be like
/dev/hda1 /home ext3 ...... Using Slackware 9.1 |
when you setup Slack, you are asked for such options, and it will write you a good fstab.
but the entry you gave looks oke. egag |
Wouldn't I have to create a /home link to the /dev/hda1 or whatever, and doesn't it have to be a special type of link?
|
the fstab line is the link, it mounts the right part. on mountpoint /home.
if you already have a /home dir on your disk then move the contents to your new part. , and put the line in your fstab so it will always mount at boot. egag |
The 'special link' is the mount command which attaches a partition to the mount point, ie a directory in the root file system (or any file system already mounted). So the installation program will take care of that.
But don't put /etc on a separate partition. Apart from the root fs, all file systems are mounted by the rc.sysinit script which is started from /etc/inittab. The script itself is in /etc/rc.d. So the /etc directory must already be present for this to work. Other directories that should be on the root fs are /bin, /sbin and /dev. At least that's the way it works on Redhat. I've no experience with Slack, but I assume there's a similar configuration. |
*nod* That is correct, Many thanks.
|
All times are GMT -5. The time now is 02:40 AM. |