Where "win" would be the place you want it mounted and "wincomp" is the IP address or name (the name will only work if it's listed in /etc/hosts) of your windows computer. smbmount is a
tool from the samba package, it can mount a remote windows file system onto your current computer.
Un-mounting uses the same syntax as 'umount', as listed above, or you may like to use:
Examples of how to mount a file-system:
mount -t ext2 /dev/fd0 /mnt/floppy
mount -t iso9660 /dev/hdb /mnt/cdrom
mount -t iso /tmp/image_file /mnt/iso_file/ -o loop
|
- The windows filesystem is known as vfat (standard on Windows 9x) or NFTS (standard on Windows 2000 and XP).
- for CDROM's
- This will mount an image file (usually a CD image file) so you can view/change the files (it will appear to be like any other device).
|
The -t option |
|
On any system running a newer version of the Linux kernel the -t option is not always necessary and can be left out.
|
Examples of how to unmount a file-system (necessary before you eject/remove disk):
An example unmount point could be "/mnt/floppy" or "/mnt/cdrom"