Re: isofs patch

Riley Williams (rhw@MemAlpha.CX)
Wed, 16 Jun 1999 13:30:59 +0100 (GMT)


Hi Marius.

> Two things annoyed me with Joliet CD-ROMs:

> * All files were executable (mode=0444 fixed only files with
> dots in their names) despite the setting of `noexec' flag.

> * Often there would be 8.3 DOSish filenames in ALL UPPER CASE
> (at least on home made CD-Rs).

Neither of the above is a problem if the CD's were created with the
RockRidge extensions enabled, and that's the correct way to deal with
the above problems.

> So I wrote a patch for iso9660 fs which

> * removes execute permission from regular files when `noexec'
> is specified to mount

> * adds a new mount option, `lowercase' which when activated
> translates all-uppercase file names on Joliet CD-ROMs to
> lower case. Plain ISO9660 already has `map=normal', and Rock
> Ridge doesn't need this (being case sensitive et al), thus
> only Joliet CDs are affected.

Note that Joliet and RockRidge are not incompatible - I regularly
create CD's with both enabled, and they all work fine under both Linux
and Windows.

> If this interests anyone else, the patch can be found at

> http://www-public.osf.lt/~mgedmin/isofs.htm

> or (without useless introductions) directly at

> http://www-public.osf.lt/~mgedmin/isofs-2.2.9mg1.patch

> I'm not sure if this functionality should be added to the 2.2.x
> kernel series. It would be nice to have at least the `noexec'
> part (fat, vfat and msdos fs already do this).

> I'd appreciate comments (especially warnings like `it can go
> wrong if ...'). Since I'm not subscribed to this list (I like
> to read it on Kernel Traffic), CC: by mail would be very nice.
> Or just direct replies, if this topic doesn't deserve precious
> traffic on linux-kernel.

Hopefully, the above comments help.

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/