ALT Linux Bugzilla
– Attachment 3633 Details for
Bug 20634
Проблема с установкой ALT Linux на раздел
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
UUID= --> /dev/[hs]d*
renamer.sh (text/plain), 655 bytes, created by
Michael Shigorin
on 2009-06-30 13:05:05 MSD
(
hide
)
Description:
UUID= --> /dev/[hs]d*
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2009-06-30 13:05:05 MSD
Size:
655 bytes
patch
obsolete
>#!/bin/bash > >if [ -f /etc/fstab -a ! -z /etc/fstab ] >then > cp -f /etc/fstab /etc/fstab.orig > if [ $? != 0 ] > then > echo "Error making reserve copy of fstab. Stopping script" > exit 1 > fi >else > echo "Smth wrong with /etc/fstab. Stopping script" > exit 1 >fi > >cat /etc/fstab |\ > while read line; do > if [ `echo $line |grep ^UUID|wc -l` != 0 ] > then > UUIDline=`echo $line |cut -d' ' -f 1` > blkid |sed s/\"// |grep "$UUIDline" |\ > while read blkidline; do > inblk=$blkidline > dev="`echo -n $inblk |cut -d: -f 1`" > rest="`echo $line |sed s/$UUIDline//`" > echo "$dev $rest" > done > else > echo $line > fi > done > >
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 Raw
Actions:
View
Attachments on
bug 20634
: 3633