This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Whither /dev/null ?
On 9/14/07, Lewis Hyatt <lhyatt@princeton.edu> wrote:
> > I'm wondering what is the best way to deal with this? I'd like the
> > scripts to work straight out of the box and not have to make the users
> > create their own /dev and creating it for them would be tedious because
> > every script would have to check for this...
> >
> > Any advice?
> > Puzzled about nothing.
> > J
> >
> >
>
> Did you try it without doing mkdir /dev first? It should still work fine.
>
> Lewis@LDH-Laptop ~
> $ ls -l /dev
> ls: cannot access /dev: No such file or directory
>
> Lewis@LDH-Laptop ~
> $ ls -l /dev/null
> crw-rw-rw- 1 Lewis None 1, 3 Sep 14 11:12 /dev/null
>
> -Lewis
>
Maybe its been gone over before, but I question the wisdom of "hiding"
a directory like that. It seems counterintuitive, and obviously
causes confusion for people.
Does creating a /dev directory (in the default install) cause a big problem?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/