Added a new ioctl to get the uuid for a filesystem and enabled
statvfs to return the fsid (which in this case is mp->m_dev).
Should be noted that uuid code in the kernel still needs work...
Ivan
Date: Tue Jul 11 00:27:23 PDT 2000
Workarea: sherman.melbourne.sgi.com:/b/ivanr/isms/slinx-xfs
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs
Modid: 2.4.0-test1-xfs:slinx:66331a
linux/fs/xfs/pseudo-inc/sys/uuid.h - 1.7
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/pseudo-inc/sys/uuid.h.diff?r1=text&tr1=1.7&r2=text&tr2=1.6&f=h
- add define UUID_STR_LEN
linux/fs/xfs/linux/xfs_uuid.c - 1.15
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_uuid.c.diff?r1=text&tr1=1.15&r2=text&tr2=1.14&f=h
- remove malloc for kernel uuid_to_string
these uuid functions still need cleaning up
linux/fs/xfs/linux/xfs_super.c - 1.72
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_super.c.diff?r1=text&tr1=1.72&r2=text&tr2=1.71&f=h
- add support for exporting f_fsid in the statfs structure
in this case it is mp->m_dev
linux/include/linux/xfs_fs.h - 1.5
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/include/linux/xfs_fs.h.diff?r1=text&tr1=1.5&r2=text&tr2=1.4&f=h
- add new ioctl XFS_IOC_GETFSUUID to return the uuid for a filesystem
linux/fs/xfs/linux/xfs_ioctl.c - 1.7
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_ioctl.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.6&f=h
- add support for new ioctl XFS_IOC_GETFSUUID which returns the
filesystem uuid
|