Mount filesystems
The concept of mounting file systems is compared to GNU / Linux very different. As before, it works again via a call to settrans. In this case, a different translator (server) is required. Currently only ext2 and NFS formats are supported. Also applies to ext2 partitions, the restriction that it is not possible to mount a file system that is larger than 1 GB. This restriction does not apply to NFS. You can mount an NFS volume as follows:
settrans-fg / mnt / hurd / nfs 192.168.1.2: /
After that the directory / mnt connected with the root file system of the computer with the IP address 192.168.1.2. The NFS server provides some useful options. A direct call to /hurd/nfs --help it shows them. This is also true for other servers. The mounting of ext2 file systems is not directly, because most likely still a few device files. These are created as follows:
cd / dev
. / MAKEDEV hd0s2
"Hd0s2" stands for the second partition of the first IDE hard disk. can be device files for SCSI disks to create one as follows:
cd / dev
. / MAKEDEV sd0s3
Unlike GRUB IDE and SCSI drives can be distinguished. Hard Linux users will have noticed it: hd0s1 or sd0s1 is the same as in GNU / Linux hda1 or sda1. Here is a small example, just to be safe: a system with two IDE HDs and a SCSI HD would look like this:
- hd0s? <- The first IDE drive (master on the Primary Channel)
- hd1s? <- The second IDE drive (slave on the primary channel or master on the secondary channel)
- sd0s? <- The first SCSI disk
The "?" stand for the partitions. The first partition is numbered "1" and not "0". The partitions 1-4 are primary partitions, one window may also be (extended) extended. This makes it possible to create more than four partitions. The extended partition contains at the logical drives. They will get from point 5 This applies to both IDE and SCSI drives. After then, the device files, you need to connect only the ext2fs server with a "node". This goes as follows:
settrans-fg / mnt / hurd/ext2fs / dev/hd0s5
Again, you can find detailed information about possible options, by a direct call to /hurd/ext2fs --help conduct business. The settings are the way permanently, ie even after boot, the partitions automatically be included in the directory tree. If this is not desired, you should remove before the computer shuts down the translators:
settrans-fg / mnt
Bookmarks