mounting ISO images in Solaris

So in the first script which mounts an ISO
I assume that the user has either rights - or like in my case I can use sudo to make the mount commands.

I furthermore assume that the user is not willing to enter the whole PATH for mounting the iso - and therefor I assume the command is started within the directory where the iso resists. I'm totally aware that I could have added some if-else to figure out ... but I just don't need it ;-)

so the command would be

cd <Directory where ISO is>
isomount <name_of_iso>

result is

/iso/<name_of_iso>/<content_of_iso>

Just download the script and put it into your execution PATH

So the second script is for undoing the mount, and undoing the lofiadm and cleaning up the isomount directory.

so the command would be - independend where you are in your filesystem

isoumount <name_of_iso>

Just download the script and put it into your execution PATH

If you like it - then I'm happy - if not or you think there is a better way - let me know.

Perhapse some time we can just open a nautilus/filemanager click right on an isofile and mount it to a "virtual device"



Kommentare:

Senden Sie einen Kommentar:
  • HTML Syntax: Ausgeschaltet
About

blincks and hints around my work

Search

Categories
Archives
« April 2014
MoDiMiDoFrSaSo
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Heute
Friends
News

No bookmarks in folder

Blogroll

No bookmarks in folder