To mount all file system mentioned in the /etc/fstab use
mount -a
The mountpoint can be binded to a new directory. So that you would be able to access the contents of a filesystem via more than one mountpoints at the same time.
mount -B /mydir /mnt
Mount allows you to access the contents of a mount point from a new mount point. Its nothing but move a mounted tree to another place.
mount -M /mydir /mnt
mount -n this wont update the data in /etc/mtab
Lazy umount
umount -l /mydir
Forcefully
umount -f /mydir
to see the process holding the directory
fuser -cu /mydir
Mount an ISO image to a directory
mount -a
The mountpoint can be binded to a new directory. So that you would be able to access the contents of a filesystem via more than one mountpoints at the same time.
mount -B /mydir /mnt
Mount allows you to access the contents of a mount point from a new mount point. Its nothing but move a mounted tree to another place.
mount -M /mydir /mnt
mount -n this wont update the data in /etc/mtab
Lazy umount
umount -l /mydir
Forcefully
umount -f /mydir
to see the process holding the directory
fuser -cu /mydir
Mount an ISO image to a directory
# mount -t iso9660 -o loop pdf_collections.iso /mnt
# cd /mnt
# ls
perl/ php/ mysql/
Comments
Post a Comment