Home > Linux, Useful commands > HOWTO: Mount windows c$ default smb share in linux

HOWTO: Mount windows c$ default smb share in linux

When you try to mount a default windows c$ share you can be tricked by following error:

mount -t cifs -o username=user,password=secretpsswd //10.1.0.4/c$ /mountpoint
mount: //10.1.0.4/c$ is not a valid block device

To avoid that, just add \ before $:

mount -t cifs -o username=user,password=secretpsswd //10.1.0.4/c\$ /mountpoint

Categories: Linux, Useful commands
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: