aboutsummaryrefslogtreecommitdiff
blob: 9914dfbae8490dab60d0ba340d280697d104ada0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
This file is to document what information is needed in GLIInstallProfile but isn't yet there...

############################

Method name changes (and new methods):


############################

Format change:
_partition tables has nfs type devices in the following format as a dictionary record: { <device (nfs)> : <mount point> }
However, often times options need to be added to the mount command.
Therefore the record should be like this:  { <device (nfs)> : ( <mount point>, <options> ) }
options is a string of options separated by commas.
It is in the same format used by the mount command.
ie. mount -t nfs -o rw,rsize=8192,wsize=8192 192.168.1.2:/usr/portage /mnt/gentoo/usr/portage
in this case the record would be: { "192.168.1.2:/usr/portage" : ( "/usr/portage", "rw,rsize=8192,wsize=8192" ) }
Unfortunately, the _is_ip() or _is_hostname() test is going to fail (this is a bug)
because the true device name is "192.168.1.2:/usr/portage" rather than "192.168.1.2"
Because of this, we should probably make a test called _is_nfs()