Re: [osol-discuss] Does Solaris has similar Linux command "mount -o"
Thanks Jörg, I just checked this, on a iso i had generated using "mkisofs" on linux with offset option for a session. My Best Regards, -- Chandan Maddanna On Dec 13, 2007 4:43 PM, Joerg Schilling < [EMAIL PROTECTED]> wrote: > Chandan Maddanna <[EMAIL PROTECTED]> wrote: > > > #!/usr/bin/bash > > mkdir $2 > > lofiadm -a $1 /dev/lofi/1 > > mount -F hsfs -o ro /dev/lofi/1 $2 && echo -e "\n\t I have mounted $1 > under the folder $2\n\n" > > > > Just a note for the 'hsfs' case: > > I intend to add a sector offset option to the hsfs mount code. > I added half of the code already and forgot to complete this. > > > this offset feature is needed soon when cdrecord will support > multi-borderDVDs because the sd driver not yet support a correct > MMC based ioctl to read the session offset. If your problem is not > the fact that lofiadm is a separate program and you like to specify > offsets, this would be the way to go. > > BTW: The original idea that has been copied by Linux, FreeBSD and Sun is > a driver called "fbk" that I wrote in 1988. > > ftp://ftp.berlios.de/pub/schily/kernel/fbk/fbk.tar.gz > > > fbk did use this syntax for mounting: > > mount -F fbk -o ro,type=hsfs /dev/fbk0:file_to_mount /mnt > > Jörg > > -- > EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 > Berlin > [EMAIL PROTECTED](uni) > [EMAIL PROTECTED] (work) Blog: > http://schily.blogspot.com/ > URL: http://cdrecord.berlios.de/old/private/ > ftp://ftp.berlios.de/pub/schily > ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount -o"
Chandan Maddanna <[EMAIL PROTECTED]> wrote: > #!/usr/bin/bash > mkdir $2 > lofiadm -a $1 /dev/lofi/1 > mount -F hsfs -o ro /dev/lofi/1 $2 && echo -e "\n\t I have mounted $1 under > the folder $2\n\n" > Just a note for the 'hsfs' case: I intend to add a sector offset option to the hsfs mount code. I added half of the code already and forgot to complete this. this offset feature is needed soon when cdrecord will support multi-borderDVDs because the sd driver not yet support a correct MMC based ioctl to read the session offset. If your problem is not the fact that lofiadm is a separate program and you like to specify offsets, this would be the way to go. BTW: The original idea that has been copied by Linux, FreeBSD and Sun is a driver called "fbk" that I wrote in 1988. ftp://ftp.berlios.de/pub/schily/kernel/fbk/fbk.tar.gz fbk did use this syntax for mounting: mount -F fbk -o ro,type=hsfs /dev/fbk0:file_to_mount /mnt Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount -o"
Thanks frank, yes, you can use standard img format also, BUt i donno about the mount offset thng. Also Caspers script is more better one. so you can use that too. ALso if you get to know about the offset usage, Kindly share with me. Thanks and Warm Regards, -- Chandan Maddanna On Dec 12, 2007 2:39 PM, Zhang, Frank F <[EMAIL PROTECTED]> wrote: > Chandan >Thanks for your detailed explanation, but my requirement is a little > different from what you have done here, I want to mount an IMG file, not an > ISO file, and also I want to specify the mount offset during mounting. > > > > > Thanks! > Frank > > > -Original Message- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Chandan Maddanna > Sent: 2007年12月12日 16:50 > To: opensolaris-discuss@opensolaris.org > Subject: Re: [osol-discuss] Does Solaris has similar Linux command "mount > -o" > > Dear Frank, > > I use this small script i had written for mounting iso images. hope it > helps.. > > Save the below contents in a file called "mountiso.sh" > > #!/usr/bin/bash > mkdir $2 > lofiadm -a $1 /dev/lofi/1 > mount -F hsfs -o ro /dev/lofi/1 $2 && echo -e "\n\t I have mounted $1 > under the folder $2\n\n" > > > and then give this script file executable permission form command prompt. > > # chmod +x ./mountiso.sh > > and use this script to mount iso images... > > > For example lets say you have an iso image called "/opt/testfile1.iso" and > you want to mount it under /testfilecontents > > Than use the script as follows : > > # ./mountiso.sh /opt/testfile1.iso /testfilecontents > > > and you are done, you will have all the contents of the iso visible under > /testfilecontents folder. > > > Best Regards, > > -- Chandan Maddanna > > > This message posted from opensolaris.org > ___ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount -o"
Il Wednesday 12 December 2007 16:29:05 Kyle McDonald ha scritto: > [EMAIL PROTECTED] wrote: > >> #!/usr/bin/bash > >> mkdir $2 > >> lofiadm -a $1 /dev/lofi/1 > >> mount -F hsfs -o ro /dev/lofi/1 $2 && echo -e "\n\t I have > >> mounted $1 under the folder $2\n\n" > > > > You should realize that "lofiadm" actually outputs the device > > used, so the script can be written so as not to require only > > /dev/lofi/1 > > > > I've attached my scripts which I use for mounting/unmounting lofi > > volumes. > > > > It detects pcfs, ufs and hsfs filesystem and mounts them; it > > remembers the mount and a single "lofiumount" without arguments > > will unmount all you mounted. > > > > I've written these a long time ago, shortly after lofiadm was > > added, I think. > > > > Usage is simple: > > > > lofimount file.iso /mnt > > > > lofiumount /mnt > > > > lofimount file.ufs /mnt > > > > etc. > > That's cool Casper. > > I know it needs polishing, but I've attached a script I wrote and > placed in /usr/lib/fs/lofi/mount, so that I could put entries like > this in /etc/vfstab: > I have a similar (but worse) problem: in linux I need to mount the individual slices from an image file, thus I need to find the offsets of the slices. Unfortunately linux's fdisk can't recognize Sun's slices, but the kernel can (from raw partitions of course). According to a file in the linux kernel sources the structure is this: struct sun_disklabel { unsigned char info[128]; /* Informative text string */ struct sun_vtoc { __be32 version; /* Layout version */ char volume[8]; /* Volume name */ __be16 nparts; /* Number of partitions */ struct sun_info { /* Partition hdrs, sec 2 */ __be16 id; __be16 flags; } infos[8]; __be16 padding; /* Alignment padding */ __be32 bootinfo[3]; /* Info needed by mboot */ __be32 sanity; /* To verify vtoc sanity */ __be32 reserved[10]; /* Free space */ __be32 timestamp[8]; /* Partition timestamp */ } vtoc; __be32 write_reinstruct; /* sectors to skip, writes */ __be32 read_reinstruct; /* sectors to skip, reads */ unsigned char spare[148]; /* Padding */ __be16 rspeed; /* Disk rotational speed */ __be16 pcylcount; /* Physical cylinder count */ __be16 sparecyl; /* extra sects per cylinder */ __be16 obs1; /* gap1 */ __be16 obs2; /* gap2 */ __be16 ilfact; /* Interleave factor */ __be16 ncyl; /* Data cylinder count */ __be16 nacyl; /* Alt. cylinder count */ __be16 ntrks; /* Tracks per cylinder */ __be16 nsect; /* Sectors per track */ __be16 obs3; /* bhead - Label head offset */ __be16 obs4; /* ppart - Physical Partition */ struct sun_partition { __be32 start_cylinder; __be32 num_sectors; } partitions[8]; __be16 magic; /* Magic number */ __be16 csum; /* Label xor'd checksum */ } * label; I guess that the partitions[8] identifies the slices, correct? (did I dream that they were 16? ) Please, correct me if Iìm wrong. Thanks, Nico ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount -o"
[EMAIL PROTECTED] wrote: #!/usr/bin/bash mkdir $2 lofiadm -a $1 /dev/lofi/1 mount -F hsfs -o ro /dev/lofi/1 $2 && echo -e "\n\t I have mounted $1 under the folder $2\n\n" You should realize that "lofiadm" actually outputs the device used, so the script can be written so as not to require only /dev/lofi/1 I've attached my scripts which I use for mounting/unmounting lofi volumes. It detects pcfs, ufs and hsfs filesystem and mounts them; it remembers the mount and a single "lofiumount" without arguments will unmount all you mounted. I've written these a long time ago, shortly after lofiadm was added, I think. Usage is simple: lofimount file.iso /mnt lofiumount /mnt lofimount file.ufs /mnt etc. That's cool Casper. I know it needs polishing, but I've attached a script I wrote and placed in /usr/lib/fs/lofi/mount, so that I could put entries like this in /etc/vfstab: /export/Solaris/ISOs/sol-nv-b74-x86-dvd.iso - /export/Solaris/sNV/b74_x lofi - yes fstype=hsfs Maybe I can extend it to detect the fstype automatically from your script. -Kyle #/bin/ksh # # if [ "$1" = "-o" ]; then OPTS="$2" shift 2 fi FILE="$1" MTPT="$2" if [ "${OPTS}" != "" ]; then SAVE_IFS="${IFS}" IFS="," set - ${OPTS} IFS="${SAVE_IFS}" OPTS="" while [ "${1}x" != "x" ]; do case "$1" in fstype=* ) # Use fancy shell pattern/regexp assignment operation. TYPE=`echo $1 | sed "s/fstype=//"`;; * ) # use new fancy assignment shell operation. if [ "${OPTS}" = "" ]; then OPTS="-o $1" else OPTS="${OPTS},$1" fi;; esac shift done fi LOFI="" LOOP=0 if [ -r "${FILE}" ]; then while [ "${LOFI}" = "" -a "${LOOP}" -lt "10" ]; do LOFI=`lofiadm ${FILE} 2>/dev/null` # LOFI=`lofiadm ${FILE}` if [ "${LOFI}" = "" ]; then LOFI=`lofiadm -a ${FILE} 2>/dev/null` # LOFI=`lofiadm -a ${FILE}` fi if [ "${LOFI}" = "" ]; then LOOP=`echo ${LOOP} + 1 | bc` echo "Looping(${LOOP})" 1>&2 sleep 1 fi done else echo "mount: open: ${FILE}: No such file or directory" fi #echo "FILE:${FILE}" 1>&2 #echo "MTPT:${MTPT}" 1>&2 #echo "TYPE:${TYPE}" 1>&2 #echo "OPTS:${OPTS}" 1>&2 #echo "LOFI:${LOFI}" 1>&2 if [ "${LOFI}" = "" ]; then echo Aborting! 1>&2 exit 1 fi echo mount -F ${TYPE} ${OPTS} ${LOFI} ${MTPT} 1>&2 mount -F ${TYPE} ${OPTS} ${LOFI} ${MTPT} exit $? ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount -o"
>#!/usr/bin/bash >mkdir $2 >lofiadm -a $1 /dev/lofi/1 >mount -F hsfs -o ro /dev/lofi/1 $2 && echo -e "\n\t I have mounted $1 under >the folder $2\n\n" You should realize that "lofiadm" actually outputs the device used, so the script can be written so as not to require only /dev/lofi/1 I've attached my scripts which I use for mounting/unmounting lofi volumes. It detects pcfs, ufs and hsfs filesystem and mounts them; it remembers the mount and a single "lofiumount" without arguments will unmount all you mounted. I've written these a long time ago, shortly after lofiadm was added, I think. Usage is simple: lofimount file.iso /mnt lofiumount /mnt lofimount file.ufs /mnt etc. #!/usr/bin/sh # # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [] [name of copyright owner] # # CDDL HEADER END # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Author: [EMAIL PROTECTED] # PATH=/usr/sbin:$PATH export PATH if [ ! -x /usr/sbin/lofiadm ] then echo "$0: Only supported on systems with lofiadm (Solaris 8+)" 2>&1 exit 1 fi usage () { echo "Usage: $0 [-o options] file dir" 1>&2 exit 1 } options= while getopts o: c do case "$c" in o) if [ -n "$options" ] then usage fi options="$OPTARG," ;; *) usage;; esac done shift `expr $OPTIND - 1` state=/var/run/.lofi-$LOGNAME if [ "$#" = 0 ] then cat $state exit fi f=$1 dir=$2 if [ ! -f "$f" -o ! -d "$dir" ] then usage fi case "$f" in /*) ;; *) f=`pwd`/$f;; esac lofi=`lofiadm -a $f` if [ "$lofi" = "" ] then exit 1 # Lofi printed an error fi fstyp=`fstyp $lofi` # Sanity case "$fstyp" in ufs | udf) opt=nosuid; fsck -o p $lofi;; pcfs) opt=foldcase,hidden;; hsfs) opt=ro,nosuid;; *) echo "$0: unexpected filesystem type \"$fstyp\"" 2>&1 lofiadm -d $lofi exit 1;; esac opt="$options$opt" if [ ! -w $f ] then opt="$opt,ro" fi if mount -F $fstyp -o $opt $lofi $dir then echo $lofi $dir $f >> $state exit 0 else lofiadm -d $lofi exit 1 fi #!/usr/bin/sh # # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [] [name of copyright owner] # # CDDL HEADER END # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Author: [EMAIL PROTECTED] # PATH=/usr/sbin:$PATH export PATH p=`basename $0` if [ ! -x /usr/sbin/lofiadm ] then echo "$p: Only supported on systems with lofiadm (Solaris 8+)" 2>&1 exit 1 fi state=/var/run/.lofi-$LOGNAME # Nothing to do? [ -f $state ] || exit 0 if [ $# -gt 1 ] then echo "Usage: $p [file|dir]" 1>&2 exit 1 fi > $state.new while read lofi dir file do if [ -z "$1" -o "$1" = "$dir" -o "$1" = "$file" ] && umount $dir then lofiadm -d $lofi echo "$p: Unmounted $dir ($file)" else echo $lofi $dir $file >> $state.new fi done < $state mv $state.new $state if [ -s $state ] then exit 1 else rm -f $state exit 0 fi ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount -o"
Chandan Thanks for your detailed explanation, but my requirement is a little different from what you have done here, I want to mount an IMG file, not an ISO file, and also I want to specify the mount offset during mounting. Thanks! Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chandan Maddanna Sent: 2007年12月12日 16:50 To: opensolaris-discuss@opensolaris.org Subject: Re: [osol-discuss] Does Solaris has similar Linux command "mount -o" Dear Frank, I use this small script i had written for mounting iso images. hope it helps.. Save the below contents in a file called "mountiso.sh" #!/usr/bin/bash mkdir $2 lofiadm -a $1 /dev/lofi/1 mount -F hsfs -o ro /dev/lofi/1 $2 && echo -e "\n\t I have mounted $1 under the folder $2\n\n" and then give this script file executable permission form command prompt. # chmod +x ./mountiso.sh and use this script to mount iso images... For example lets say you have an iso image called "/opt/testfile1.iso" and you want to mount it under /testfilecontents Than use the script as follows : # ./mountiso.sh /opt/testfile1.iso /testfilecontents and you are done, you will have all the contents of the iso visible under /testfilecontents folder. Best Regards, -- Chandan Maddanna This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount -o"
Dear Frank, I use this small script i had written for mounting iso images. hope it helps.. Save the below contents in a file called "mountiso.sh" #!/usr/bin/bash mkdir $2 lofiadm -a $1 /dev/lofi/1 mount -F hsfs -o ro /dev/lofi/1 $2 && echo -e "\n\t I have mounted $1 under the folder $2\n\n" and then give this script file executable permission form command prompt. # chmod +x ./mountiso.sh and use this script to mount iso images... For example lets say you have an iso image called "/opt/testfile1.iso" and you want to mount it under /testfilecontents Than use the script as follows : # ./mountiso.sh /opt/testfile1.iso /testfilecontents and you are done, you will have all the contents of the iso visible under /testfilecontents folder. Best Regards, -- Chandan Maddanna This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount
>BTW, if you are looking to extract "slices" of a boot CD ISO, >someone wrote a script for that (SPARC, anyway) some time back, >and I had written a C program (and IIRC posted it to Usenet - try >groups.google.com) to do the job too. Once thus extracted, one >could use lofiadm on the resulting individual files. IIRC, it doesn't >extract the "slice" at the start of the ISO, since one could get that >one by using lofiadm on the original ISO. > >To save anyone the trouble of digging it up, see > >http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/39f9de148ed0df23/6ad98d95e58 bf59c?lnk=st&q=group%3Acomp.unix.solaris+iso+slices#6ad98d95e58bf59c > >for a thread about some of this. When I did my lofi crypto prototype I also hacked in a "-o" option which pretty much does what you want. Not sure if that is still available; I think it would still be very useful. Casper ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount
> On Tue, 11 Dec 2007, Josh Lange wrote: > > > On Dec 11, 2007 1:25 AM, Zhang, Frank F > <[EMAIL PROTECTED]> wrote: > > > >> Does Solaris has similar Linux command "mount -o" > which can mount IMG > > file with specified offset? Or if I can get an > Utility to do this kind of > >> job? > >> > >> > >> > > Are you talking about mapping an image file to a > loop device, and mount it > > "-o loop" ? > > > > I haven't tried the loop arguement to mount on > solaris, but it's pretty easy > > to manually mapping a file to a loop device, and > then mounting the loop > > device. Check out: lofiadm(1M) > > > > As for mounting the image with an offset, I'm not > aware of how you are doing > > this in linux, and generally this isn't needed for > an iso image, but you may > > consider using dd(1M) to cut the image into > multiple files. > > On Solaris, it depends on the filesystem. FAT > filesystems within images of > PC-style partitioned disks can be mounted using the > 'normal' PCFS syntax > /dev/lofi/1:[c-z] but that functionality is limited > to PCFS. It's not a > generic "lofi thing". > > Although it should be - the request is not new, see: > > http://bugs.opensolaris.org/view_bug.do?bug_id=47650 > 9 > > and what's associated with it. > > > But then, there's always more than one way to do it > ... and in case of > what you can do right now, creating an iSCSI target > where the backing > store is your "partitioned image file", and then > using the iSCSI initiator > on the same machine to access it (as a sd-managed > disk) should allow you > to get the partitions. Sounds a bit like "poke around > the back, through > the ribs and up right into the eye", but hey ... :) > > Have you tried the iscsitadm / iscsiadm workaround ? > > FrankH. BTW, if you are looking to extract "slices" of a boot CD ISO, someone wrote a script for that (SPARC, anyway) some time back, and I had written a C program (and IIRC posted it to Usenet - try groups.google.com) to do the job too. Once thus extracted, one could use lofiadm on the resulting individual files. IIRC, it doesn't extract the "slice" at the start of the ISO, since one could get that one by using lofiadm on the original ISO. To save anyone the trouble of digging it up, see http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/39f9de148ed0df23/6ad98d95e58bf59c?lnk=st&q=group%3Acomp.unix.solaris+iso+slices#6ad98d95e58bf59c for a thread about some of this. This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount -o" which can mount IMG file with specified offset?
On Tue, 11 Dec 2007, Josh Lange wrote: > On Dec 11, 2007 1:25 AM, Zhang, Frank F <[EMAIL PROTECTED]> wrote: > >> Does Solaris has similar Linux command "mount -o" which can mount IMG >> file with specified offset? Or if I can get an Utility to do this kind of >> job? >> >> >> > Are you talking about mapping an image file to a loop device, and mount it > "-o loop" ? > > I haven't tried the loop arguement to mount on solaris, but it's pretty easy > to manually mapping a file to a loop device, and then mounting the loop > device. Check out: lofiadm(1M) > > As for mounting the image with an offset, I'm not aware of how you are doing > this in linux, and generally this isn't needed for an iso image, but you may > consider using dd(1M) to cut the image into multiple files. On Solaris, it depends on the filesystem. FAT filesystems within images of PC-style partitioned disks can be mounted using the 'normal' PCFS syntax /dev/lofi/1:[c-z] but that functionality is limited to PCFS. It's not a generic "lofi thing". Although it should be - the request is not new, see: http://bugs.opensolaris.org/view_bug.do?bug_id=4765069 and what's associated with it. But then, there's always more than one way to do it ... and in case of what you can do right now, creating an iSCSI target where the backing store is your "partitioned image file", and then using the iSCSI initiator on the same machine to access it (as a sd-managed disk) should allow you to get the partitions. Sounds a bit like "poke around the back, through the ribs and up right into the eye", but hey ... :) Have you tried the iscsitadm / iscsiadm workaround ? FrankH. > >> >> >> >> >> >> >> Thanks! >> >> Frank >> >> >> >> ___ >> opensolaris-discuss mailing list >> opensolaris-discuss@opensolaris.org >> > -- No good can come from selling your freedom, not for all the gold in the world, for the value of this heavenly gift far exceeds that of any fortune on earth. -- ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Does Solaris has similar Linux command "mount -o" which can mount IMG file with specified offset?
On Dec 11, 2007 1:25 AM, Zhang, Frank F <[EMAIL PROTECTED]> wrote: > Does Solaris has similar Linux command "mount -o" which can mount IMG > file with specified offset? Or if I can get an Utility to do this kind of > job? > > > Are you talking about mapping an image file to a loop device, and mount it "-o loop" ? I haven't tried the loop arguement to mount on solaris, but it's pretty easy to manually mapping a file to a loop device, and then mounting the loop device. Check out: lofiadm(1M) As for mounting the image with an offset, I'm not aware of how you are doing this in linux, and generally this isn't needed for an iso image, but you may consider using dd(1M) to cut the image into multiple files. > > > > > > > Thanks! > > Frank > > > > ___ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Does Solaris has similar Linux command "mount -o" which can mount IMG file with specified offset?
Does Solaris has similar Linux command "mount -o" which can mount IMG file with specified offset? Or if I can get an Utility to do this kind of job? Thanks! Frank ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org