lkml.org 
[lkml]   [1998]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSome questions
Hi!

I had some questions :

1> In the implemenration of pipes, why does a process have to sleep if he
opens pipe for reading if no other proc. has the pipe open for writing?
Cudn't he have opned it and then sleplt while he was trying to read from
it?


2> Whie mounting a fs readonly, the kernel will set all dir perms etc. to
r--- for root. How does it decide user perms while mounting the fs with
home directories? Cud u direct me to the appropriate kernel code in this
case ?


3 > How exactly doees unlink".") work? What I feel is that the dir is
unlinked but the inode is still active(refcnt>10 and process is able to
acces the dir. as before until it exists. But what happemns if he now
executes the pwd ccommand?


4 > How does the mkdir command work exactly?



tHANX IN ADVANCE...



\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.062 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site