MountUnmount file systems¶
Manually start the required file system driver, if it is not running already. Invoke the mount command as follows depending on the file system type.
|FFS||mount /dev/da4s1 /mnt|
|EXT2FS||mount –t ext2fs /dev/da4s1 /mnt|
|XFS||mount –t xfs /dev/da4s1 /mnt|
|reiserfs|| mount –t reiserfs –o ro /dev/da4s1 /mnt
There is no read-write support for reiserfs
|winfs||mount –t winfs C:\TEMP /mnt|
|nfs||mount –t nfs hostname:/share /mnt|
winfs requires the file system used for creating inodes to be mounted on /cachefs. To create this file system for FFS using file c:\crossmeta\inodes and a size of 40MB with maxium inodes, type the following commands.
C:\> newfs –s 83886080 –F c:\crossmeta\inodes –i 256 ino C:\> losetup loop1 c:\crossmeta\inodes C:\> mount /dev/loop1 /cachefs
You can use unmount command on the device name or directory to unmount the file system. If there are programs with open files unmount will fail with busy error code.