Re: /etc/modules comment is wrong

From: David Jardine (david_at_jardine.de)
Date: 05/21/05

  • Next message: Jacob S: "Re: dnscache: readproctitle service errors"
    Date: Sat, 21 May 2005 19:05:29 +0200
    To: Debian user mailing list <debian-user@lists.debian.org>
    
    

    On Sat, May 21, 2005 at 09:01:05AM -0400, Peter Jay Salzman wrote:
    > On Sat 21 May 05, 8:30 AM, Carl Fink <carl@fink.to> said:
    > > On Sat, May 21, 2005 at 01:53:28PM +0200, David Jardine wrote:
    > > > On Sat, May 21, 2005 at 03:25:21AM +0200, Jacobo221 wrote:
    > > > > In Debian Sarge, in /etc/modules out-of-the-box, the comments say that
    > > > > nything after '#' is ingored. But this is wrong. Only lines which BEGIN
    > > > > with '#' are ignored. This should be changed.
    > > >
    > > > Hmm. 'Comments begin with a "#", and everything on the line after
    > > > them are ignored', says mine.
    > >
    > > Yes, but in some languages the "start the comment here" string (for instance
    > > "//") can come at any point in the line, say after an executed statement.
    > > Jacobo is saying that the "#" only works a the beginning of a line.
    >
    > is that really true? you mean I can't have a line in /etc/modules that
    > looks like:
    >
    > lego # device driver for the lego mindstorms USB tower
    >
    > that's too bad if it's true.
    >

    No, it's not true. I've just tried it with:

    ide-scsi # 8139too

    and the first module is loaded but not the second.

    With:

    ide-scsi # just a comment
    8139too # just a comment

    both are loaded normally with no complaints about the comments.

    > pete
    >
    > --
    > Every theory is killed sooner or later, but if the theory has good in it,
    > that good is embodied and continued in the next theory. -- Albert Einstein
    >
    > GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
    >
    >
    > --
    > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
    > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    >

    -- 
    David Jardine
    "Running Debian GNU/Linux and
    loving every minute of it."  -L. von Sacher-M.(1835-1895)
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Jacob S: "Re: dnscache: readproctitle service errors"