Re: Questions on CDROM support

Anthony Barbachan (barbacha@Hinako.AMBusiness.com)
Mon, 11 Oct 1999 12:42:38 -0400


>
> > The indented setup for this use is mostly for CDROMs shared by samba
> > servers to DOS/Windows clients. In this setup DOS/Windows easily handle
> > disappearing cwd as those OS's generally expect that CD's may be
ejected.
> > And under Linux I know that at least bash deals with a lost cwd well.
And
> > thats the main one that I'd be concerned about under Linux. In the
current
> > setup one running shell, probably just left minimized somewhere or on a
> > forgotten login that happened to have its cwd somewhere under /cdrom
creates
> > the administrative headache of having to track the offending process(es)
> > down and correct the situation. Nowhere near userfriendly and creates
extra
> > administrative work.
>
> Question, is it possible to have the kernel tell the process that it's cwd
> is / ?
>

I'd like to know this as well. This could be a better solution than
just letting the cwd disappear. I would think the kernel could change a
process' cwd but I'm not sure about this. Using a signal might also be a
solution but then the program would have to be programmed with that in mind.
By the way the other thing I need to be able to do is say mount a cdrom on
/cdrom even if some process happens to have its cwd in /cdrom.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/