[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Loop mount question.



Hi!

On Thu Apr 24, 2003 at 11:28:45PM -0500, Ramasubramanian Ramesh wrote:
>   Is there a way to loop mount a .zip or .tgz file so that I can look
> inside without having to unzip or untar? In other words, what exactly is
> the requirement on a file for it to be loop mountable.

See mount(8). Only filesystem images are loopback mountable (eg. ISO
images, floppy images, ...).

A quick way to look into zip, tar.gz, ... is using less. Insert
following line into your .bashrc (or whatever shell you are using):

eval $(lesspipe)

and after resourcing your .bashrc ($ source ~/.bashrc) you are able to
use less as nearly everything viewer.

so long
Thomas

-- 
 .''`.  Obviously we do not want to leave zombies around. - W. R. Stevens
: :'  : Thomas Krennwallner <djmaecki at ull dot at>
`. `'`  1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B
  `-    http://bigfish.ull.at/~djmaecki/

Attachment: pgphR6m3DbBCv.pgp
Description: PGP signature


Reply to: