Linux file systems
From Hugme.org
Setting up an LVM
866 pvcreate /dev/sda 867 pvscan 868 vgscan 869 vgcreate bigmama /dev/sda 870 vgdisplay 871 lvcreate bigmama 872 lvcreate bigmama --help 873 man pvcreate 874 man lvcreate 875 vgdisplay 876 lvcreate bigmama 877 man lvcreate 878 lvcreate -L 100% bigmama 879 lvcreate -L 100 bigmama 880 lvdisplay 881 lvremove /dev/bigmama/lvol0 882 man lvcreate 883 lvcreate -L 100%FREE bigmama 884 lvcreate -L 100FREE bigmama 885 lvcreate -l 100%FREE bigmama 886 lvdisplay 887 mk2fs -j /dev/bigmama/lvol0 888 mke2fs -j /dev/bigmama/lvol0 889 mount /dev/bigmama/lvol0 /bigmama
Mounting a FreeBSD partition on linux
This is the command I use for mounting a FreeBSD partition as read only:
- mount -r -t ufs -o ufstype=ufs2 /dev/sda1 /directory