Opened 23 years ago

Closed 21 years ago

#78 closed defect (fixed)

MAKEDEV-1.8

Reported by: gerard@… Owned by: lfs-book@…
Priority: normal Milestone:
Component: Book Version: 3.0-pre4
Severity: normal Keywords:
Cc:

Description

"MAKEDEV generic" seems to create /dev/sg* files are block devices rather than character devices (the major and minor numbers are correct however). "MAKEDEV sg" makes proper character devices.

Suggested course of action: fix it ;)

Attachments (2)

MAKEDEV.bz2 (6.7 KB ) - added by markh@… 23 years ago.
Changed MAKEDEV.bz2 to create sg as character instead of block when called as MAKEDEV generic
MAKEDEV.joy.inputcore.patch (934 bytes ) - added by gerard@… 22 years ago.
patch to create joystick and input core devices properly

Download all attachments as: .zip

Change History (45)

by markh@…, 23 years ago

Attachment: MAKEDEV.bz2 added

Changed MAKEDEV.bz2 to create sg as character instead of block when called as MAKEDEV generic

comment:1 by gerard@…, 23 years ago

dependson: 30

comment:2 by gerard@…, 23 years ago

Summary: MAKEDEV bugMAKEDEV-1.1

Let's call this makedev version 1.1 as it doesn't have a real version yet

comment:3 by markh@…, 23 years ago

As we're now calling this MAKEDEV version 1.1, should I update the book so that MAKEDEV has a version and so that the file is named MAKEDEV-1.1 or not? I just wonder if it'll be easier for people to see when it's updated if we do this?

comment:4 by gerard@…, 23 years ago

You can't update it yet, because the file hasn't been added to the FTP archive yet. The current MAKEDEV in the CVS is verionless, but the updated version will be added soon. I've almost finished my test LFS system (just compiling the kernel now, then reboot and test, that'll be it).

When I'm finished I will update the packages in ftp archive and with it update the book too.

comment:5 by gerard@…, 23 years ago

Owner: changed from lfs-book@… to gerard@…
Status: newassigned

comment:6 by gerard@…, 23 years ago

Resolution: fixed
Status: assignedclosed

Updated book to MAKEDEV-1.1

comment:7 by markh@…, 23 years ago

Resolution: fixed
Status: closedreopened
Summary: MAKEDEV-1.1MAKEDEV-1.2

comment:8 by markh@…, 23 years ago

Owner: changed from gerard@… to markh@…
Status: reopenedassigned

comment:9 by markh@…, 23 years ago

Resolution: fixed
Status: assignedclosed

comment:10 by markh@…, 23 years ago

Resolution: fixed
Status: closedreopened
Summary: MAKEDEV-1.2MAKEDEV-1.3

MAKEDEV-1.3 isn't finished yet but there are a couple of little bugs in the previous versions which I'm clearing up. I'd like this to go in before LFS-3.0 goes out so Gerard, shout at me if you need it sooner than I put it in.

comment:11 by markh@…, 23 years ago

Status: reopenedassigned

comment:12 by gerard@…, 23 years ago

what are the bugs in it? and sure put it in asap

comment:13 by markh@…, 23 years ago

Resolution: fixed
Status: assignedclosed

comment:14 by markh@…, 23 years ago

Resolution: fixed
Status: closedreopened
Summary: MAKEDEV-1.3MAKEDEV-1.4

going to apply MSB's reverse lookup patch so MAKEDEV can be run when user/groupnames can't be resolved (i.e. no glibc installed) I also intend to make one or two small changes. for now, MAKEDEV-1.4-alpha is available from my LFS web space at http://www.linuxfromscratch.org/~markh

comment:15 by markh@…, 23 years ago

Status: reopenedassigned

comment:16 by markh@…, 23 years ago

Resolution: fixed
Status: assignedclosed

comment:17 by markh@…, 23 years ago

Resolution: fixed
Status: closedreopened

MAKEDEV-1.5 is in conglomoration but needs adding to the CVS book as I

don't have time ATM.

comment:18 by gerard@…, 23 years ago

Owner: changed from markh@… to gerard@…
Status: reopenedassigned

comment:19 by gerard@…, 23 years ago

Resolution: fixed
Status: assignedclosed
Summary: MAKEDEV-1.4MAKEDEV-1.5

