Search This Blog

Sunday, July 31, 2011

Create, mount, unmount and use ext2, ext3 and ext4 file systems

Creation of filesystem
Its same as discussed before
#fdisk /dev/sda
then press
n
select extended or primary partition
Give size
Then type t
And then give code for particular filesystem like Linux swap, LVM, etc.
finally type
w

Mount and umount filesystem
#mount /dev/sdb1 /mountpoint
#umount /mountpoint