wiki:SaliUsage/Functions/create_disk_mount_file

Version 1 (modified by bas, 14 years ago) (diff)

--

create_disk_mount_file

Create per disk a file in /tmp that can later be used to mount the devices below /a:

Usage:

create_disk_mount_file <diskname> <mountpath> <fs_type> <partition>

Example

Create a mount file for disk sda that has 2 partitions:

create_disk_mount_file sda /boot ext2 /dev/sda1
create_disk_mount_file sda / ext2 /dev/sda2

NOTE::

/dev/sda can also be used for <diskname>