comment:20 by highos@…, 22 years ago

Priority: normalhighest
Resolution: fixed
Status: closedreopened
Summary: MAKEDEV-1.5MAKEDEV-1.6

Version increment. [14:44:30] <markh> HIghoS: can you do me a favour - I'm in console with no bookmarks to LFS bugzilla or anything so could you reopen the MAKEDEV bug and change it to MAKEDEV-1.6. The file is in conglom

comment:21 by highos@…, 22 years ago

Owner: changed from gerard@… to markh@…
Status: reopenednew

comment:22 by markh@…, 22 years ago

Summary: MAKEDEV-1.6MAKEDEV-1.7

I've uploaded MAKEDEV-1.7 as there was a bug to do with vcs creation in 1.6.

NOTE : We need to add a ln -s /static/bin/bash /bin/bash symlink before running MAKEDEV as it now starts with #!/bin/bash instead of #!/bin/sh (because the script isn't sh-compliant). So when it gets put in the book, this needs fixing.

comment:23 by gerard@…, 22 years ago

Status: newassigned

comment:24 by gerard@…, 22 years ago

Resolution: fixed
Status: assignedclosed

comment:25 by gerard@…, 22 years ago

Resolution: fixed
Status: closedreopened

by gerard@…, 22 years ago

Attachment: MAKEDEV.joy.inputcore.patch added

patch to create joystick and input core devices properly

comment:26 by gerard@…, 22 years ago

Summary: MAKEDEV-1.7MAKEDEV-1.8

Apply the joystick/input core device creation patch and release as version 1.8

comment:27 by gerard@…, 22 years ago

Some note from Michel Hermier. Let's have a look and see what we can/will do with it. Still keeping in mind that MAKEDEV will be augmented by a better scheme, quite possibly replaced alltogether. May not want to put too much time into it if it's not going to be used very much.

Anyways, email with his recommendations archived at: http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2003/02/0236.html

comment:28 by jeremy@…, 21 years ago

Priority: highesthigh

dropping to P-2 - will deal with the conversion to make_devices.sh with LFS-6

comment:29 by gerard@…, 21 years ago

dependson: 30

comment:30 by gerard@…, 21 years ago

Priority: highnormal

Down to P3. Would be nice to have fixed in the next release which would technically be 5.1 at this point but it can be postponed to later (LFS-6 maybe) if needed.

comment:31 by gerard@…, 21 years ago

Cc: chris@… added

comment:32 by gerard@…, 21 years ago

* Bug 484 has been marked as a duplicate of this bug. *

comment:33 by gerard@…, 21 years ago

* Bug 131 has been marked as a duplicate of this bug. *

comment:34 by Matthew Burgess, 21 years ago

When Linux-2.6 is released then we may want to look into udev (a user-space alternative to devfs). I can see value in giving the user a choice between creating their own static devices (if they feel confident enough to do so), or to let the kernel handle everything itself.

comment:35 by gerard@…, 21 years ago

Cc: chris@… removed
Owner: changed from markh@… to lfs-book@…
Status: reopenednew

comment:36 by jeremy@…, 21 years ago

Owner: changed from lfs-book@… to jeremy@…

comment:37 by gerard@…, 21 years ago

Don't spend too much time on this one. The issues reported don't come up very often so I don't think you will want to spend too much time on it.

comment:38 by jeremy@…, 21 years ago

Owner: changed from jeremy@… to lfs-book@…

comment:39 by greg@…, 21 years ago

There's an obvious bug in current MAKEDEV-1.7 regarding multiple IDE controllers. See here for details:

http://linuxfromscratch.org/pipermail/lfs-dev/2004-January/041524.html

comment:40 by greg@…, 21 years ago

The latest version of MSB's make_devices.sh (a potential replacement for MAKEDEV) is here:

http://linuxfromscratch.org/pipermail/lfs-dev/2004-January/041600.html

comment:42 by Matthew Burgess, 21 years ago

Petri, if you insist on reporting bugs then at least do us all a favour and monitor the lfs-dev and/or lfs-book lists where you will note this issue is currently being discussed.

comment:43 by jeremy@…, 21 years ago

Resolution: fixed
Status: newclosed

Book has moved to the make_devices.sh script.

Note: See TracTickets for help on using tickets.