search for: mntpoint

Displaying 20 results from an estimated 45 matches for "mntpoint".

2002 Feb 05
0
About Length of Mountpoint(mounting smb shares on linux mntpoint)
Hi, I am writing a clone of the "smbmnt". This is to facilitate mounting of a smb mountpoint with a FiST-Style (stackable) file system. smbmnt.c(ver samba-2.0.7), uses fullpath() to check for the MAXPATHLEN of the mount-point specified. Unless i've made a mistake, the MAXPATHLEN is defined in "includes.h" which is of len 256. fullpath() checks this mount-point name to
2015 Jun 24
2
[PATCH v3] New API: btrfs_replace
.../daemon/btrfs.c index 20e5e6b..509a323 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2060,3 +2060,39 @@ do_btrfs_image (char *const *sources, const char *image, return 0; } + +int +do_btrfs_replace (const char *srcdev, const char *targetdev, + const char* mntpoint) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *err = NULL; + CLEANUP_FREE char *path_buf = NULL; + int r; + + path_buf = sysroot_path (mntpoint); + if (path_buf == NULL) { + reply_with_perror ("malloc"); + return -1; + }...
2015 Jun 10
2
[PATCH] New API: btrfs_replace_start
...b/daemon/btrfs.c index 39392f7..acc300d 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2083,3 +2083,43 @@ do_btrfs_image (char *const *sources, const char *image, return 0; } + +int +do_btrfs_replace_start (const char *srcdev, const char *targetdev, + const char* mntpoint, int force) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *err = NULL; + CLEANUP_FREE char *path_buf = NULL; + int r; + + path_buf = sysroot_path (mntpoint); + if (path_buf == NULL) { + reply_with_perror ("malloc"); + retu...
2015 Jun 15
2
[PATCH v2] New API: btrfs_replace
.../daemon/btrfs.c index 39392f7..eba336b 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2083,3 +2083,40 @@ do_btrfs_image (char *const *sources, const char *image, return 0; } + +int +do_btrfs_replace (const char *srcdev, const char *targetdev, + const char* mntpoint) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *err = NULL; + CLEANUP_FREE char *path_buf = NULL; + int r; + + path_buf = sysroot_path (mntpoint); + if (path_buf == NULL) { + reply_with_perror ("malloc"); + return -1;...
2012 Jul 16
2
[PATCH V4] NEW API: add new api xfs_info
...+ guestfs_int_xfsinfo *ret; + char *buf, *p; + size_t i; + + ret = calloc (1, sizeof *ret); + if (ret == NULL) { + reply_with_error ("calloc"); + return NULL; + } + + for (i = 0; lines[i] != NULL; ++i) { + if (p = strstr (lines[i], "meta-data=")) { + ret->mntpoint = split_strdup (p + 10); + if (ret->mntpoint == NULL) goto error; + } else if (p = strstr (lines[i], "isize=")) { + buf = split_strdup (p + 6); + if (buf == NULL) goto error; + if (parse_uint32 (&ret->inodesize, buf) == -1) + goto error; + } else...
2015 Jun 17
2
Re: [PATCH v2] New API: btrfs_replace
.../daemon/btrfs.c >> @@ -2083,3 +2083,40 @@ do_btrfs_image (char *const *sources, const char *image, >> >> return 0; >> } >> + >> +int >> +do_btrfs_replace (const char *srcdev, const char *targetdev, >> + const char* mntpoint) >> +{ >> + const size_t MAX_ARGS = 64; >> + const char *argv[MAX_ARGS]; >> + size_t i = 0; >> + CLEANUP_FREE char *err = NULL; >> + CLEANUP_FREE char *path_buf = NULL; >> + int r; >> + >> + path_buf = sysroot_path (mntpoint); >> +...
2014 Jul 15
2
Re: working with mount-local
2014-07-15 20:59 GMT+04:00 Richard W.M. Jones <rjones@redhat.com>: > Not sure I understand the question, but the guestfish mount-local-run > command will block guestfish until another process runs > 'fusermount -u /mntpoint' (or better, 'guestunmount /mntpoint'). I understand that guestfish process will be locked. But in case of go that uses lightweight goroutines, is that possible to replace fork with goroutine ? -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru jabber: vase@selfip.ru
2014 Jul 15
3
working with mount-local
Hi. I'm try to use guestfish inside golang (extract some files from image and create squashfs from root). Now i can't understand how can i work with mount-local/mount-local-run. Where i can specify what partition i'm export to local? Does i need firstly mount /dev/sda1 to / for example and after that run mount-local /tmp/xxx ? Second - i'm work with guestfish via writing to stdin
2015 Jun 12
2
Re: [PATCH] New API: btrfs_replace_start
...b/daemon/btrfs.c >> @@ -2083,3 +2083,43 @@ do_btrfs_image (char *const *sources, const char *image, >> >> return 0; >> } >> + >> +int >> +do_btrfs_replace_start (const char *srcdev, const char *targetdev, >> + const char* mntpoint, int force) >> +{ >> + const size_t MAX_ARGS = 64; >> + const char *argv[MAX_ARGS]; >> + size_t i = 0; >> + CLEANUP_FREE char *err = NULL; >> + CLEANUP_FREE char *path_buf = NULL; >> + int r; >> + >> + path_buf = sysroot_path (mntpoint);...
2015 Jun 11
0
Re: [PATCH] New API: btrfs_replace_start
...t; --- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -2083,3 +2083,43 @@ do_btrfs_image (char *const *sources, const char *image, > > return 0; > } > + > +int > +do_btrfs_replace_start (const char *srcdev, const char *targetdev, > + const char* mntpoint, int force) > +{ > + const size_t MAX_ARGS = 64; > + const char *argv[MAX_ARGS]; > + size_t i = 0; > + CLEANUP_FREE char *err = NULL; > + CLEANUP_FREE char *path_buf = NULL; > + int r; > + > + path_buf = sysroot_path (mntpoint); > + if (path_buf == NULL) { >...
2015 Jun 24
0
[PATCH] New API: btrfs_replace
.../daemon/btrfs.c index 20e5e6b..509a323 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2060,3 +2060,39 @@ do_btrfs_image (char *const *sources, const char *image, return 0; } + +int +do_btrfs_replace (const char *srcdev, const char *targetdev, + const char* mntpoint) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *err = NULL; + CLEANUP_FREE char *path_buf = NULL; + int r; + + path_buf = sysroot_path (mntpoint); + if (path_buf == NULL) { + reply_with_perror ("malloc"); + return -1; + }...
2013 Dec 18
2
fuse in libivrt-lxc
Hi, I created an LXC domain via libvirt (on Fedora 20), but when I'm trying to mount a FUSE filesystem, like sshfs, I'm getting a following error: $ sshfs 172.30.15.2:/<mntdir> /<mntpoint> fuse: device not found, try 'modprobe fuse' first I see that there's no /dev/fuse device. Is there a way to make it work? Can I get it working via libvirt domain xml file settings or should I use something else, for example, edit cgroups settings directly somehow? Thanks in advanc...
2015 Jun 16
0
Re: [PATCH v2] New API: btrfs_replace
...--- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -2083,3 +2083,40 @@ do_btrfs_image (char *const *sources, const char *image, > > return 0; > } > + > +int > +do_btrfs_replace (const char *srcdev, const char *targetdev, > + const char* mntpoint) > +{ > + const size_t MAX_ARGS = 64; > + const char *argv[MAX_ARGS]; > + size_t i = 0; > + CLEANUP_FREE char *err = NULL; > + CLEANUP_FREE char *path_buf = NULL; > + int r; > + > + path_buf = sysroot_path (mntpoint); > + if (path_buf == NULL) { > + rep...
2013 Feb 06
2
fail to display xfs quotas instead of smbcquotas on Win clients
Hi Samba 3.6.3 on Ubuntu. Filesystem is xfs, grpquota and usrquota are enabled. root at host:# repquota /mntpoint displays the correct data (see below). In smb.conf I defined max protocol = SMB2. When running smbcquotas //host/share -L I'm getting displayed a value of 16GB for every user share. This is the value that is displayed on the windows 7 boxes when looking at the network shares in Start -> Com...
2015 Jun 18
0
Re: [PATCH v2] New API: btrfs_replace
...,40 @@ do_btrfs_image (char *const *sources, const >>> char *image, >>> >>> return 0; >>> } >>> + >>> +int >>> +do_btrfs_replace (const char *srcdev, const char *targetdev, >>> + const char* mntpoint) >>> +{ >>> + const size_t MAX_ARGS = 64; >>> + const char *argv[MAX_ARGS]; >>> + size_t i = 0; >>> + CLEANUP_FREE char *err = NULL; >>> + CLEANUP_FREE char *path_buf = NULL; >>> + int r; >>> + >>> + path_buf =...
2015 Jun 23
1
Re: [PATCH v2] New API: btrfs_replace
...st *sources, const >>>> char *image, >>>> >>>> return 0; >>>> } >>>> + >>>> +int >>>> +do_btrfs_replace (const char *srcdev, const char *targetdev, >>>> + const char* mntpoint) >>>> +{ >>>> + const size_t MAX_ARGS = 64; >>>> + const char *argv[MAX_ARGS]; >>>> + size_t i = 0; >>>> + CLEANUP_FREE char *err = NULL; >>>> + CLEANUP_FREE char *path_buf = NULL; >>>> + int r; >>>&g...
2015 Jun 12
0
Re: [PATCH] New API: btrfs_replace_start
...,3 +2083,43 @@ do_btrfs_image (char *const *sources, const char *image, > >> > >> return 0; > >> } > >> + > >> +int > >> +do_btrfs_replace_start (const char *srcdev, const char *targetdev, > >> + const char* mntpoint, int force) > >> +{ > >> + const size_t MAX_ARGS = 64; > >> + const char *argv[MAX_ARGS]; > >> + size_t i = 0; > >> + CLEANUP_FREE char *err = NULL; > >> + CLEANUP_FREE char *path_buf = NULL; > >> + int r; > >> + > &gt...
2010 May 12
1
automount complaints
Folks, I've been getting complaints in our logfiles, such as May 12 10:07:07 <servername> automount[3415]: update_negative_cache: key ".git" not found in map. a) Is there a FAQ on automount that might cover some of this? Googling hasn't found one for me? b) Any clues as to what might be causing this? I see a lot of it, in spurts. mark
2007 Feb 18
0
[PATCH] umount: Add -l option for lazy unmount
...eak; + case 'l': + flag |= MNT_DETACH; + break; case '?': fprintf(stderr, "%s: invalid option -%c\n", progname, optopt); @@ -32,7 +35,7 @@ int main(int argc, char *argv[]) } while (1); if (optind + 1 != argc) { - fprintf(stderr, "Usage: %s [-f] mntpoint\n", progname); + fprintf(stderr, "Usage: %s [-f] [-l] mntpoint\n", progname); return 1; } -- 1.5.0.57.g09e9d
1999 May 01
4
Bad smbclient put performance and smbfs write performance
...t matter what the OS of the server I'm mounting from is. Mounting a share from Win95 or from another Linux/Samba-2.0.3 machine gets the same results. I mount the share using this command for win95 (I don't have the w95 fixes compiled into the kernel) `smbmount //server/share -c 'mount mntpoint -f 3755'` and the same thing without the '-f 3755' when mounting from another Samba Server. Interestingly, mounting a Samba share from the same machine gets good performance. I've dabbled with win95 registry settings, and smb.conf settings, but the results are exactly the same no...