Adam Thornton wrote:
<SNIP>
> http://download.sinenomine.net/sane-dasd-update

Hello Adam,
I had an old(er) system which still had by-id rather than by-path so I
downloaded your perl script and gave it a whirl - perfect! as shown by a
diff and an ls command:


ihlscob0:~ # diff /etc/fstab /etc/fstab-by-path
1c1
< /dev/disk/by-id/ccw-IBM.75000000029410.a840.04-part1 /
    ext3       data=journal,noatime,acl,user_xattr        1 1
---
> /dev/disk/by-path/ccw-0.0.1000-part1 /                    ext3
data=journal,noatime,acl,user_xattr        1 1
10c10
< /dev/disk/by-id/ccw-IBM.75000000029410.a840.04-part2 swap
    swap       pri=20                0 0
---
> /dev/disk/by-path/ccw-0.0.1000-part2 swap                 swap
pri=20                0 0
ihlscob0:~ #

ihlscob0:~ # ls -la /dev/disk/by-path/ccw-0.0.1000-part1
lrwxrwxrwx 1 root root 12 2008-07-30 18:06
/dev/disk/by-path/ccw-0.0.1000-part1 -> ../../dasda1
ihlscob0:~ # ls -la /dev/disk/by-path/ccw-0.0.1000-part2
lrwxrwxrwx 1 root root 12 2008-07-30 18:06
/dev/disk/by-path/ccw-0.0.1000-part2 -> ../../dasda2
ihlscob0:~ #

Thanks for a very useful tool :-)

mark

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to