Displaying 20 results from an estimated 102 matches for "rootdir".
Did you mean:
root_dir
2011 Apr 03
3
Download the repo DAG of CentOS 5.5
hello
somebody might help to create a script to download the repo DAG of
CentOS 5.5 to my PC. I already did with OS, Update, and Extras packages.
I want to do with DAG repository.
I tried but I don't know much about scripts.
Thanks
Fidel
2004 Jul 19
1
Rsync: Directories become Symbolic Links
Hi all,
I have rsync'ed directory /rootdir/dirdir/ from Server1 to Server2, using cmd on Server2 "rsync
Server1:/rootdir/dirdir -avz /rootdir/dirdir". There were some sub-directories from Server1 got
updated to become the symbolic links. For example, directory /rootdir/dirdir/subdir1/ now becomes
the symbolic link /rootdir/di...
2015 Sep 09
1
[PATCH v1 1/1] extlinux: fix file descriptors leak
...100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -580,6 +580,7 @@ int ext2_fat_install_file(const char *path, int devfd, struct stat *rst)
goto bail;
}
+ close(fd);
free(file);
free(oldfile);
free(c32file);
@@ -778,7 +779,7 @@ static char * get_default_subvol(char * rootdir, char * subvol)
struct btrfs_ioctl_search_key *sk = &args.key;
struct btrfs_ioctl_search_header *sh;
int ret, i;
- int fd;
+ int fd = -1;
struct btrfs_root_ref *ref;
struct btrfs_dir_item *dir_item;
unsigned long off = 0;
@@ -797,6 +798,8 @@ static char * get...
2003 Aug 03
3
Include-from ?
Hello -
I just finished doing a search of the archives and couldn't seem to get
this answered.
Example, I have a root directory containing the following directories:
/Test1
/Test2
/Test3
I want to rsync only /Test2 and all subdirs under. So my include-from
file looks like:
+ Test2/*
- /*
This doesn't work as nothing is synced, and if I do a -vv it tells me
that nothing is being
2008 Jun 17
1
ldlinux: CurrentDir not set if syslinux.cfg is missing
...a config file (syslinux.cfg) modules are
not being found unless specified with a directory prefix (e.g. /pcitest.c32).
The reason is that CurrentDir is only set if there is a config file present. This is a
possible regression since commit 68eefb79e2cbb590ebf958dd0c50ce00b941abd2.
Before this change RootDir was used in searchdir and now it's CurrentDir unless
the filename starts with '/'. Possible fix is to set CurrentDir to RootDir if no config
file is found.
- Sebastian
--- core/ldlinux.asm.orig 2008-06-17 19:25:35.000000000 +0200
+++ core/ldlinux.asm 2008-06-17 19:36:13.000000000 +020...
2016 Jun 23
3
Operation not supported (95)
...04:27:10PM -0400, Kevin Korb wrote:
> If the filesystem doesn't support ACLs then don't use -A.
>
I did some search about this error before asking this question, and
in other case unsupported ACLs were indeed the cause. But btrfs
supports ACLs:
[root at kw al]# getfacl /mnt/backup/rootdir/var/log/journal/remote
getfacl: Removing leading '/' from absolute path names
# file: mnt/backup/rootdir/var/log/journal/remote
# owner: systemd-journal-remote
# group: systemd-journal-remote
# flags: -s-
user::rwx
group::r-x
other::r-x
default:user::rwx
default:group::r-x
default:group:adm...
2002 Aug 14
1
Selective sync
...--exclude options.
On the server host I have directories to replicate only if they match a
specific pattern ( date in different formats), they might be located 1
or 2 levels down from root directory and these parent directories (but
not files) have to be replicated too.
I understand, that given :
rootdir/*/2002-08-01
rootdir/*/*/1-Aug-02
rootdir/*/2002-08/01
on the server, I should pick these up from the client using include
file:
2002-08-01/
2002-08-01/*
1-Aug-02/
1-Aug-02/*
2002-08/01/
2002-08/01/*
in conjunction with --exclude=* on command line after include file is
mentioned. This does not wor...
2015 Sep 09
0
[PATCH v1 1/1] extlinux: fix file descriptors leak
...100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -580,6 +580,7 @@ int ext2_fat_install_file(const char *path, int devfd, struct stat *rst)
goto bail;
}
+ close(fd);
free(file);
free(oldfile);
free(c32file);
@@ -797,6 +798,8 @@ static char * get_default_subvol(char * rootdir, char * subvol)
}
if (ret <= 0) {
subvol[0] = '\0';
+ if (fd >= 0)
+ close(fd);
return NULL;
}
@@ -831,6 +834,8 @@ static char * get_default_subvol(char * rootdir, char * subvol)
if (ret < 0) {
fprintf(stderr,...
2008 Jul 09
1
[RESEND][PATCH] ldlinux: CurrentDir not set if syslinux.cfg is missing
...nux.cfg) modules are
> not being found unless specified with a directory prefix (e.g. /pcitest.c32).
> The reason is that CurrentDir is only set if there is a config file present. This is a
> possible regression since commit 68eefb79e2cbb590ebf958dd0c50ce00b941abd2.
> Before this change RootDir was used in searchdir and now it's CurrentDir unless
> the filename starts with '/'. Possible fix is to set CurrentDir to RootDir if no config
> file is found.
Actually it seems better to move this to the top of the "check for config file" block.
Initialize CurrentDir t...
2007 Nov 13
0
`chroot` doesn't do `cd` to destination rootdir
Was it intentional feature, or it is a bug?
Bug, because if, say initramfs `init` has
#
chroot /rootfs /bin/sh -i <>/rootfs/dev/tty2 1>&0 2>&0
#
without any prior `cd`, then current directory will be one of the
`init`, even if it is displayed by tools as `/' inside the chroot.
____
2008 Jul 16
1
[PATCH] isolinux: rename CurDir to CurrentDir
...0000 +0200
+++ syslinux-3.71-pre7/core/isolinux.asm 2008-07-13 19:53:11.000000000 +0200
@@ -111,7 +111,7 @@
alignb 4
ISOFileName resb 64 ; ISO filename canonicalization buffer
ISOFileNameEnd equ $
-CurDir resb dir_t_size ; Current directory
+CurrentDir resb dir_t_size ; Current directory
RootDir resb dir_t_size ; Root directory
FirstSecSum resd 1 ; Checksum of bytes 64-2048
ImageDwords resd 1 ; isolinux.bin size, dwords
@@ -891,7 +891,7 @@
mov eax,[trackbuf+156+2]
mov [RootDir+dir_lba],eax
- mov [CurDir+dir_lba],eax
+ mov [CurrentDir+dir_lba],eax
%ifdef DEBUG_MESSAGES...
2012 May 22
0
trouble with png image creation in R v2.14.0 on Red Hat 6
...e shell script runs through
without error (even creating and filling some output files), but no more
images are drawn.
I've simplified the instance to a bit of code below.
For example, this shell script works:
*#!/bin/csh -f*
*R --no-save <<Eoi*
*ow <- options("warn")*
*rootDir <- "$1"*
*filePrefix <- "$2"*
*
*
*filename <- paste(rootDir,"/",filePrefix,".examplePlot.png", sep="")*
*png(file=filename, width = 1600, height = 1070, units = "px",type=c("cairo"
))*
*
*
*errors <- matrix(nro...
2004 Oct 06
7
Re: IPsec problems with tunneled networks
class wrote on 06/10/2004 11:18:48:
> Hello, I have the following situation:
>
> 192.168.176.0/24 ------ A ========== B ------ 192.168.177.0/24
> 192.168.176.2 pop3 ipsec
> racoon
>
>
> policy: (Machine A and B)
> -------
> loc vpn ACCEPT
> vpn loc ACCEPT
> all
2004 Oct 06
7
Re: IPsec problems with tunneled networks
class wrote on 06/10/2004 11:18:48:
> Hello, I have the following situation:
>
> 192.168.176.0/24 ------ A ========== B ------ 192.168.177.0/24
> 192.168.176.2 pop3 ipsec
> racoon
>
>
> policy: (Machine A and B)
> -------
> loc vpn ACCEPT
> vpn loc ACCEPT
> all
2004 Oct 01
4
Re: Error: Your kernel and/or iptables does not not support policy match: ipsec
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
claas@rootdir.de wrote:
> Hello,
>
>
> I am trying to get ipsec with kernel 2.6.8.1 and shorewall 2.1.9 running,
> but I still have a problem:
>
> Validating hosts file...
> Error: Your kernel and/or iptables does not not support policy
match: ipsec
>
> I had a look for netfilter...
2016 Jun 23
2
Operation not supported (95)
...orts the following error message:
rsync: set_acl: sys_acl_delete_def_file(var/log/journal/remote): Operation not supported (95)
The full log is as follows:
[root at kw al]# /usr/bin/rsync --update -DHAErlptgo --relative --delete-during --verbose --itemize-changes /var/log/journal /mnt/backup/rootdir/
sending incremental file list
rsync: set_acl: sys_acl_delete_def_file(var/log/journal/remote): Operation not supported (95)
.d..t...... /var/log/
.d..tp..... /var/log/journal/
.d...p..... /var/log/journal/c892f90078ad480d902f236dfd220532/
>f..t...... /var/log/journal/c892f90078ad480d902f236dfd2...
2004 Oct 14
2
ipsec - report of success
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
claas@rootdir.de wrote:
> I am using kernel 2.6.6 native ipsec with racoon and shorewall 2.1.9
> in production for one week now. I just want to tell you that it seems
> to run stable here.
>
> I am going to extend my setup to a 3 gateway setup soon.
> Afterwards I will try to also get roadwarr...
2000 Apr 26
0
After upgrade to 2.0.6, Win98 users can't connect to Samba shares
...e Win'98 and the NT 4.0 machines have the plain password
registry patch applied.
Looking at the log files, the old version of Samba used to record this when
connecting from Win'98 & Win'95 to the read-only connection:
04/06/00 10:29:40 inspiron (169.228.93.215) connect to service rootdir as
user guest (uid=8123,gid=15) (pid 4521)
04/06/00 17:23:05 inspiron (169.228.93.215) closed connection to service
rootdir
Now, with 2.0.6, the log file for this particular Win'98 computer records
this instead:
[2000/04/26 15:38:08, 1] smbd/reply.c:(909)
Rejecting user 'adina':...
2016 Jun 24
2
Operation not supported (95)
...hare, you
> will be limited to what the SAMBA server supports and not all are
> configured to enable ACL support.
The 'backup' Samba share on the destination machine is configured with
inherit acls = yes
inherit permissions = yes
>
> >[root at kw al]# getfacl /mnt/backup/rootdir/var/log/journal/remote getfacl:
>
> This implies that the ACLs can be read, but it says nothing about whether
> the local system has the rights to delete the default ACLs from
> var/log/journal/remote. You need to test this with something like
>
> setfacl --remove-default \
&...
2011 Jul 12
0
[PATCH]: Use a general way to get the default subvolume for btrfs
...return -2;
+ }
+ fd = dirfd(dirstream);
+ } else {
+ fd = open(fname, O_RDWR);
+ }
+ if (fd < 0) {
+ return -3;
+ }
+ return fd;
+}
+
+/*
+ * Get the default subvolume of a btrfs filesystem
+ * rootdir: btrfs root dir
+ * subvol: this function will save the default subvolume name here
+ */
+static char * get_default_subvol(char * rootdir, char * subvol)
+{
+ struct btrfs_ioctl_search_args args;
+ struct btrfs_ioctl_search_key *sk = &args.key;
+ struct btrfs_ioctl_search_header *sh...