diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-05-12 00:52:52 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:17 -0700 |
commit | cde5a756ce10530136b8d387346c48260a69dbfb (patch) | |
tree | 332d0d499fdad63e5b9ed57e8364e0fe9dcc2a0f /extras/volume_id/dasdlabel.h | |
parent | 7f639ff99e3857870e4e0f41843dff7ad48ad784 (diff) |
[PATCH] udev_volume_id update
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.
Diffstat (limited to 'extras/volume_id/dasdlabel.h')
-rw-r--r-- | extras/volume_id/dasdlabel.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extras/volume_id/dasdlabel.h b/extras/volume_id/dasdlabel.h new file mode 100644 index 0000000000..1501d3ff89 --- /dev/null +++ b/extras/volume_id/dasdlabel.h @@ -0,0 +1,26 @@ +/* + * dasdlabel - read label from s390 block device + * + * Copyright (C) 2004 Arnd Bergmann <arnd@arndb.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. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef _DASDLABEL_H_ +#define _DASDLABEL_H_ + +extern int probe_ibm_partition(int fd, char *out); + +#endif |