[syslinux] [PATCH 1/1 v2] Add UFS1/2 support to Extlinux installer.

Matt Fleming matt at console-pimps.org
Mon Jul 22 09:15:09 PDT 2013


On Sun, 21 Jul, at 11:08:34PM, Raphael S.Carvalho wrote:
> It's needed to enumerate both UFS1/2 since they have different magic numbers
> and super block offsets.
> Besides, UFS2 can be installed in the 0-64k range like BTRFS, whereas
> UFS1 can't. UFS2 has no cow feature unlike BTRFS.
> 
> Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com>
> ---
>  extlinux/main.c        |   79 ++++++++++---
>  extlinux/ufs.h         |   26 ++++
>  extlinux/ufs_fs.h      |  307 ++++++++++++++++++++++++++++++++++++++++++++++++
>  libinstaller/syslxfs.h |    4 +-
>  4 files changed, 396 insertions(+), 20 deletions(-)
>  create mode 100644 extlinux/ufs.h
>  create mode 100644 extlinux/ufs_fs.h

Thanks, I've queued this and your other UFS patch up for 6.02.

One note, I deleted ufs_readlink() because it was unused and causing the
following warning,

core/fs/ufs/ufs.c: In function ‘ufs_readlink’:
core/fs/ufs/ufs.c:281:52: warning: unused parameter ‘buf’ [-Wunused-parameter]
core/fs/ufs/ufs.c: At top level:
core/fs/ufs/ufs.c:281:12: warning: ‘ufs_readlink’ defined but not used [-Wunused-function]

-- 
Matt Fleming, Intel Open Source Technology Center


More information about the Syslinux mailing list