Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
In order to see contents of an iso
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1186

PostPosted: Sun Sep 22, 2019 8:54 am    Post subject: In order to see contents of an iso Reply with quote

I am cleaning up the file system on my desktop machine. I would like to see "inside" the files which are iso, but right now I have no way of doing so. I think it is disabled in kernel (at least according to the quick check). But in order to not have to burn them and mount them via a secondary device, and be able to mount directly on the live filesystem is the setting needed for this considered BLK LOOP or something like that?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54831
Location: 56N 3W

PostPosted: Sun Sep 22, 2019 8:58 am    Post subject: Reply with quote

LIsLinuxIsSogood,

Thats it. If your kernel has support,
Code:
ls /dev/loo*
will list loop0 and friends.
You will need ISO9660 filesystem support too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181

PostPosted: Mon Sep 23, 2019 11:24 am    Post subject: Reply with quote

@LIsLinuxIsSogood:

You need to enable the CONFIG_ISO9660_FS option in the kernel (File systems > CD-ROM/DVD Filesystems > ISO 9660 CDROM file system support).

Then you can mount .iso images using a temporary empty directory as a target:

Code:
mount -o loop,ro image.iso /mnt
Back to top
View user's profile Send private message
steve_v
Guru
Guru


Joined: 20 Jun 2004
Posts: 416
Location: New Zealand

PostPosted: Wed Sep 25, 2019 5:09 am    Post subject: Re: In order to see contents of an iso Reply with quote

LIsLinuxIsSogood wrote:
I am cleaning up the file system on my desktop machine. I would like to see "inside" the files which are iso, but right now I have no way of doing so.
Three options off the top of my head:
The loopback block driver in the kernel (requires root, making a mountpoint etc., relatively poor format support). CONFIG_BLK_DEV_LOOP and CONFIG_ISO9660_FS
CDEmu/VHBA (DE support, user-mode mounting, can read many formats, but it's an out-of-tree kernel module).
A decent archiver / file manager (midnight commander can browse .iso files, as can ark on KDE)
_________________
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum