Cdrtools-2.01.01a13 ready with libfind
A new way of using mkisofs is now possible:
All:
- libschily now includes a fallback fnmatch() for better portability
This fnmatch() implementation has been taken from th BSD project.
Libfind:
- The libfind code (developed as part of the sfind(1) command) has been added
in order to support "mkisofs -find ..."
Mkisofs (By Jörg Schilling and James Pearson j.pearson@ge.ucl.ac.uk):
- mkisofs now includes libfind and allows to use the find(1) command line
syntay to be used.
The new -find option acts as a option separator. To the right of the
-find option, find(1) syntax is used. No other mkisofs option may
appear anymore.
Files are considered to be taken into the .ISO image in case that the
find(1) expression used on the command line yields TRUE.
In addition to the find(1) utility, libfind allows to modify the stat(2)
data for each file before it is included in the .ISO. The following
find(1) primaries are implemented for this feature:
-chmod mode/onum Modify the permissions for a file usinf the
chmod(1) syntax.
This primary always yields TRUE
-chown uname/uid Modify the owner for a file.
This primary always yields TRUE
-chgrp gname/gid Modify the group for a file.
This primary always yields TRUE
The command line: "mkisofs -o image.iso -R -J somedir"
may be written as: "mkisofs -o image.iso -R -J -find somedir"
to give the same results as before.
The command line:
mkisofs -o image.iso -R -J -find somedir -chmod a+r -chown root -chgrp 0
will ensure that all files will have at least read permission for all users
and set the user/group to 0.
The command line:
mkisofs -o image.iso -R -J -find somedir ( -type d -chown root ) -o -true
will change the owner of all directories to root, leaving other file
types untouched.
Graft points are not yet implemented in -find mode.
- removed fnmatch.c
mkisofs now uses the fnmatch() implementation from the OS if present
and the fallback version from libschily if fnmatch() is missing in the OS.
Jörg
--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni)
schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
--
To UNSUBSCRIBE, email to cdwrite-REQUEST@other.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@other.debian.org
Reply to: