Displaying 20 results from an estimated 46 matches for "subpath".
2002 Jul 31
2
Patronizing the exclude * option
...hs. So the question is how
can I extract every parent directory of this path?
I tried writing a recursive routine that accepts /startdirectory as
$1 and the pathname of filetobecopied as $2. Here is latest
incarnation, which doesn't work right, of course.
#!/bin/sh
rootpath="$1"
subpath="$2"
if [ $rootpath -ef $subpath ]
then
echo "end of recursion"
echo $subpath
else
echo $subpath
SUBDIRECTORY=$(/usr/bin/dirname $subpath)
echo $SUBDIRECTORY
/root/scripts/subdirname $SUBDIRECTORY
fi
--
Maurice Volaski, mvolaski@aecom.yu.edu
Computing Support, Ros...
2008 Aug 26
3
shadow_copy for homes share
...of its uniqueness.
Here is the homes share:
[homes]
comment = Home Directories
read only = No
create mask = 0700
directory mask = 0700
browseable = no
fstype = XFS 1.2
vfs object = shadow_copy
shadow_copy: path = /samba/homes/
shadow_copy: subpath = %D+%U
The users authenticate against Active Directory. The path to the
snapshots is located at /samba/homes/@GMT-YYYY.MM.DD-HH.MM.SS Using the
subpath each individual files should be located at
/samba/homes/@GMT-YYYY.MM.DD-HH.MM.SS/DOMAIN+user but the previous
versions tab is missing on th...
2007 Apr 16
0
4 commits - libswfdec/swfdec_shape.c libswfdec/swfdec_stroke.c test/dump.c
...ath for style %u, starting at %d %d", style,
+ paths[start].x_start, paths[start].y_start);
goto fail;
}
}
@@ -794,6 +795,14 @@ swfdec_shape_initialize_from_sub_paths (
{
guint i;
+#if 0
+ g_print ("\n\n");
+ for (i = 0; i < path_array->len; i++) {
+ SubPath *path = &g_array_index (path_array, SubPath, i);
+ g_print ("%d %d => %d %d - %u %u %u\n", path->x_start, path->y_start, path->x_end, path->y_end,
+ path->fill0style, path->fill1style, path->linestyle);
+ }
+#endif
swfdec_shape_accumulate_fills (shape,...
2012 Dec 13
4
[PATCH V3] libxenstore: filter watch events in libxenstore when we unwatch
XenStore puts in queued watch events via a thread and notifies the user.
Sometimes xs_unwatch is called before all related message is read. The use
case is non-threaded libevent, we have two event A and B:
- Event A will destroy something and call xs_unwatch;
- Event B is used to notify that a node has changed in XenStore.
As the event is called one by one, event A can be handled before
2006 Jan 31
2
Creating a web service with AWS
...n ask it to do anything I get this:
http://localhost:3000/HelloPerson
Routing Error
No route for path: "HelloPerson"
Failure reasons:
<ActionController::Routing::Route ":controller/service.wsdl" when
{:action=>"wsdl"}> failed because no controller found at subpath
helloperson
<ActionController::Routing::Route ":controller/:action/:id" ||
{:id=>nil, :action=>"index"}> failed because no controller found at
subpath helloperson
Any ideas what else I need to do?
thanks,
-ben
2007 Dec 10
0
5 commits - libswfdec/jpeg libswfdec/swfdec_as_interpret.c libswfdec/swfdec_bits.c libswfdec/swfdec_cached.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c libswfdec/swfdec_flash_security.c libswfdec/swfdec_image.c
..._shape_parser.c b/libswfdec/swfdec_shape_parser.c
index 90e09ef..4eba39a 100644
--- a/libswfdec/swfdec_shape_parser.c
+++ b/libswfdec/swfdec_shape_parser.c
@@ -272,8 +272,8 @@ swfdec_shape_parser_finish (SwfdecShapeParser *parser)
if (style->draw == NULL)
continue;
if (style->subpaths) {
- swfdec_style_finish (style, (SwfdecSubPath *) parser->subpaths->data,
- parser->subpaths2->len ? (SwfdecSubPath *) parser->subpaths->data : NULL, FALSE);
+ swfdec_style_finish (style, (SwfdecSubPath *) (void *) parser->subpaths->data,
+ parser->subpa...
2005 Mar 19
2
routing problem 1.8.2/0.10.1/webrick?
...route issue (havent modified
the default routes file):
Routing Error
No route for path: "new"
Failure reasons:
<ActionController::Routing::Route ":controller/service.wsdl" when
{:action=>"wsdl"}> failed because no controller found at subpath new
<ActionController::Routing::Route ":controller/:action/:id" ||
{:id=>nil, :action=>"index"}> failed because no controller found at
subpath new
Then I try: localhost/users?action=new and that IS working.
Im guessing there is a simple modification I need t...
2012 Dec 14
1
[PATCH V5] libxenstore: filter watch events in libxenstore when we unwatch
.../xenstore/xenstore.h
@@ -27,6 +27,27 @@
#define XS_OPEN_READONLY 1UL<<0
#define XS_OPEN_SOCKETONLY 1UL<<1
+/*
+ * Setting XS_UNWATCH_FILTER arranges that after xs_unwatch, no
+ * related watch events will be delivered via xs_read_watch. But
+ * this relies on the couple token, subpath is unique.
+ *
+ * XS_UNWATCH_FILTER clear XS_UNWATCH_FILTER set
+ *
+ * Even after xs_unwatch, "stale" After xs_unwatch returns, no
+ * instances of the watch event watch events with the same
+ * may be delivered. token and with the same subpath
+ *...
2012 Dec 14
1
[PATCH V4] libxenstore: filter watch events in libxenstore when we unwatch
.../xenstore/xenstore.h
@@ -27,6 +27,27 @@
#define XS_OPEN_READONLY 1UL<<0
#define XS_OPEN_SOCKETONLY 1UL<<1
+/*
+ * Setting XS_UNWATCH_FILTER arranges that after xs_unwatch, no
+ * related watch events will be delivered via xs_read_watch. But
+ * this relies on the couple token, subpath is unique.
+ *
+ * XS_UNWATCH_FILTER clear XS_UNWATCH_FILTER set
+ *
+ * Even after xs_unwatch, "stale" After xs_unwatch returns, no
+ * instances of the watch event watch events with the same
+ * may be delivered. token and with the same subpath
+ *...
2012 Aug 02
0
[PATCH 1/3] ALPHA: make sector size dynamic in extlinux
..._size;
else if (!sysfs_get_offset(devfd, &geo->start)) {
- /* OK */
+ geo->start /= (sector_size / SECTOR_SIZE);
}
return rv;
@@ -220,6 +232,7 @@ static int patch_file_and_bootblock(int fd, const char *dir, int devfd)
struct fat_boot_sector *sbs;
char *dirpath, *subpath, *xdirpath;
int rv;
+ unsigned sector_size;
dirpath = realpath(dir, NULL);
if (!dirpath || stat(dir, &dirst)) {
@@ -262,7 +275,8 @@ static int patch_file_and_bootblock(int fd, const char *dir, int devfd)
dprintf("subpath = %s\n", subpath);
totalbytes =...
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512.
Currently it fixes extlinux, MBR for GPT and ext partitions.
Other code is unaffected.
This set of patches has been tested on a read Dell machine running a beta
firmware.
2013 Mar 11
12
Error: stack level too deep
I''m running a previously working set of modules with the Puppet master
version 3.1.0-rc2.
I''m getting the Error: stack level too deep
Here is a chunk of the debug
Debug: Scope(Class[Zabbix]): Retrieving template zabbix/zabbix.conf.php.erb
Debug:
template[/etc/puppet/environments/production/modules/zabbix/templates/zabbix.conf.php.erb]:
Bound template variables for
2007 Jun 06
1
add inverse recursive feature or do a mkdir -p/install -D -d ?
...n "${path}" | sed -e 's,/$,,')
pathdepth=$(echo -n "${path}" | sed -e 's,[^/],,g' | wc -c)
echo "${path}"
for (( i=1; ${i} < ${pathdepth}; i=$(( ${i}+1 )) )); do
fpath=$(( ${pathdepth} - ${i} ))
subpath=$(echo -n "${path}" | cut -d "/" -f1-${fpath})
if [ ! -z "${subpath}" ]; then
echo "${subpath}"
fi
done
}
function doublecrushedpath() {
src="${1:?give a src path please}"...
2005 Mar 07
0
Failed route on 0.10.1
...caffold for an object and click on "New" on the list page:
Routing Error
No route for path: "new"
Failure reasons:
<ActionController::Routing::Route ":controller/service.wsdl" when
{:action=>"wsdl"}> failed because no controller found at subpath new
<ActionController::Routing::Route ":controller/:action/:id" ||
{:id=>nil, :action=>"index"}> failed because no controller found at
subpath new
I''m on Ubuntu Linux, Ruby 1.8.2, and Rails 0.10.1.
2005 Mar 07
0
Routing error follow-up
...t, or show, etc.), I get (url =
http://localhost:3000/recipes/new):
Routing Error
No route for path: "new"
Failure reasons:
<ActionController::Routing::Route ":controller/service.wsdl" when
{:action=>"wsdl"}> failed because no controller found at subpath new
<ActionController::Routing::Route ":controller/:action/:id" ||
{:id=>nil, :action=>"index"}> failed because no controller found at
subpath new
I don''t get it. This worked on Saturday. I''ve even tried uninstalling
and reinstalling rails (an...
2013 Mar 13
1
2 questions about svg output
...ich is unacceptable
for my purposes. (Interestingly, text() in cairo_pdf() gets saved as text.)
Is there a way to save text as text in svg?
And paths also is what I plot a lot. I know there is segments(), which plots
disconnected segments, and things like polypath(), which create closed paths
(and subpaths). These are all very useful, but is there a function to draw
a multi-segment path without closing it? That is, without connecting the
last vertex to the first one?
Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-sign...
2013 Nov 05
2
[PATCH tftp-hpa] Add --forbid-get option to disable downloads
In my tftp usage I'm using the server to collect device
configurations but I don't want once the files are uploaded
to be accessible for download.
I've solved my problem by adding --forbid-get/-F option which
disables file downloads.
--
Georgi Chorbadzhiyski | http://georgi.unixsol.org/ | http://github.com/gfto/
-------------- next part --------------
2012 Aug 02
0
[PATCH 2/3] ALPHA: first try to fix adv problem
...++++++++++-----
1 files changed, 35 insertions(+), 5 deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index e40b4d7..61eaad1 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -275,7 +275,8 @@ static int patch_file_and_bootblock(int fd, const char *dir, int devfd)
dprintf("subpath = %s\n", subpath);
totalbytes = get_size(devfd);
- sector_size = get_sector_size(devfd);
+ /* FIXME support greater sector sizes for BTRFS */
+ sector_size = fs_type == BTRFS ? SECTOR_SIZE : get_sector_size(devfd);
get_geometry(devfd, totalbytes, sector_size, &geo);...
2020 Feb 26
3
unlink() on "~" removes the home directory
...lling unlink on the local "~" directory, and then your home is gone.
But you would not create a directory named "~", that is just asking
for trouble. Well, surely, _intentionally_ you would not do that.
Unintentionally, you might. E.g. something like this is enough:
# Create a subpath within a base directory
badfun <- function(base = ".", path) {
dir.create(file.path(base, path), recursive = TRUE, showWarnings = FALSE)
}
badfun(path = "~/foo")
(If you did run this, be very careful how you remove the directory called "~"!)
A real example is `R...
2013 Nov 25
22
[PATCH 0/4] Coverity fixes for tools/libxl
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
--
1.7.10.4