This is a special device file, called a device node. The 'c' indicates that
it's a character type device (in this case, writing characters to /dev/null
makes them disappear forever, reading from /dev/null only returns End Of
File). There are also 'b' block type devices, like your disks and disk
partitions.
Thanks,
Matt
> -----Original Message-----
> From: Jake McHenry [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 09, 2000 9:08 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: /dev/null question
>
>
>
> I was just rewriting my login script, and started exploring,
> and found something
> that I didn't recognize. I've looked in the man pages of
> chmod for what I'm
> looking for, but didn't find it. Anyway, here is it.
>
>
> -rw-r--r-- 1 root system 0 Apr 13 13:55 /dev/nul
> crw-rw-rw- 1 root system 2, 2 Aug 09 22:04 /dev/null
> crw-rw-rw- 1 root system 13, 27 Dec 11 1999 /dev/nuls
> crw-r----T 1 root system 3, 0 Dec 11 1999 /dev/nvram
> ^
> |
> |
> |____ What is that c for? What does it do? Does it keep
> anything from being
> written to these files?
>
> Thanks,
>
> Jake
>
>
>
> _______________________________________________
> Zoot-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/zoot-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list