The Open Source Swiss Army Knife

/unix/commandline/
/unix/commandline/ + sub-categories
http://www.sirfsup.com/
web directory content
    
      

Not logged in
Chat Register Login
return to:  http:/www.sirfsup.com      /unix   /commandline 
Permalink: mount.htm
Title: add
article options : please login   |  print view

  1. remounting under freebsd
  2. the mount command

mount

for freebsd, to change shells use 'vipw' (to edit default) or 'chsh' (change shells). Make sure the shell exists first or your user will not be able to login. Then, if that happens, see mount.htm. boot into single-user mode and type mount -u; mount; mount -t ufs -a and that will remount disks and partitions in read-write mode (important because editors are in /usr/bin/vi).

the mount command

mount -t smbfs -o username=Administrator,password=xsoemthingsecret,rw //winserver/theshare$ /mnt/samba
[root@hovey /root]# ls /mnt/samba
ls: /mnt/samba: Permission denied

Leave a Reply
Your Name:     anonymous
Your Email:
Website:  
Comments:

The author will be notified of your reply.
return to top