diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-09-27 16:27:35 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-09-27 16:27:35 +0200 |
commit | 2321ba6fd89635f321ec08fa3803aa7e20aa76bf (patch) | |
tree | 5b6aaf56199b300b5bfa7c2f5299583f9dda7495 /extras/path_id | |
parent | 2d8af104e0262554be2bf2cbbaa752bee6f1a65a (diff) |
switch tools and volume_id from LGPL to GPLv2
After beeing hit by proprietary applications which statically
link the LGPL'd libusb, which needs a patch to reflect the recent
kernel changes, I decided not to provide LGPL code anymore.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'extras/path_id')
-rwxr-xr-x | extras/path_id | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/extras/path_id b/extras/path_id index c7f50687fe..4ac718717a 100755 --- a/extras/path_id +++ b/extras/path_id @@ -4,15 +4,19 @@ # for the udev persistent disk device naming scheme # # Copyright (C) 2005 SUSE Linux Products GmbH -# Licensed under the GPL v2. +# Author: +# Hannes Reinecke <hare@suse.de> +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation version 2 of the License. # # to be called from a udev rule to return the name for a symlink -# DEVPATH=/block/sda/sda3 $0 (or similar) -# $0 /block/sda -# $0 /sys/block/sda +# DEVPATH=/block/sda/sda3 path_id +# path_id <devpath> -# example for all: -# for i in `find /sys/block -name dev` ;do DEVPATH="`echo $i | sed -e 's@^/sys\|/dev@@g'`" $0 ; done +# example for all block devices on a system: +# for i in `find /sys/block -name dev` ;do DEVPATH="`echo $i | sed -e 's@^/sys\|/dev@@g'`" path_id ; done # examples: # SCSI cdrom |