1

How to mount a subdirectory at boot time

view story
linux-howto

http://www.linuxquestions.org – I have a partition, sda8, that gets mounted as /share1 at boot time by it's entry in /etc/fstab. What I NEED is to actually have: /share1/this_dir mounted as /this_dir and /share1/that_dir mounted as /that_dir I tried using fstab, couldn't make it work - I guess it just mounts partitions, not subdirs. After booting, I can issue the command: mount --bind /share1/this_dir this_dir This works great, but I don't want to do this EVERY time I reboot. I tried putting this in /etc/skel/.profile doesn't work? Any ideas? Thanks in advance, Terry. (HowTos)