5.6. Mounting a Local Windows Hard Disk Filesystem

If your system has a Windows partition on one of its hard disks, you can mount it using Webmin so that all the files are easily accessible to UNIX users and programs. Windows 95, 98 and ME all use the older vfat format by default, called a Windows 95 filesystem by Webmin. Windows NT, 2000, and XP, however, use the more advanced ntfs filesystem format (called Windows NT filesystem) which only a few Linux distributions support.

1.
On the main page of the Disk and Network Filesystems module, select either Windows 95 Filesystem or Windows NT Filesystem from the drop-down box of filesystem types, and click the Add mount button. A form will appear for entering the mount point, source, and options.

2.
In the Mounted As field, enter the directory on which you want the filesystem to be mounted. The directory should be either nonexistent or empty because any files that it currently contains will be hidden once the filesystem is mounted.

3.
If you want the filesystem to be mounted at boot time, select Save and mount at boot for the Save Mount option. If you want it to be permanently recorded but not mounted at boot, select Save. Select Don't save if this is to be only a temporary mount.

4.
For the Mount now? option, select Mount if you want the filesystem to be mounted immediately, or Don't mount if you just want it to be recorded for future mounting at boot time.

5.
For the Windows 95 Filesystem or Windows NT Filesystem field, click on the Disk option and select the partition that has been formatted for your new filesystem. All IDE and SCSI disks, RAID devices, and LVM logical volumes will appear in the list.

You can also click on the Other device option and enter the path to the device file for your filesystem, like /dev/hda2.

6.
Select any options that you want to enable. Some useful ones are:

User files are owned by Because the vfat filesystem format has no concept of users and groups, all files in the mounted filesystem will, by default, be owned by root. To change this, enter a different UNIX username for this option.

Group files are owned by Like the previous option, this controls the group ownership of all files in the mounted filesystem.

File permissions mask The binary inverse in octal of the UNIX permissions that you want files in the mounted filesystem to have. For example, entering 007 would make files readable and writable by their user and group, but totally inaccessible to everyone else. This option is not available for Windows NT filesystems.

7.
Click the Create button at the bottom of the page to mount and/or record the filesystem. If all goes well, you will be returned to the filesystems list, otherwise an error will be displayed explaining what went wrong.

Because Windows 95 filesystems have no concept of file ownership, and Windows NT filesystems have ownership information that is unsupported by Linux, it is impossible to change the user, group, or permissions on files in a mounted filesystem.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.216.7