LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-21-2005, 01:00 PM   #1
deus1
Member
 
Registered: Jan 2005
Distribution: Suse 9.1 pro
Posts: 35

Rep: Reputation: 15
keep mount point after reboot


Iíve just set up a glfpd ftp server (on a suse 9.1 pro system). Problem is that u can only allow clients to connect to directories inside /glftp/site. I want clients to connect to /mnt/server/fileserver. To allow this, Iíve to create a mount point inside /glftpd/site:

Mount Ėbind /mnt/server/fileserver /glftp/site/fileserver

This works great until I reboot the computer. After that, the mount point is gone. How can I keep this mount point?

I guess I have to add this to the fstab file but Iím not sure because I donít mount a device (itís a directory, not a device). So how can I do this? Is there a special file to mount directories? In case that I have to change fstab, what do I have to add to this file(especially columns 3-6)?

Thnx,

Deus
 
Old 06-21-2005, 01:05 PM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Create entry in /etc/fstab file!
 
Old 06-21-2005, 03:51 PM   #3
deus1
Member
 
Registered: Jan 2005
Distribution: Suse 9.1 pro
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by nixcraft
Create entry in /etc/fstab file!
Yeah but how would the entry look like?

/mnt/server/fileserver /srv/ftp/glftpd/site/fileserver auto rw,auto,nouser,sync,noexec 0 0

This doesnt work. Could u give me an example of a good entry in this case?
 
Old 06-21-2005, 06:10 PM   #4
deus1
Member
 
Registered: Jan 2005
Distribution: Suse 9.1 pro
Posts: 35

Original Poster
Rep: Reputation: 15
I found the solution. Add in fstab:

/mnt/server/fileserver /srv/ftp/glftpd/site/fileserver none bind 0 0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
samba mount when not owner of mount point cotton213 Linux - General 1 08-04-2005 06:21 AM
can I mount two devices to the same mount point? gsgleason Linux - Hardware 7 03-04-2005 05:29 AM
Multiple mount --bind's to 1 mount point ? Etraman Slackware 6 12-23-2004 07:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration