- for a disk with data transport fcoe
- returns true
- for a disk with data transport iscsi
- returns true
- for a disk with data transport fc (same applies to sbp, sas, sata, spi & usb)
- returns false
- for a disk with unknown data transport
- returns false
Last active
November 2, 2020 11:42
-
-
Save ancorgs/fbfa81ea3ab82050e043cb8e505ccabe to your computer and use it in GitHub Desktop.
Test cases for the _netdev option
- in an NFS filesystem
- sets
#mount_options
to an empty array
- sets
- in a local disk (i.e.
BlkDevice#in network?
returns false)- for a Btrfs file-system (the same applies to most file-system types)
- sets
#mount_options
to an empty array
- sets
- for an Ext3 file-system (the same applies to Ext4)
- sets
#mount_options
to an array containing only the data=ordered option
- sets
- for a Btrfs subvolume
- sets
#mount_options
to an array containing only the subvol option
- sets
- for a Btrfs file-system (the same applies to most file-system types)
- in a remote disk (i.e.
BlkDevice#in network?
returns true)- for the root filesystem
- for a Btrfs file-system (the same applies to most file-system types)
- sets
#mount_options
to an empty array
- sets
- for an Ext3 file-system (the same applies to Ext4)
- sets
#mount_options
to an empty array
- sets
- for a Btrfs subvolume
- sets
#mount_options
to an array containing only the subvol option
- sets
- for a Btrfs file-system (the same applies to most file-system types)
- for a non-root filesystem
- for a Btrfs file-system (the same applies to most file-system types)
- sets
#mount_options
to an array containing only '_netdev'
- sets
- for an Ext3 file-system (the same applies to Ext4)
- sets
#mount_options
to an array containing the 'data=ordered' and '_netdev' options
- sets
- for a Btrfs subvolume
- sets
#mount_options
to an array containing only the subvol option
- sets
- for a Btrfs file-system (the same applies to most file-system types)
- for the root filesystem
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment