Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 39359 Details for
Bug 63595
Mounting Solaris HSFS CDs only make the first slice visible
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Script workaround
mount.suncd (text/plain), 950 bytes, created by
Steve-o
on 2004-09-10 14:48:52 UTC
(
hide
)
Description:
Script workaround
Filename:
MIME Type:
Creator:
Steve-o
Created:
2004-09-10 14:48:52 UTC
Size:
950 bytes
patch
obsolete
>#!/bin/sh > >file=$1 > >if test -z $file; then > echo "no input file iso image." > exit 1 >fi > >set -x > ># step 1: extract VTOC > >dd if=$file of=/tmp/vtoc bs=512 count=1 conv=swab > ># step 2: find offset and length of s1 > >vtoc=`od -t x2 -j 452 -N 8 < /tmp/vtoc` >offset=`echo $vtoc | awk '{ print "0x"$2$3 }'` >offset=`echo $(($offset))` >length=`echo $vtoc | awk '{ print "0x"$4$5 }'` >length=`echo $(($length))` > ># step 3: calculate skip and count > >skip=`expr $offset \* 640` >count=`expr $length` > >echo "skip is $skip, count is $count" > ># step 4: create slice 1 iso > >s1file=`echo $file | sed -e 's/\.iso/-s1\.iso/'` >echo "new iso will be called /tmp/$s1file" > >dd if=$file of=/tmp/$s1file bs=512 skip=$skip count=$count > ># step 5: create tmp cd mount point > >mkdir -p /tmp/suncd/s0 /tmp/suncd/s1 > >mount -t iso9660 -o ro,loop=/dev/loop0 $file /tmp/suncd/s0 >mount -t ufs -o ro,loop=/dev/loop1,ufstype=sun /tmp/$s1file /tmp/suncd/s1 > ># step 6: done > >echo "Finished." >
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 63595
: 39359