Wednesday, June 10, 2009

Mounting A File System

Mount Filesystems Manually

Mount ISO file by command

# mount suse-10.0-dvd.iso /mnt/suse -o loop

Mount SMB (windows file sharing) by command

# mount -t smbfs -o username=administrator,password=123 //srv1/share /mnt/srv1/

Mount file systems automatically,

Edit /etc/fstab

/somewhere/suse-10.0-dvd.iso /mnt/suse iso9660 ro,loop 0 0

or

//srv1/share /mnt/srv1/ smbfs username=administrator,password=xxxxx 0 0

No comments:

Post a Comment