summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
2005-04-26[PATCH] fix example comment in ide-devfs.shgreg@kroah.com
2005-04-26[PATCH] udev_volume_id: fix dasd disklabel reading with -l optionkay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: volume_id version 034kay.sievers@vrfy.org
2005-04-26[PATCH] raid-devfs.sh: devfs names for hardware RAID controllersmd@Linux.IT
2005-04-26[PATCH] scsi_id: when udevstart is started, /tmp is not writeable.md@Linux.IT
2005-04-26[PATCH] cdsymlinks.sh: trivial fix, the variable is initialized to '', not 0md@Linux.IT
2005-04-26[PATCH] udev_volume_id: rename probe_ibm into probe_dasdkay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: volume_id version 032kay.sievers@vrfy.org
2005-04-26[PATCH] Makefile: add some more warnings and prepare for clean gcc4 compilekay.sievers@vrfy.org
2005-04-26[PATCH] fix -Wsign-compare warningskay.sievers@vrfy.org
2005-04-26[PATCH] chassis_id: clean compilation and fix bad function parameter passingkay.sievers@vrfy.org
Adding prototypes for functions resulted in an error, cause: table_find_disk(disk_snum, &chassis_num, &slot_num); is called but the function is defined as: int table_find_disk(char *serialnumber , int *host_num, int *chassis_num, int *slot_num) which can obviously not work correctly. Using popen() is not klibc compatible, so skip the compilation if a klibc compile is requested.
2005-04-26[PATCH] udev_volume_id: new version of volume_idkay.sievers@vrfy.org
Every filesystem has its own subdirectory. The IBM dasd label reading is included into volume_id.
2005-04-26[PATCH] udev_volume_id: fix -d optioncborntra@de.ibm.com
The -d option in udev_allows to go from a partition to the underlying disk for s390 dasd labels. If the device is already the disk itself, finding the parent will fail, therefore -d on /sys/block/dasda/ for example gives no result at all.
2005-04-26[PATCH] udev_volume_id: fix FAT label readingkay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: version 27kay.sievers@vrfy.org
Fix FAT label reading bug for very large volumes. Recognize FAT label at Win98 formatted volumes. Read iso9660 joliet descriptor for unicode labels. Support uuid/label of swap partitions.
2005-04-26[PATCH] fix udev_volume_id build error.greg@kroah.com
bah, when will I remember to check the extras _before_ I do a release...
2005-04-26[PATCH] udev_volume_id: links sysfs.a instead of all objectskay.sievers@vrfy.org
cuts down the size from: dynamically linked: 48.030 -> 45.187 statically linked: 149.177 -> 142.362
2005-04-26[PATCH] fix udev_volume_id so it will now build properly.greg@kroah.com
2005-04-26more merge fixupsGreg KH
2005-04-26more fixupsGreg KH
2005-04-26[PATCH] Allow GROUP to have modifiers in itsschweizer@gmail.com
2005-04-26[PATCH] Add support for highpoint ataraid to volume_id to suppresskay.sievers@vrfy.org
2005-04-26[PATCH] Patches from Harald Hoyer <harald@redhat.com>.kay.sievers@vrfy.org
2005-04-26[PATCH] fix debug in volume id / fix clashing global var namekay.sievers@vrfy.org
Here we get the logging for udev_volume_id working if it is compiled with DEBUG=true. Also fixed is a name clash with a global variable.
2005-04-26[PATCH] volume_id fixkay.sievers@vrfy.org
I've been told that open() should not pass O_NONBLOCK.
2005-04-26[PATCH] big cleanup of internal udev apikay.sievers@vrfy.org
Here is the first patch to cleanup the internal processing of the various stages of an udev event. It should not change any behavior, but if your system depends on udev, please always test it before reboot :) We pass only one generic structure around between add, remove, namedev, db and dev_d handling and make all relevant data available to all internal stages. All udev structures are renamed to "udev". We replace the fake parameter by a flag in the udev structure. We open the class device in the main binaries and not in udev_add, to make it possible to use libsysfs for udevstart directory crawling. The last sleep parameters are removed.
2005-04-26[PATCH] update udev to scsi_id 0.7patmans@us.ibm.com
Update udev's scsi_id to version 0.7, this fixes a bad bug in scsi_id on 64 bit systems.
2005-04-26[PATCH] add very nice cdsymlinks scripts.greg@kroah.com
These are from Darren Salt <linux@youmustbejoking.demon.co.uk>
2005-04-26[PATCH] add some helper scripts for dvb and input devices.greg@kroah.com
2005-04-26[PATCH] let the extras/ programs build "pretty" alsogreg@kroah.com
2005-04-26[PATCH] pass SYSFS setting down for extras buildspatmans@us.ibm.com
Modify SYSFS to specify the full path, and pass it down for the extras builds. Change the scsi_id Makefile so it will work with and without udev.
2005-04-26[PATCH] fix up error in building extras and libsysfsgreg@kroah.com
2005-04-26[PATCH] delete extras/multipath-tools as per the author's requestgreg@kroah.com
This is now a standalone package.
2005-04-26[PATCH] update volume_idkay.sievers@vrfy.org
Here is an update to the latest volume_id which fixes a few bugs with FAT volumes.
2005-04-26[PATCH] cleanup PATCH for extras/chassis_id/Makefileharald@redhat.com
for "make install"
2005-04-26[PATCH] update comments in scsi-devfs.shgreg@kroah.com
2005-04-26[PATCH] update udev to include scsi_id 0.6patmans@us.ibm.com
Here's a patch updating udev's copy of scsi_id to version 0.6.
2005-04-26[PATCH] volume-id build fix and updatekay.sievers@vrfy.org
Let's try it another way: We define BLKGETSIZE64 in udev-volume_id.c now, cause including <fs.h> does also not work with klibc. This hopefully fixes your compile problem too. Also included is an update to udev_volume_id with the latest fixes for volume_id. It adds a simple logging file to map the debug function, that we can use exactly the same files in HAL and udev.
2005-04-26[PATCH] update udev_volume_idkay.sievers@vrfy.org
Here is an update for the volume_id callout to catch up to the latest and greatest: o It is able to skip the label reading of linux raid members, which are otherwise recognized as a normal filesystem. o It reads FAT labels stored in the directory instead of the superblock (Windows only writes in the directory). o The NTFS uuid is the right one now. o It reads all the Apple HFS(+) formats with the labels. o UFS volumes are recognized but no labels are extracted. o We use CFLAGS+=-D_FILE_OFFSET_BITS=64 instead of lsee64() which may fix a bug mentioned on the klibc mailing list. A lot of other new features are only used in HAL and not needed in this simple callout. But if someone stumbles over it and want's to send a patch for some exotic formats, we better keep it up to date :)
2005-04-26[PATCH] Minor POSIX-fixes for udevtao@kernel.org
The attached patch contains a few patches against udev, to remove use of various XSI:isms and bash:isms, and to change two scripts form /bin/bash to /bin/sh. None of the bash-scripts in test/ uses any bash-specific functions as far as I know, but I didn't touch them since they aren't used runtime. Rationale: * Both of the /bin/bash-scripts are totally free from bashisms, hence they don't need to be /bin/bash; using /bin/sh instead helps (mainly) embedded-people * local and source are bash:isms (well, they exist in several other shells as well, but they aren't part of POSIX or any of its extensions) * -a in tests is an XSI-extension, not part of strict POSIX, and is easily replaced by && | http://www.opengroup.org/onlinepubs/009695399/utilities/test.html * Use of fgrep is deprecated in POSIX in favour of grep -F (though fgrep will remain in use for a long time...) | http://www.opengroup.org/onlinepubs/009695399/utilities/grep.html The fgrep-change isn't really necessary, since fgrep can always be implemented as a shell-script, but the rest of the changes would really be appreciated.
2005-04-26[PATCH] clean up start_udev a bittrini@kernel.crashing.org
First, update extras/start_udev. udevstart always internally set UDEV_NO_SLEEP as well as setting the ACTION variable, so that only needs to be done in the run_udev script case. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2005-04-26[PATCH] update udev_volume_idkay.sievers@vrfy.org
volume_id is now able to read NTFS labels. Not very exciting, but we keep up to date with the version in HAL. Also __packed__ was needed for the structs, cause the gcc 3.4 compiled version was no longer working properly.
2005-04-26[PATCH] update udev scsi_id to scsi_id 0.5patmans@us.ibm.com
This patch syncs the scsi_id in the udev tree to version 0.5.
2005-04-26[PATCH] Patch for chassis_id exras moduleatul.sabharwal@intel.com
2005-04-26[PATCH] delete udev_selinux as it doesn't work properly and is the wrong way ↵greg@kroah.com
to do it...
2005-04-26[PATCH] Deleted the udev_dbus extra as it didn't really work properly and ↵greg@kroah.com
HAL has a real solution now.
2005-04-26[PATCH] udev_volume_id updatekay.sievers@vrfy.org
Here is a update to extras/volume_id/* o The device is now specified by the DEVPATH in the environment, it's no longer needed to pass the major/minor to the callout. o leading spaces and slashes are now removed from the returned string and spaces are replaced by underscore, to not to confuse udev. o Arnd Bergmann <arnd@arndb.de> provided the code to recognize s390 dasd disk labels. The -d switch tries to read the main block device instead of the partition.
2005-04-26[PATCH] udev callout for reading filesystem labelskay.sievers@vrfy.org
On Fri, Apr 30, 2004 at 03:29:54PM -0700, Greg KH wrote: > On Thu, Apr 29, 2004 at 11:04:46PM +0200, Kay Sievers wrote: > > Hi, > > here is a small udev toy, which enables udev to name partitions by > > its filesystem label or uuid's. > > > > The following udev rule: > > > > KERNEL="sd*", PROGRAM="/sbin/udev_volume_id -M%M -m%m -u", SYMLINK="%c" > > > > creates a symlink with the uuid read from the filesystem. If no label or > > uuid is found the program exits with nonzero and the rule will fail. > > > > ext2, ext3, reiserfs, xfs, jfs, vfat, msdos volume labels are supported, > > ntfs and swap partitions can be recognized. > > > > It's possible to compile with klibc and the static binary takes 13kb. > > Very nice, I was wondering who was going to use that library to make > such a tool. This is even better as we can use klibc for it. Here is a update, which supports iso9660 and udf labels. Not very useful in the udev case, but I've added it for hal, so we just catch up with the latest version.
2005-04-26[PATCH] udev callout for reading filesystem labelskay.sievers@vrfy.org
here is a small udev toy, which enables udev to name partitions by its filesystem label or uuid's. The following udev rule: KERNEL="sd*", PROGRAM="/sbin/udev_volume_id -M%M -m%m -u", SYMLINK="%c" creates a symlink with the uuid read from the filesystem. If no label or uuid is found the program exits with nonzero and the rule will fail. ext2, ext3, reiserfs, xfs, jfs, vfat, msdos volume labels are supported, ntfs and swap partitions can be recognized. It's possible to compile with klibc and the static binary takes 13kb.
2005-04-26[PATCH] udev_selinux changeskay.sievers@vrfy.org
Here is the fix for extras/seliux/* o install the binary in /sbin/ o add symlink to /etc/dev.d/ with suffix .dev o removed the undefined udev_log variable o fixed compiler warnings