Subject: Re: cd into file [was: Re: CVS commit: src]
To: Bill Studenmund <wrstuden@netbsd.org>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: tech-kern
Date: 08/26/2005 01:10:23
--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Jul 09, 2005 at 11:00:01PM -0700, Bill Studenmund wrote:
> On Sat, Jul 09, 2005 at 01:18:37PM +0200, Hubert Feyrer wrote:
> I think a cleaner way to handle this is how a number of other OSs do it. 
> If you have a file that is also a container (an archive file), they can 
> mount said file. When I download image files on my MacOS X laptop, they 
> show up as other disks on the desktop.
> 
> I'm not against the idea of us mounting such a file system on top of the 
> container file. However that strikes me as a very different semantic from 
> cd'ing into a normal file. :-)

i'd rather go without mounting; then permissions, mountpoints etc get in 
the way for easy acceess.

Propably a VOP_LOOKUP `overload' like syncfs and friends could, when asked 
for VOP_LOOKUP of a name on a VREG file, check for common archive formats 
and automatically insert ustarfs or whatever its called.

Idea?

Cheers,
Reinoud

--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQw5P14KcNwBDyKpoAQIYRQf/cJkunBdK+XG6WmKxfZo2o90B+LA67oq7
7yrWT0pCudes58BTRZlAyP13yvWDrOJVAmi6Gz3yTY5gaA+s4x40Lvq/tQq3pbDs
BdYrSUS6NMief3zgpYgUS/o/9Kdxl9/pRb0thU6veUO9X90xqhmq9c4P0iRM3xF7
b+O84QXoW4JbDwD3Sr8iQvvt5It73gVB6G5dXazy8yEFlrIrV99Bqc16trHc6YG2
K2KFCODnJVTnT0QxZrPG8D6BHsEUrY6ODrg1YQfa2d7a0hwG6QZkSjluJ0JMawaZ
EsklhGmfPql2UEYSJ3gWNvm+vwLZV0r7Apit9jCP3q8W4V2DJJUbzQ==
=lUBT
-----END PGP SIGNATURE-----

--oyUTqETQ0mS9luUI--