search for: tmp_dir

Displaying 20 results from an estimated 30 matches for "tmp_dir".

Did you mean: temp_dir
2013 Dec 17
9
[PATCH] Btrfs-progs: receive: fix the case that we can not find subvolume
...@ -199,6 +200,10 @@ static int process_snapshot(const char *path, const u8 *uuid, u64 ctransid, char uuid_str[BTRFS_UUID_UNPARSED_SIZE]; struct btrfs_ioctl_vol_args_v2 args_v2; struct subvol_info *parent_subvol = NULL; + char *dev = NULL; + char tmp_name[15] = "btrfs-XXXXXX"; + char tmp_dir[30] = "/tmp"; + char *full_path = NULL; ret = finish_subvol(r); if (ret < 0) @@ -253,13 +258,47 @@ static int process_snapshot(const char *path, const u8 *uuid, u64 ctransid, } }*/ - args_v2.fd = openat(r->mnt_fd, parent_subvol->path, - O_RDONLY | O_NOATIME); + ret...
2005 Apr 04
0
io timeout after 180 seconds
...he max is 1 (backing up only once a day) then don't rotate anything ~ if ($tmp_max > 1) { ~ // go through directories in reverse order and rotate them ~ natsort($a_dirList); ~ $a_dirList = array_reverse($a_dirList); ~ foreach ($a_dirList as $tmp_dir) { ~ $tmp_key = preg_replace(':.*\.(\d+)$:', '\\1', $tmp_dir); ~ // rotate off any of the old backups ~ if (($tmp_key + 1) >= $tmp_max) { ~ if ($b_debug || $b_dryRun) { ~ $tmp_msg = 'Rotati...
2011 Jul 11
0
stuck with permissions in using FileUtils
...= File.dirname(@clip_file) # => (".. /ls/myapp/ public/system/clips/data/65/original" ) basename = File.basename(@clip_file, File.extname(@clip_file)) # => NickFaldo the ffmpeg transcoding process, is writing an output file into the tmp dir , without any problem @tmp_dir = FileUtils.mkdir_p(Rails.root.join("tmp", "converted", "#{clip[:id]}")) # => ( "../clips/tmp/65i" ) @tmp_file = File.join(@tmp_dir, "#{basename}.mp4") # => ( "../clips/tmp/65/NickFaldo.mp4" ) until then everything w...
2004 Jan 31
5
Shorewall 2.0.0 Alpha 1
http://shorewall.net/pub/shorewall/Alpha/shorewall-2.0.0 ftp://shorewall.net/pub/shorewall/Alpha/shorewall-2.0.0 -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net
2012 Jun 28
2
R help, using R to build choropleth
...ons on the map by population. I possess the shape file of the country, and also the population data, however, i am having trouble to create the plot, below is my code: population=read.csv("nz2.csv") population names(population) nz=readShapeSpatial((sprintf('nz-geodetic-marks',tmp_dir))) nz$land_distr mapnames = nz$land_distr mapnamesnew=as.character(mapnames) popnames =as.character(mapnamesnew) pop =population$People pop2=as.numeric(pop) popdich = ifelse(pop2 < 100000, "red", "blue") popnames.lower = tolower(popnames) cols=popdich[match(mapnames,po...
2017 Feb 20
0
mdadm vs raidcheck
...mistake shell errors as a failure to write? Also, in trying to figure out what those errors mean, I looked at the file specified in the errors, /usr/share/rear/layout/save/GNU/Linux/21_raid_layout.sh, where I find line 44 and a couple above it read: ndevices=$( grep "Raid Devices" $TMP_DIR/mdraid | tr -d " " | cut -d ":" -f "2") totaldevices=$( grep "Total Devices" $TMP_DIR/mdraid | tr -d " " | cut -d ":" -f "2") let sparedevices=$totaldevices-$ndevices it appears that "ndevices" and "totaldevices...
2017 Feb 21
3
[PATCH 1/3] dib: unset all temporary dirs envvars in fake-sudo
...dex df83ba1..d15cd19 100644 --- a/dib/dib.ml +++ b/dib/dib.ml @@ -301,6 +301,11 @@ if [ -z \"$preserve_env\" ]; then esac done fi +# TMPDIR needs to be unset, regardless of -E +unset TMPDIR +# ... and do that also to the other \"TMPDIR\"-like variables +unset TMP +unset TMP_DIR cmd=$1 shift -- 2.9.3
2006 Jan 22
12
Problems with File_column
Hi, Rails - newbie here.. I''m setting up an app and am trying to use file_column to upload a picture with an item and I''m running into several problems. (Background: I''m running Locomotive Rails under OS X 10.4.4, and using Safari) I followed the directions to add the necessary items, then found out that I had to add the item to make the form tag be a multipart
2003 Aug 12
1
Shorewall Keeps sending false IP Address Conflict
...LIST_DISPOSITION= + MACLIST_LOG_LEVEL= + TCP_FLAGS_DISPOSITION= + TCP_FLAGS_LOG_LEVEL= + RFC1918_LOG_LEVEL= + MARK_IN_FORWARD_CHAIN= + SHARED_DIR=/usr/share/shorewall + FUNCTIONS= + VERSION_FILE= + LOGFORMAT= + LOGRULENUMBERS= + stopping= + have_mutex= + masq_seq=1 + nonat_seq=1 + aliases_to_add= + TMP_DIR=/tmp/shorewall-25579 + rm -rf /tmp/shorewall-25579 + mkdir -p /tmp/shorewall-25579 + chmod 700 /tmp/shorewall-25579 + trap ''rm -rf /tmp/shorewall-25579; my_mutex_off; exit 2'' 1 2 3 4 5 6 9 Loading /usr/share/shorewall/functions... Processing /etc/shorewall/params ... Processing /...
2005 Apr 02
1
[PATCH] VMX support for MMIO/PIO in VM8086 mode
...t, 0, 1, 0); + send_mmio_req(gpa, &mmio_inst, 0, IOREQ_READ, 0); return ; } else { printk("handle_mmio - EXIT: movz error!\n"); @@ -515,10 +580,32 @@ } if (!strncmp((char *)mmio_inst.i_name, "movs", 4)) { - int tmp_dir; + unsigned long addr = 0; + int dir; - tmp_dir = ((va == inst_decoder_regs->edi) ? IOREQ_WRITE : IOREQ_READ); - send_mmio_req(gpa, &mmio_inst, 0, tmp_dir, 1); + if (vm86) { + unsigned long seg; + + __vmread(GUEST_ES_SELECTOR, &seg); + if (((seg << 4) |...
2006 Mar 07
10
[PREVIEW] SmallCap
...mponents If present, copies components directory to server. -i, --script If present, copies script directory to server. USE WITH CAUTION -g, --config If present, copies config directory to server. USE WITH CAUTION -t, --temp-dir=TMP_DIR If present, sets the temp directory for caching the files prior to prop. Note that the root directories must exist. Default: System temp directory -f=CONFIG_FILE Specifies the optional confi...
2020 Jul 22
1
Migrate GPO policies does not work properly.
...????? 4.11.9-3.el7 @samba_custom samba-winbind-modules.x86_64??????? 4.11.9-3.el7 @samba_custom tdb-tools.x86_64??????????????????? 1.4.2-2.el7 @samba_custom I use the following comand to migrate my GPO policies. samba-tool gpo restore /BACKUP_PATH? -U Administrator --password PASSWORD --tmpdir=/TMP_DIR -d 4 A got some warnings in a? few policies. Traceback (most recent call last): ? File "/usr/lib64/python3.6/site-packages/samba/netcmd/gpo.py", line 1362, in restore_from_backup_to_local_dir ??? parser.load_xml(ET.fromstring(dtd_header + data)) ? File "/usr/lib64/python3.6/sit...
2006 Mar 26
3
Using a Gem in your App without installing to the system
Does anyone know how to use a gem without installing it to the rails installation? For example, I can download the Money gem package from http://dist.leetsoft.com/ but if I don''t have the ability to install a gem at my hosting provider, how can I use the gem in my app? Cheers, Dan
2004 Dec 05
13
Adding dynamically more than one host at once?
Hi, it seems not to be possible to add more than one host at once to a zone. So shorewall add br0:eth0:192.168.2.10,eth0:192.168.2.11 work fails, since "br0:eth0:192.168.2.10,eth0" is interpreted as one interface. --snip -- iptables v1.2.9: interface name `eth0:192.168.2.10,eth0'' must be shorter than IFNAMSIZ (15) Try `iptables -h'' or ''iptables
2017 Mar 22
0
[PATCH 4/5] dib: require a Python interpreter
...~network ~debug ~fs_type ~checksum + ~python destdir libdir fakebindir loaded_elements all_elements element_paths = let network_string = if network then "" else "1" in let checksum_string = if checksum then "1" else "" in @@ -123,6 +124,7 @@ export TMP_DIR=\"${TMPDIR}\" export DIB_DEBUG_TRACE=%d export FS_TYPE=%s export DIB_CHECKSUM=%s +export DIB_PYTHON_EXEC=%s elinfo_out=$(<${VIRT_DIB_OURPATH}/elinfo_out) eval \"$elinfo_out\" @@ -158,7 +160,8 @@ $target_dir/$script (quote dib_vars) debug fs_type - che...
2010 Aug 28
1
ANNOUNCE: Facter 1.5.8
...Ruby 1.9: broken unittest, String#each no longer exists 2f016f3 Fixed #3541 - Ruby 1.9: broken unittest, unexpected invocation: Process.waitall() 84d3d9f Fixed #3445 - Facter does not handle solaris branded zones properly b5a8de0 Fix for #3411 install.rb should not put "." first in the tmp_dirs 8ea33eb Fixed #3447 - OVS and OEL not matching in operatingsystemrelease aeee83c Fixed #3410 - Warnings in rake spec 8bf8cb5 Fixes #3397 - is_virtual fact does not detect Linux-VServer 62b6773 Add kvm support to virtual fact dca615c fixes #2573, #2085, #1291 - fixes domain and fqdn facts reso...
2006 Jan 19
0
file_column error: tmp file created but not actual
...@errors=#<ActiveRecord::Errors:0x40a053ec @errors={"image"=>["invalid image", "invalid image"]}, @base=#<Wallpaper:0x40a37d24 ...>>, @image_state=#<FileColumn::TempUploadedFile:0x40a14978 @filename="Chic_Skype.jpg", @attr="image", @tmp_dir="1137655234.461399.9849", @instance=#<Wallpaper:0x40a37d24 ...>, @magick_errors=["invalid image"], @dir="script/../config/../public/wallpaper/image/tmp/1137655234.461399.9849", @just_uploaded=true, @options_method=:image_options>, @attributes={"downloads&...
2017 Feb 21
0
[PATCH 3/3] dib: rename "aux" to "in_target.aux"
...,8 +176,8 @@ shift %s # system variables -export HOME=$mysysroot/tmp/aux/perm/home -export PATH=$mysysroot/tmp/aux/hooks/bin:$PATH +export HOME=$mysysroot/tmp/in_target.aux/perm/home +export PATH=$mysysroot/tmp/in_target.aux/hooks/bin:$PATH export TMP=$mysysroot/tmp export TMPDIR=$TMP export TMP_DIR=$TMP @@ -190,12 +190,12 @@ export IMAGE_NAME=\"%s\" export DIB_IMAGE_ROOT_FS_UUID=%s export DIB_IMAGE_CACHE=$HOME/.cache/image-create export DIB_ROOT_LABEL=\"%s\" -export _LIB=$mysysroot/tmp/aux/lib -export _PREFIX=$mysysroot/tmp/aux/elements +export _LIB=$mysysroot/tmp/in_ta...
2020 Jul 20
2
Migrate GPO policies does not work properly.
Hi, I migrated from my the main domain controller.I use Centos 7 server with tranquilrepository. The destination server is a test enviorement with different domain name but the same system specifications. I can browse the sysvol network share without any problem. If i want to check the sam.ldb file on the test server I got these errors. WARNING:Module [samba_dsdb] not found - do you need to
2006 Mar 30
7
RE: [RFC][PATCH] create an initrd for dom0 in install.shscript
...to /boot. -d root_device Root device. Defaults to the device from which the root_dir is mounted. Overrides the rootdev enviroment variable if set. -s size Add splash animation and bootscreen to initrd. -t tmp_dir Temporary directory. Defaults to /var/tmp. -D interface Run dhcp on the specified interface. -I interface Configure the specified interface statically. -a acpi_dsdt Attach compiled ACPI DSDT (Differentiated System Descriptio...