jfs.c revision 7e7bd3dccbfe8f79e25e5c1554b5bc3a9aaca321
/*
libparted - a library for manipulating disk partitions
Copyright (C) 2001, 2007 Free Software Foundation, Inc.
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <config.h>
#define _JFS_UTILITY
#include "jfs_types.h"
#include "jfs_superblock.h"
#define JFS_SUPER_SECTOR 64
#if ENABLE_NLS
# include <libintl.h>
#else
#endif /* ENABLE_NLS */
static PedGeometry*
{
union {
struct superblock sb;
char bytes[512];
} buf;
return NULL;
return NULL;
} else {
return NULL;
}
}
#ifndef DISCOVER_ONLY
static int
{
char buf[512];
}
#endif /* !DISCOVER_ONLY */
static PedFileSystemOps jfs_ops = {
#ifndef DISCOVER_ONLY
.clobber = jfs_clobber,
#else
#endif
};
static PedFileSystemType jfs_type = {
.name = "jfs",
};
void
{
}
void
{
}