search for: probe_ocfs

Displaying 1 result from an estimated 1 matches for "probe_ocfs".

2004 Feb 04
3
[PATCH] Adding ocfs support to blkid
...ng support for the Oracle Cluster File System (ocfs) # -------------------------------------------- # diff -Nru a/lib/blkid/probe.c b/lib/blkid/probe.c --- a/lib/blkid/probe.c Wed Feb 4 00:21:03 2004 +++ b/lib/blkid/probe.c Wed Feb 4 00:21:03 2004 @@ -312,6 +312,36 @@ return 1; } +static int probe_ocfs(int fd __BLKID_ATTR((unused)), + blkid_cache cache __BLKID_ATTR((unused)), + blkid_dev dev, + struct blkid_magic *id __BLKID_ATTR((unused)), + unsigned char *buf) +{ + struct ocfs_volume_header ovh; + struct ocfs_volume_label ovl; + + if (lseek(fd, 0, SEEK_SET) != 0)...