Displaying 7 results from an estimated 7 matches for "validate_device_btrfs".
2014 Dec 09
2
[PATCH] check for default subvolid and act accordingly on install
...lt;jordan at beaveris.me>
---
extlinux/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/extlinux/main.c b/extlinux/main.c
index 09740bd..c3d9612 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -1261,6 +1261,9 @@ static const char *find_device_btrfs(const char *path)
if (!validate_device_btrfs(pfd, dfd))
rv = (const char *)devinfo.path; /* It's good! */
+ /* check for default subvolume and act accordingly */
+ get_default_subvol("/", subvol);
+
err:
if (pfd >= 0)
close(pfd);
--
2.1.3
-Beaver
2015 Apr 04
0
[PATCH] check for default subvolid and act accordingly on install
...nux/main.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/extlinux/main.c b/extlinux/main.c
> index 09740bd..c3d9612 100644
> --- a/extlinux/main.c
> +++ b/extlinux/main.c
> @@ -1261,6 +1261,9 @@ static const char *find_device_btrfs(const char *path)
> if (!validate_device_btrfs(pfd, dfd))
> rv = (const char *)devinfo.path; /* It's good! */
>
> + /* check for default subvolume and act accordingly */
> + get_default_subvol("/", subvol);
> +
> err:
> if (pfd >= 0)
> close(pfd);
> --
Jordan, the in...
2016 Jul 22
1
Support for btrfs multi-device - in meantime a useful error message
Attempting to install syslinux on a multi-device (raid1) btrfs volume
gives the head-scratching error of:
=============================
/boot/syslinux is device /dev/sda1
extlinux: path /boot/syslinux doesn't match device /dev/sda1
=============================
extlinux/main.c::validate_device_btrfs()::line 1247 returns -1 along
with all of the other error conditions, causing this set of
contradictory messages, and giving no indication of what the problem
is.
2013 Jul 22
1
[PATCH 1/1 v2] Add UFS1/2 support to Extlinux installer.
...e;
break;
}
+
+ break;
+ case UFS1:
+ case UFS2:
+ if (!strcmp(mnt->mnt_type, "ufs") && !stat(mnt->mnt_fsname, &dst) &&
+ dst.st_rdev == dev) {
+ done = true;
+ }
+
+ break;
case NONE:
break;
}
@@ -1187,7 +1222,7 @@ static int validate_device_btrfs(int pfd, int dfd)
return -1;
return 0; /* It's good! */
-}
+}
static const char *find_device_btrfs(const char *path)
{
@@ -1276,7 +1311,7 @@ static const char *get_devname(const char *path)
fprintf(stderr, "%s: cannot create device %s\n", program, devname);...
2013 Jul 12
2
[PATCH 001/001] Add UFS1/2 support to Extlinux installer.
...k;
}
+
+ break;
+ case UFS1:
+ case UFS2:
+ if (!strcmp(mnt->mnt_type, "ufs") && !stat(mnt->mnt_fsname, &dst) &&
+ dst.st_rdev == dev) {
+ done = true;
+ break;
+ }
+
+ break;
case NONE:
break;
}
@@ -1187,7 +1218,7 @@ static int validate_device_btrfs(int pfd, int dfd)
return -1;
return 0; /* It's good! */
-}
+}
static const char *find_device_btrfs(const char *path)
{
@@ -1276,7 +1307,7 @@ static const char *get_devname(const char *path)
fprintf(stderr, "%s: cannot create device %s\n", program, devname);...
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Wrote the documentation below. I think it would be good to push the doc to
the wiki as soon as the UFS support gets merged.
Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install)
-----
There is a confusion about the name of this file system, then I decided to
contact the author who replied:
"The name has always been
2014 May 29
3
[PATCH v2 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Change since v1:
* Fix bug on dentry structure (thank you specification; btw, sarcasm), and
consequently a bug on ufs_readdir.
* Add readlink support (applied tests for symlinks whose destionation path
were stored in blk pointers and the file itself).
* Several improvements.
Wrote the documentation below. I think it would be good to