Actually, the "1" and "3" are the major and minor number.
Major defines the device driver, and minor tells the driver which device it is
(if you have more than one device with the same driver, i.e. serial ports).
Nothing you should worry about when recreating the node, though.
http://burks.b
On Fri, Sep 01, 2000 at 03:14:48PM -0500, Will Trillich wrote:
> On Fri, Sep 01, 2000 at 11:46:54AM -0600, cls-colo spgs wrote:
> > wow, what a great explanation! (after reading the initial posting,
> > i wondered what does /dev/null do? (which was the question i was
> > going to post.) then i r
aside from the need to spell check my outgoing messages, I have one
more thing to add :)
If you have the kernel sources you can find the magic recipe for
/dev/* in /usr/src/linux/Documentation/devices.txt you still need
support compiled into the kernel or a module to use the device of
course.
-Jo
man mknod
then
ls -l /dev/null on a working linux box
I'm not the kind of guy who just sreams RTFM all the time so here's
the long(er) version...
[EMAIL PROTECTED] jon]$ ls -l /dev/null
crw-rw-rw-1 root root 1, 3 May 11 21:08 /dev/null
^ ^^
On Fri, Sep 01, 2000 at 03:09:05PM -0500, Will Trillich wrote:
> On Fri, Sep 01, 2000 at 09:09:21PM +0200, Sven Burgener wrote:
> > Not to be mean or anything, but FYI fetchmail can be made
> > silent with "-s":
> > -s, --silent work silently
> >
> > But then again, you probably already kn
On Fri, Sep 01, 2000 at 11:46:54AM -0600, cls-colo spgs wrote:
> wow, what a great explanation! (after reading the initial posting, i
> wondered what
> does /dev/null do? (which was the question i was going to post.) then i read
> man
> "null," and thought, "okay, that's what 'null' does." th
On Fri, Sep 01, 2000 at 09:09:21PM +0200, Sven Burgener wrote:
> On Thu, Aug 31, 2000 at 11:35:46PM -0500, Will Trillich wrote:
> > what's redirecting to '/dev/null' good for? here's
> > an example. if you're not running 'fetchmail' as its
> > own background daemon, to yank your email from various
On Fri, 01 Sep 2000, Will Trillich wrote:
> On Thu, Aug 31, 2000 at 08:58:43PM -0700, Jeremiah Hunter Savage wrote:
> > Okay,
> >
> > This is definitely a newbie question. I keep on reading about sending
> > things to /dev/null. So I thought I would give a try:
> >
> > mv file /dev/null
> >
> > Yes
On Thu, Aug 31, 2000 at 11:35:46PM -0500, Will Trillich wrote:
> what's redirecting to '/dev/null' good for? here's
> an example. if you're not running 'fetchmail' as its
> own background daemon, to yank your email from various
> servers, you can have cron do it for you. the thing is,
> you get lot
wow, what a great explanation! (after reading the initial posting, i wondered
what
does /dev/null do? (which was the question i was going to post.) then i read
man
"null," and thought, "okay, that's what 'null' does." then i came to mr.
trillich's
post and really learned a few things. )
sir
On Thu, Aug 31, 2000 at 11:12:00PM -0700, Jeremiah Hunter Savage wrote:
> Thanks for the reply,
>
> I actually _had_ replaced my /dev/null and my system was not too happy -
> procmail kept reporting errors on all my terminals. Also I couldn't send
> email to myself on my local account. I guess exi
On Thu, Aug 31, 2000 at 08:58:43PM -0700, Jeremiah Hunter Savage wrote:
> Okay,
>
> This is definitely a newbie question. I keep on reading about sending
> things to /dev/null. So I thought I would give a try:
>
> mv file /dev/null
>
> Yes I was root.
> So how do I recreate /dev/null?
Make a fi
On Thu, Aug 31, 2000 at 08:58:43PM -0700, Jeremiah Hunter Savage wrote:
> Okay,
>
> This is definitely a newbie question. I keep on reading about sending
> things to /dev/null. So I thought I would give a try:
>
> mv file /dev/null
>
> Yes I was root.
> So how do I recreate /dev/null?
hmm. i'm
> This is definitely a newbie question. I keep on reading about sending
> things to /dev/null. So I thought I would give a try:
>
> mv file /dev/null
mknod /dev/null c 1 3
It will create character ('c') device file /dev/null with major number 1 and
minor number 3. Exactly what you need.
Do not
Okay,
This is definitely a newbie question. I keep on reading about sending
things to /dev/null. So I thought I would give a try:
mv file /dev/null
Yes I was root.
So how do I recreate /dev/null?
Jeremiah
15 matches
Mail list logo