Re: where to put mount.sh file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-02-20 at 11:10 -0800, Gerhard Magnus wrote:
> I've been experimenting with setting up an ftp server on a home network.
> The instructions I've been looking at for getting vsftpd operational
> include using "mount --bind" commands for mounting other directories
> to /var/ftp (neat trick!) The how-to says:
> 
> Whenever you restart your computer, you have to bind the directories
> every time, so that they are shown on the ftp server. To skip binding
> every time, write everything (all commands for binding) in a mount.sh
> file and run it whenever you restart your computer.
> 
> Confession: This will be my first unix script. A whole new world awaits!
> Where do I put it?
> How do I guarantee it will be run at boot time?
> 
> Thanks for the help!
> Jerry
> 
> 
I don't think you have to make a script. Just put the mounts
in /etc/fstab

/directory/to/share	/var/ftp/whatever   none	--bind

I'm not an expert, but it did work here

Henning Larsen

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux