Displaying 6 results from an estimated 6 matches for "fspath".
Did you mean:
fpath
2011 Jul 21
10
[PATCH v5 0/8] Btrfs scrub: print path to corrupted files and trigger nodatasum fixup
While testing raid-auto-repair patches I''m going to send out later, I just found
the very last bug in my current scrub patch series:
Changelog v4->v5:
- fixed a deadlock when fixup is taking longer while scrub is about to end
Original message follows:
------------------------
This patch set introduces two new features for scrub. They share the backref
iteration code which is the
2011 Jul 07
5
[PATCH v1 0/2] Btrfs-progs: commands "resolve inode" and "resolve logical"
The kernel patch series just sent (Subject: "Btrfs: scrub: print path to
corrupted files and trigger nodatasum fixup") introduces two new ioctls to
do in-kernel filesystem path construction. This series provides the
corresponding userspace changes, adding two new commands to the btrfs utility:
--
btrfs resolve inode [-v] <inode> <path>
resolves an <inode> to all
2012 Nov 15
0
[PATCH] btrfs-progs: fix 32bit int/pointer cast warnings
...<stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/ioctl.h>
#include <errno.h>
@@ -44,7 +45,7 @@ static int __ino_to_path_fd(u64 inum, int fd, int verbose, const char *prepend)
ipa.inum = inum;
ipa.size = 4096;
- ipa.fspath = (u64)fspath;
+ ipa.fspath = (uintptr_t)fspath;
ret = ioctl(fd, BTRFS_IOC_INO_PATHS, &ipa);
if (ret) {
@@ -168,7 +169,7 @@ static int cmd_logical_resolve(int argc, char **argv)
loi.logical = atoll(argv[optind]);
loi.size = size;
- loi.inodes = (u64)inodes;
+ loi.inodes = (uintptr_t...
2010 Jun 30
3
[PATCH 1/2] Add new augeas directory with grub device.map lens
...l
diff --git a/augeas/device_map.aug b/augeas/device_map.aug
new file mode 100644
index 0000000..090edd5
--- /dev/null
+++ b/augeas/device_map.aug
@@ -0,0 +1,28 @@
+(* Parsing grub's device.map *)
+
+module Device_map =
+ autoload xfm
+
+ let sep_tab = Sep.tab
+ let eol = Util.eol
+ let fspath = Rx.fspath
+ let del_str = Util.del_str
+
+ let comment = Util.comment
+ let empty = Util.empty
+
+ let dev_name = /(h|f|c)d[0-9]+(,[0-9a-zA-Z]+){0,2}/
+ let dev_hex = /0x[0-9a-fA-F]+/
+ let dev_dec = /[0-9]+/
+
+ let device = del_str "(" . key ( dev_name | dev_hex | dev_dec...
2020 Jul 23
4
samba-tool domain backup offline stalls
...grep --color=auto
python
root 14795 0.0 0.6 143248 94216 2 I+J 10:05 0:05.59
/usr/local/bin/python3.7 -m trace --trace /usr/local/bin/samba-tool doma
The code immediately before the point the offline script stalls is:
--- modulename: os, funcname: fsencode
os.py(812): filename = fspath(filename) # Does type-checking of
`filename`.
os.py(813): if isinstance(filename, str):
os.py(814): return filename.encode(encoding, errors)
subprocess.py(1466): if os.path.dirname(executable):
--- modulename: posixpath, funcname: dirname
posixpath.py(156):...
2007 Jul 17
3
Small problem with src/lib/mountpoint.c [now with patch attached!]
Greetings -
[SIGH: I hit the "Send" button instead of "Attach". Here's Take 2...]
Whilst playing with getting quotas from NFS-mounted filestores I've
just discovered a slight problem with src/lib/mountpoint.c
I had things working on a Solaris 10 test machine which had the
mailstore mounted 'normally' using an entry in /etc/vfstab.
However when I changed