NAME sdtmedia_format - The CDE Format Utility for Removable Media SYNOPSIS sdtmedia_format -d raw_device -m mount_point DESCRIPTION The sdtmedia_format utility is a removable media formatter for use within CDE. It provides an easy-to-use interface designed to give access to the standard formatting commands. sdtmedia_format does not give the user full access to all formatting options (see rmformat(1) ). It allows the user to select the type of low level formatting to be done (Quick or Long), enter a label for the medium, and select which file system the user wants on the medium (PCFS, UFS, UDFS and additionally for floppies only NEC DOS ). PCFS and UDFS allow information to be stored and transferred between dif- ferent platforms and Operating Systems. As Solaris slices are not portable across Platforms or OS's, you are not allowed alter the slices for these file systems. UFS is not portable and so the user is allowed to configure the slices on a medium when they select UFS as the File System (see sdtmedia_slice(1) ). OPTIONS The sdtmedia_format utility defines a number of command-line parameters that must be entered to use the utility. -d <raw_device> This is the path to the raw device and would generally be in the form /vol/dev/rdsk/c0t6d0 -m <mount_point> This is the path to where the medium is mounted, and would generally be in the form /cdrom/cdrom0 FILES /usr/dt/bin/sdtmedia_format This is the executable for the CDE Media Formatter. /usr/dt/app-defaults/<LANG>/Sdtformat_media This file includes the application defaults for the CDE Media Formatter. EXAMPLES sdtmedia_format -d /vol/dev/rdsk/c0t6d0 -m /cdrom/cdrom0 RETURN VALUES Upon sucessful completion sdtmedia_format returns zero, oth- erwise the return value is non-zero. ENOTSUP (48) Operation not Supported errno will be set to this value when the operation is not supported. For example, set_protection_status() for a floppy device is not supported. ENXIO ( 6) No such device errno will be set to this value when the requested device name does not exist. EACCESS (13) Can not open device/ errno will be set to this value when user does not have per- mission for performing the requested operation. EIO (5) I/O Error errno will be set to this value when an I/O error occurs while performing the requested operation. RM_NOTSUP (154) Device not Supported errno will be set to this value when the requested device name is of unknown type. RM_FIP (153) Format in progress. : errno will be set to this value if any operation (except check_format_status()) is attempted when a format operation is in progress. RM_FNIP (152) Format not in progress. errno will be set to this value if check_format_status() is called when format operation is not in progress. SEE ALSO sdtmedia_slice(1), sdtmedia_prot(1), sdtmedia_props(1), dtfile(1), sdtvolcheck(1), vold(1), rmformat(1), mkfs(1), mkfs_pcfs(1), mkfs_ufs(1), mkfs_udfs(1), label_it(1)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |