Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mount bind read-only
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kramer2718
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2006
Posts: 78

PostPosted: Mon Aug 28, 2006 9:47 pm    Post subject: Mount bind read-only Reply with quote

I have the following lines in my fstab:

Code:
/dev/sdb1 /mnt/3 reiserfs auto,user,noatime 0 0
/mnt/3 /home/ftp none bind,ro


(equivalent to
Code:
mount --bind -r /mnt/3 /home/ftp
)

I was hoping to be able to be able to mount /dev/sdb1 for reading/writing through /mnt/3 and for reading only through /home/ftp. Unfortunately, it doesn't work. After mount, I have rw access to both. After, googling, I came across some discussion that this functionality is being added to the kernel, but the discussion was a bit technical for me.
_________________
God save us from His followers.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Tue Aug 29, 2006 2:50 am    Post subject: Reply with quote

It would appear that such functionality is not yet available in the trunk Linux kernel.

Would this be the discussion which 'was a bit technical'? If not, would you be so kind as to post a link to it?


Last edited by desultory on Tue Aug 29, 2006 5:34 am; edited 1 time in total
Back to top
View user's profile Send private message
kramer2718
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2006
Posts: 78

PostPosted: Tue Aug 29, 2006 5:27 am    Post subject: Reply with quote

desultory wrote:
It would appear that such finctionality is not yet available in the trunk Linux kernel.

Would this be the discussion which 'was a bit technical'? If not, would you be so kind as to post a link to it?


Yep. That's right. I'll be happy to see that functionality. Until then, I'll have to make do with permissions.
_________________
God save us from His followers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum