Labels

Mounting a Filesystem

# fuser -km /mnt/hda2
force umount when the device is busy [man]

# mount /dev/hda2 /mnt/hda2
mount disk called hda2 - verify existence of the directory '/ mnt/hda2' [man]

# mount /dev/fd0 /mnt/floppy
mount a floppy disk [man]

# mount /dev/cdrom /mnt/cdrom
mount a cdrom / dvdrom [man]

# mount /dev/hdc /mnt/cdrecorder
mount a cdrw / dvdrom [man]

# mount /dev/hdb /mnt/cdrecorder
mount a cdrw / dvdrom [man]

# mount -o loop file.iso /mnt/cdrom
mount a file or iso image [man]

# mount -t vfat /dev/hda5 /mnt/hda5
mount a Windows FAT32 file system [man]

# mount /dev/sda1 /mnt/usbdisk
mount a usb pen-drive or flash-drive [man]

# mount -t smbfs -o username=user,password=pass //WinClient/share /mnt/share
mount a windows network share [man]

# umount /dev/hda2
unmount disk called hda2 - exit from mount point '/ mnt/hda2' first [man]

# umount -n /mnt/hda2
run umount without writing the file /etc/mtab - useful when the file is read-only or the hard disk is full [man]