table of contents
CMSFS-FUSE(1) | General Commands Manual | CMSFS-FUSE(1) |
NAME¶
cmsfs-fuse - File system for z/VM CMS disksSYNOPSIS¶
mounting:¶
- cmsfs-fuse DEVICE MOUNTPOINT [OPTIONS]
unmounting:¶
- fusermount -u MOUNTPOINT
-
DESCRIPTION¶
Use the cmsfs-fuse command to provide read and write access to files stored on a z/VM CMS disk. The cmsfs-fuse file system translates the record-based EDF file system on the CMS disk to UNIX semantics. After mounting the CMS disk, you can use common Linux tools to access the files on the disk. You can enable automatic conversions of text files from EBCDIC to ASCII.OPTIONS¶
general options:¶
- -o opt,[opt...]
- Fuse or mount command options. For fuse options see below, for mount options see mount(8).
- -h or --help
- Print usage information, then exit.
- -v or --version
- Print version information, then exit.
cmsfs-fuse options:¶
- -a or --ascii
- Interpret all files on the CMS disk as text files and convert them from EBCDIC to ASCII.
- --from
- The codepage of the files on the CMS disk. If this option is not specified the default codepage CP1047 is used. For a list of all available codepages see iconv --list.
- --to
- The codepage to which CMS files should be converted to. If this option is not specified the default codepage ISO-8859-1 is used. For a list of all available codepages see iconv --list.
- -t or --filetype
- Interpret files on the CMS disk as text files based on the
file type and convert them from EBCDIC to ASCII. The file types that are
treated as text files are taken from a configuration file (see section
CONFIGURATION FILES).
Applicable FUSE options (version 2.8):¶
- -d or -o debug
- Enable debug output (implies -f)
- -f
- Foreground operation
- -o allow_other
- Allow access by other users
- -o allow_root
- Allow access by root
- -o nonempty
- Allow mounts over non-empty file/dir
- -o default_permissions
- Enable permission checking by kernel
- -o max_read=N
- Set maximum size of read requests
- -o kernel_cache
- Cache files in kernel
- -o [no]auto_cache
- Enable caching based on modification times
- -o umask=M
- Set file permissions (octal)
- -o uid=N
- Set file owner
- -o gid=N
- Set file group
- -o max_write=N
- Set maximum size of write requests
- -o max_readahead=N
- Set maximum readahead
- -o async_read
- Perform reads asynchronously (default)
- -o sync_read
- Perform reads synchronously
- -o big_writes
- Enable write operations with more than 4 KB
EXTENDED ATTRIBUTES¶
Use the following extended attributes to handle the CMS characteristics of a file:RESTRICTIONS¶
rename and creat: Uppercase file names are enforced.CONFIGURATION FILES¶
cmsfs-fuse uses a configuration file for automatic translation based on the file type. Upon startup, cmsfs-fuse evaluates the file .cmsfs-fuse/filetypes.conf in the user's home directory. If the file does not exist cmsfs-fuse evaluates the file /etc/cmsfs-fuse/filetypes.conf.EXAMPLES¶
To mount the CMS disk with the name dasde enter:# cmsfs-fuse /dev/dasde /mnt
# cmsfs-fuse -t /dev/dasde /mnt
# cmsfs-fuse --to=UTF-8 -a /dev/dasde /mnt
# fusermount -u /mnt
# getfattr -n user.record_format /mnt/PROFILE.EXEC
# setfattr -n user.record_lrecl -v 80 /mnt/PROFILE.EXEC
SEE ALSO¶
attr (5), getfattr (1), setfattr(1), iconv(1) and Linux on System z: Device Drivers, Features and CommandsFebruary 2010 | s390-tools |