On Thu, Jun 07, 2012 at 02:11:23PM -0500, Bruce Dubbs wrote:
> Ken Moffat wrote:
> 
> >       # Start the udev daemon to continually watch for, and act on,
> >       # uevents
> >       /lib/udev/udevd --daemon
> > 
> >       # crude fix for udev > 182
> >       mkdir -p /dev/pts
> 
> That's not necessary.  Create at install time:
> 
> $ ls -lR /lib/udev/devices/
> /lib/udev/devices/:
> total 4
> crw-rw-rw- 1 root root 1, 3 May 15 02:24 null
> drwxr-xr-x 2 root root 4096 May 15 02:24 pts
> 
> /lib/udev/devices/pts:
> total 0

 Well, partly I blame myself for failing to attach the log of
what was installed, but when I look at it in detail the devices
don't show up in the log - the idiosyncracies of my logging.

 What I've actually got in /lib/udev is

/lib/udev:
total 520
-rwxr-xr-x 1 root root  41349 Jun  7 01:56 accelerometer
-rwxr-xr-x 1 root root  50601 Jun  7 01:56 ata_id
-rwxr-xr-x 1 root root  55535 Jun  7 01:56 cdrom_id
-rwxr-xr-x 1 root root  46477 Jun  7 01:56 collect
drwxr-xr-x 3 root root   4096 May 29 00:57 devices
-rwxr-xr-x 1 root root   9614 Jun  7 01:56 mtd_probe
-rw-r--r-- 1 root root   3481 Jun  7 01:56 rule_generator.functions
drwxr-xr-x 2 root root   4096 Jun  7 03:57 rules.d
-rwxr-xr-x 1 root root  62821 Jun  7 01:56 scsi_id
-rwxr-xr-x 1 root root 212205 Jun  7 01:56 udevd
-rwxr-xr-x 1 root root   9270 Jun  7 01:56 v4l_id
-rwxr-xr-x 1 root root   3595 Jun  7 01:56 write_cd_rules
-rwxr-xr-x 1 root root   4384 Jun  7 01:56 write_net_rules

/lib/udev/devices:
total 4
crw-rw-rw- 1 root root 1, 3 May 29 00:57 null
drwxr-xr-x 2 root root 4096 May 29 00:57 pts

/lib/udev/devices/pts:
total 0

/lib/udev/rules.d:
total 88
-rw-r--r-- 1 root root 2973 Jun  7 01:56 42-usb-hid-pm.rules
-rw-r--r-- 1 root root 3098 Jun  7 01:56 50-udev-default.rules
-rw-r--r-- 1 root root  646 Jun  7 01:56 60-cdrom_id.rules
-rw-r--r-- 1 root root  616 Jun  7 01:56 60-persistent-alsa.rules
-rw-r--r-- 1 root root 2400 Jun  7 01:56 60-persistent-input.rules
-rw-r--r-- 1 root root  947 Jun  7 01:56 60-persistent-serial.rules
-rw-r--r-- 1 root root 5622 Jun  7 01:56 60-persistent-storage.rules
-rw-r--r-- 1 root root 1420 Jun  7 01:56
60-persistent-storage-tape.rules
-rw-r--r-- 1 root root  769 Jun  7 01:56 60-persistent-v4l.rules
-rw-r--r-- 1 root root  166 Jun  7 01:56 61-accelerometer.rules
-rwxr-xr-x 1 root root  462 Jun  7 01:56
75-cd-aliases-generator.rules
-rw-r--r-- 1 root root  570 Jun  7 01:56 75-net-description.rules
-rwxr-xr-x 1 root root 4163 Jun  7 01:56
75-persistent-net-generator.rules
-rw-r--r-- 1 root root  255 Jun  7 01:56 75-probe_mtd.rules
-rw-r--r-- 1 root root  570 Jun  7 01:56 75-tty-description.rules
-rw-r--r-- 1 root root 4467 Jun  7 01:56 78-sound-card.rules
-rw-r--r-- 1 root root  562 Jun  7 01:56 80-drivers.rules
-rw-r--r-- 1 root root  131 Jun  7 03:57 90-alsa-restore.rules
-rw-r--r-- 1 root root  155 Jun  7 01:56 95-udev-late.rules

> ---------------
> 
> Then the script in mountvirtfs already does:
> 
> # Copy devices that Udev >= 155 doesn't handle to /dev
> cp -a /lib/udev/devices/* /dev
> 
>    -- Bruce

 I'll need to look at *why* that isn't working for me - I'm on the
other machine at the moment.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to