Displaying 6 results from an estimated 6 matches for "xfs_supported_blocksize".
2015 Nov 15
0
[PATCH] extlinux/main.c: space chance
...deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index 26eb43c..ed359f1 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -393,11 +393,11 @@ int install_bootblock(int fd, const char *device)
if (sb5.sb_magicnum == *(u32 *)XFS_SB_MAGIC) {
if (be32_to_cpu(sb5.sb_blocksize) != XFS_SUPPORTED_BLOCKSIZE) {
fprintf(stderr,
- "You need to have 4 KiB filesystem block size for "
- " being able to install Syslinux in your XFS "
- "partition (because there is no enough space in MBR to "
- "determine where Syslinux bootsector can be installed "
- "...
2015 Nov 13
2
[patch] 6.03 extlinux/main.c typos
...*
- * Install the syslinux boot block on an fat, ntfs, ext2/3/4, btrfs, xfs,
+ * Install the syslinux boot block on a fat, ntfs, ext2/3/4, btrfs, xfs,
* and ufs1/2 filesystem.
*/
@@ -392,11 +392,11 @@
if (sb5.sb_magicnum == *(u32 *)XFS_SB_MAGIC) {
if (be32_to_cpu(sb5.sb_blocksize) != XFS_SUPPORTED_BLOCKSIZE) {
fprintf(stderr,
- "You need to have 4 KiB filesystem block size for "
- " being able to install Syslinux in your XFS "
- "partition (because there is no enough space in MBR to "
- "determine where Syslinux bootsector can be installed "
- "...
2015 Nov 15
4
[patch] 6.03 extlinux/main.c typos
On Fri, Nov 13, 2015 at 06:14:36AM +0100, Geert Stappers via Syslinux wrote:
> On Fri, Nov 13, 2015 at 05:05:26AM +0200, Ady via Syslinux wrote:
> > diff U3 syslinux-6.03/extlinux/main.c syslinux-6.03_typo/extlinux/main.c
> > --- syslinux-6.03/extlinux/main.c Mon Oct 06 16:27:44 2014
> > +++ syslinux-6.03_typo/extlinux/main.c Fri Nov 13 02:29:56 2015
>
> patch seen
>
2013 Jul 22
1
[PATCH 1/1 v2] Add UFS1/2 support to Extlinux installer.
...#include "xfs_types.h"
#include "xfs_sb.h"
+#include "ufs.h"
+#include "ufs_fs.h"
#include "misc.h"
#include "version.h"
#include "syslxint.h"
@@ -76,8 +78,10 @@
#define XFS_BOOTSECT_OFFSET (4 << SECTOR_SHIFT)
#define XFS_SUPPORTED_BLOCKSIZE 4096 /* 4 KiB filesystem block size */
-/* the btrfs partition first 64K blank area is used to store boot sector and
- boot image, the boot sector is from 0~512, the boot image starts after */
+/*
+ * the btrfs/ufs2 partition first 64K blank area is used to store boot sector
+ * and boot image,...
2013 Jul 12
2
[PATCH 001/001] Add UFS1/2 support to Extlinux installer.
...clude "xfs_types.h"
#include "xfs_sb.h"
+#include "ufs.h"
+#include "ufs_fs.h"
#include "misc.h"
#include "../version.h"
#include "syslxint.h"
@@ -76,8 +78,10 @@
#define XFS_BOOTSECT_OFFSET (4 << SECTOR_SHIFT)
#define XFS_SUPPORTED_BLOCKSIZE 4096 /* 4 KiB filesystem block size */
-/* the btrfs partition first 64K blank area is used to store boot sector and
- boot image, the boot sector is from 0~512, the boot image starts after */
+/*
+ * the btrfs/ufs2 partition first 64K blank area is used to store boot sector
+ * and boot image,...
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...*/
@@ -64,6 +69,13 @@
#define EXT2_SUPER_OFFSET 1024
#endif
+/* Since we have unused 2048 bytes in the primary AG of an XFS partition,
+ * we will use the first 0~512 bytes starting from 2048 for the Syslinux
+ * boot sector.
+ */
+#define XFS_BOOTSECT_OFFSET (4 << SECTOR_SHIFT)
+#define XFS_SUPPORTED_BLOCKSIZE 4096 /* 4 KiB filesystem block size */
+
/* the btrfs partition first 64K blank area is used to store boot sector and
boot image, the boot sector is from 0~512, the boot image starts after */
#define BTRFS_BOOTSECT_AREA 65536
@@ -295,7 +307,8 @@ int patch_file_and_bootblock(int fd, const char...