1

I have just opened my GParted application and did a format for /dev/sdc1 to exfat type. But while trying to mount the drive after formatting is completed I am getting the following error.

It is external hard disk connected through USB port to the Linux system.

user-1@inc:~$ sudo mount /dev/sdc1 mount: /dev/sdc1: can't find in /etc/fstab. 
3
  • 4
    You're missing the mountpoint. Commented Jun 18 at 19:42
  • Ok, I've got it now. I have to mount it into some empty directory, that's the mount-point. Thanks for answering :) Commented Jun 18 at 19:59
  • 1
    @DevAnandSadasivam the mount-point doesn't have to be empty, but whatever is in the mount-point will be inaccessible while something is mounted over it. Just for the sake of completeness: it will mostly be inaccessible under normal circumstances but there are methods to access the contents of the mount-point directory. These methods are rarely needed so you can just ignore the fact that they exist, but can be useful in some special cases. Outside of those special cases, it's better to use empty directories. Commented Jun 19 at 8:36

1 Answer 1

2

The command

mount /dev/sdc1 

is correct only when the device or partition (/dev/sdc1 in this case) is listed in /etc/fstab.

If it is not, you need to specify mountpoint, filesystem type, and other options that are normally specified in /etc/fstab:

mount -t exfat /dev/sdc1 /path/to/some/dir 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.