[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UNIX98 ptys in /etc/fstab



  at Mon, 21 Feb 2000 17:39:18 -0800,
 Joey Hess <joeyh@debian.org> writes:

> The /etc/fstab generated by the install still has comments in it that say to
> uncomment them for unix98 pty support. Of course, that is not necessary,
(snip)
> I'd delete them, but though I can find where they are defined
> (documentation/messages.ent), I cannot find how those SGML entities are
> actually used..

I don't know why documentation/messages.ent is related to this.
Anyway, this file is created from utilities/dbootstrap/po/$(LINGUA).po
by documentation/Makefile:

    296 messages.ent:   $(DBOOTSTRAP_DIR)/po/$(LINGUA).po po2sgml
    297 #       entities which are dynamically defined from the dbootstrap messages 
    298         ./po2sgml $(DBOOTSTRAP_DIR)/po/$(LINGUA).po > $@

I suppose what you want is utilities/dbootstrap/baseconfig.c:

    204 static int write_fstab (void) {
    205   FILE *fstab;
    206   struct fdisk_partition *p;
    207   char* fsname;
    208   char* fsopts;
(snip)
    241   fprintf(fstab,
    242           "proc\t\t/proc\t\tproc\tdefaults\t\t\t0\t0\n");
    243   fprintf(fstab,
    244           _("# Uncomment the following entry if you use a 2.2.x or newer kernel for\n"
    245             "# UNIX98-style pty handling\n"));
    246   fprintf(fstab,
    247             "#none\t\t/dev/pts\tdevpts  gid=5,mode=620\t\t\t0\t0\n"
    248             "/dev/fd0\t/floppy\t\tauto\tdefaults,user,noauto\t\t0\t0\n"
    249             "/dev/cdrom\t/cdrom\t\tiso9660\tdefaults,ro,user,noauto\t\t0\t0\n");
    250

Just comment out line 243-245 would work ?

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Reply to: