udev-089 moves some things around

2006-04-14 Thread Archaic
Moved:

/sbin/ata_idto /lib/udev/ata_id
/sbin/cdrom_id  to /lib/udev/cdrom_id
/sbin/edd_idto /lib/udev/edd_id
/sbin/usb_idto /lib/udev/usb_id
/sbin/vol_idto /lib/udev/vol_id

Added:

/lib/udev/scsi_id
/lib/libvolume_id.so.0
/lib/libvolume_id.so.0.61.0
/usr/include/libvolume_id.h
/usr/lib/libvolume_id.a
/usr/lib/libvolume_id.so
/usr/lib/pkgconfig/libvolume_id.pc

Since the book doesn't currently use any of these helpers, I'm going to
make the update.

-- 
Archaic

Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: udev-089 moves some things around

2006-04-14 Thread Bryan Kadzban
On Fri, Apr 14, 2006 at 09:59:48AM -0600, Archaic wrote:
 Moved:
 
 /sbin/ata_idto /lib/udev/ata_id
 /sbin/cdrom_id  to /lib/udev/cdrom_id
 /sbin/edd_idto /lib/udev/edd_id
 /sbin/usb_idto /lib/udev/usb_id
 /sbin/vol_idto /lib/udev/vol_id
 
 Added:
 
 /lib/udev/scsi_id
 /lib/libvolume_id.so.0
 /lib/libvolume_id.so.0.61.0
 /usr/include/libvolume_id.h
 /usr/lib/libvolume_id.a
 /usr/lib/libvolume_id.so
 /usr/lib/pkgconfig/libvolume_id.pc

Note also that the extras/ directory contained a path_id shell script.
The etc/udev/60-persistent-storage.rules file contains rules to run
this script (in udev-088, it ran the script from /sbin, and -089 runs it
from /lib/udev) and create /dev/disk/by-path/* symlinks so you can refer
to a disk or partition by its shortest physical path.

We don't have an equivalent to anything in this persistent-storage rules
file, but we do install all of the helpers -- except, in udev-088,
path_id.  path_id didn't have its own subdirectory under extras/ in
udev-088, and it didn't have its own Makefile either, so there was no
way to install it using udev's own build process.  But in -089, it does
have both of these.

So when the book upgrades to -089, I think we should add extras/path_id
to the EXTRAS variable in the build and install commands, so we have
this script installed.

I also personally think we should install the sample persistent storage
rules file, so that these helpers get used and stable symlinks get
created (in my own builds, I will definitely install it).  But that may
not be deemed necessary for a base system.



pgpelvSsJWSuS.pgp
Description: PGP signature
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: udev-089 moves some things around

2006-04-14 Thread Archaic
On Fri, Apr 14, 2006 at 12:56:26PM -0400, Bryan Kadzban wrote:
 
 So when the book upgrades to -089, I think we should add extras/path_id
 to the EXTRAS variable in the build and install commands, so we have
 this script installed.

Indeed.

 I also personally think we should install the sample persistent storage
 rules file, so that these helpers get used and stable symlinks get
 created (in my own builds, I will definitely install it).  But that may
 not be deemed necessary for a base system.

How be to create persistant symlinks is still a matter of debate. I've
yet to investigate pros and cons, I just know there is stuff in Trac,
CLFS, the udev tarball, and Alex pointed to a link to another. Some of
these may indeed be the same method (or overlap considerably) but I just
haven't had time to look into it and no one seems to agree how it should
be done.

-- 
Archaic

Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page