ALT Linux Bugzilla
– Attachment 1557 Details for
Bug 9858
Missing ide-model.sh script in /etc/udev/scripts
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
The missing file
ide-model.sh (text/plain), 264 bytes, created by
Vladimir Zakharov
on 2006-08-08 03:31:54 MSD
(
hide
)
Description:
The missing file
Filename:
MIME Type:
Creator:
Vladimir Zakharov
Created:
2006-08-08 03:31:54 MSD
Size:
264 bytes
patch
obsolete
>#!/bin/sh -e > ># read the first line of the file $1 >read_value() { > local value > read -r value < $1 || true > echo $value >} > ># strip the partition number, if present >DEV="${1%[0-9]*}" > >FILE="/proc/ide/$DEV/model" > >[ -e $FILE ] || exit 1 > >read_value $FILE > >exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9858
: 1557