[Debburn-changes] r481 - in cdrkit/trunk: . 3rd-party/dirsplit
Eduard Bloch
blade at alioth.debian.org
Sun Nov 26 00:13:30 CET 2006
Author: blade
Date: 2006-11-26 00:13:29 +0100 (Sun, 26 Nov 2006)
New Revision: 481
Modified:
cdrkit/trunk/3rd-party/dirsplit/dirsplit
cdrkit/trunk/Changelog
Log:
file symlinks support in dirsplit
Modified: cdrkit/trunk/3rd-party/dirsplit/dirsplit
===================================================================
--- cdrkit/trunk/3rd-party/dirsplit/dirsplit 2006-11-25 23:06:18 UTC (rev 480)
+++ cdrkit/trunk/3rd-party/dirsplit/dirsplit 2006-11-25 23:13:29 UTC (rev 481)
@@ -288,9 +288,10 @@
next unless (eval("\$f=~$opt_filter;"));
}
- # directory, may still be a symlink. With $opt_follow do always follow,
- # otherwise check it is not a symlink.
- if(-d $f && ( $opt_follow || !-l $f) ) {
+ if(-l $f && ! $opt_follow) {
+ push(@files, $f);
+ }
+ elsif(-d $f) {
push(@dirs, $f);
}
else {
@@ -484,7 +485,7 @@
4: like 2, but the max. size of the atoms is limited to $max (storing the
rest on another medium)
- -F|--follow Follow directory symlinks. File symlinks not supported yet.
+ -F|--follow Follow symlinks. Use with care!
-b|--blksize NUMBER, block size of the target filesystem (currently $bsize).
-o|--overhead NUMBER, overhead caused by directory entries (as factor for the
filename length, default: 50, empiricaly found for Joliet+RR
Modified: cdrkit/trunk/Changelog
===================================================================
--- cdrkit/trunk/Changelog 2006-11-25 23:06:18 UTC (rev 480)
+++ cdrkit/trunk/Changelog 2006-11-25 23:13:29 UTC (rev 481)
@@ -14,6 +14,7 @@
(RemainsOfLibSchily).
* reenabled selection of the DVD driver, accidentaly disabled in 1.0, when
beeing in non-verbose mode
+ * made dirsplit work with file symlinks
[ Christian Fromme ]
* big cleanup, phase I, getting rid from Cstyle function definitions in
More information about the Debburn-changes
mailing list